PDA

View Full Version : gallery url


microcosm_1
Dec-03-2008, 05:50 PM
``

Allen
Dec-03-2008, 06:48 PM
Hello to all!

I'm new to this, so bear with me a bit as I try to figure things out; so a just start to a work in progress.

On my home page, I do not want to show my galleries. Instead I would like to have them on a menu, which I am going to create at the top of my page.

Question is, is how do navigate to find my way to my url page which displays 'all' my galleries? So that I can use that address to target a menu button.

Secondly, the guest book, I am having a bit of a problem ... somewhere here i did see a code to remove the picture, and have also seen the excellent directions at http://allen-steve.smugmug.com/gallery/3819841_ywRwQ.

So my second question is how do get the 'Gallery pages: 1' to disappear/removed. on: http://microcosm.smugmug.com/gallery/6730649_3D3Wz

And, thanks for all the postings in this forum and redirects, so much good information! So, if my questions have been answered somewhere, I apologize, but I must have missed them!

Many Thanks! Welcome to Dgrin :wave

You can create a separate page to show your galleries. See "The Galleries
Page" sections in this tutor (http://dgrin.smugmug.com/gallery/2160039) to create a duplicate homepage. Both pages will
have all boxes on it and with the CSS turn on/off certain boxes on each
page.

I don't see any new CSS or html for your guestbook page. Did you paste in
what I had on that example page? At the bottom is a CSS rule that will hide
the journal photo. That journal photo will be linked to in the description
html. Paste in what you have and we'll help you format it.

Stop the presses :D Now that I looked you have the html in the CSS.
All this goes in the gallery description. Fixed the photo link in red.

<div class="myTitle">
Title
</div> <!-- closes myTitle div -->

<div class="myPhoto">
<img src="/photos/429380078_f85aZ-S.jpg" width="240" height="300" />
</div> <!-- closes myPhoto div -->
...
...
</div> <!-- closes myText div -->
<div class="spacer"></div>
Then add all the CSS at the bottom in your CSS.
Change the red x's for each
.gallery_XXXXXXX #albumDescr....
to like this with the gallery number
.gallery_6730649 #albumDescr....

microcosm_1
Dec-03-2008, 08:22 PM
``

microcosm_1
Dec-03-2008, 08:27 PM
``

microcosm_1
Dec-03-2008, 09:51 PM
``

microcosm_1
Dec-04-2008, 01:22 AM
`

Allen
Dec-04-2008, 05:10 AM
Sorry to be a pest, but I have done my best to try and find an answer and can not find one.

I added another photo into the gallery where my bio picture is, and I want to delete one of the pictures. So this directory has two photo's, one photo, which is required to enable me to have a guest book. And, because I have in essence changed my bio description to make way for my guest book which has the picture hidden .... .... I can see the pictures in the gallery but I can't seem to find away to delete the extra picture.

I hope you can understand what I am trying to explain! ........

Again many thanks!
I see two photos in the gallery but you are not using one in the description?

Your visitors will not see any of the gallery photos below the description
because they are hidden with CSS. But you'll see them logged in and can
link to a photo in the description. Update the CSS below, currently you have
the journal photos hidden and below only hides if logged out. Also change the
gallery to journal style under customize gallery

You can simply this CSS

/* things you can hide on page */
.gallery_6730649 #albumNav_top,
.gallery_6730649 #albumNav_bottom,
.gallery_6730649 .journal_entry, /* hides photos in gallery */
.gallery_6730649 #breadcrumb {display: none;}
.loggedIn .gallery_XXXXXXX #breadcrumb {display: block;}

like this

/* things you can hide on page */
.gallery_6730649 #albumNav_top,
.gallery_6730649 #albumNav_bottom,
.notLoggedIn .gallery_6730649 .journal_entry, /* hides photos in gallery */
.notLoggedIn .gallery_6730649 #breadcrumb {display: none;}



This is a direct link to your keyword page.

http://microcosm.smugmug.com/keyword/

microcosm_1
Dec-04-2008, 01:30 PM
``

Allen
Dec-04-2008, 05:40 PM
Once again, thank you!
Question: On the page 'about me' http://microcosm.smugmug.com/gallery/6734407_PP9dy ---> I do not know what I am doing wrong, as I have fiddled and fiddled around, and can't seem to change the "gallery comments" to say "guestbook Comments". Obviously, I have missed something in the ccs, but what?
Your guestbook in another gallery and it does say "guestbook Comments".

Question: I have looked, and I am sure I am missing the obvious in the ccs as to where to make a change. For an example, on both the 'guestbook' and 'about me' page, right below my text and right above the comment area, there is a gray line, now on my other pages, I can see this line, but it is very faint, so how can i make this line change from the dark grey to the faint colour as in my other pages. As I would like all my pages to have the same format and consistency.

Thus, not being able to find:
a) where this 'faint' coloured line is located to obtain the information on colour.
and,
b) where this 'grey' coloured line is located to change it to the colour of my other pages.

As always, I so very much appreciate your help! x
First clean up some of your code.

Remove this html from your CSS

<div class="myTitle">
Title
</div> <!-- closes myTitle div -->

<div class="myPhoto">
<img src="/photos/429380078-S.jpg" width="200" height="300" />
</div> <!-- closes myPhoto div -->

Remove all this javascript and text from your CSS

function ModifyText ()
{
if (YD.hasClass(document.body, "gallery_6730649"))
{
var objElement = YD.get("comment")
if (objElement != null)
{
var str = new String(objElement.innerHTML);
str = str.replace(/\gallery/gi, 'guestbook');
objElement.innerHTML = str;
}
}
}

YE.onAvailable("comment", ModifyText);



To change the comments at the bottom of the guestbook gallery
to "guestbook comments" add this to your javascript. Replace
the XXXXXXX with your gallery number.

function ModifyText ()
{
if (YD.hasClass(document.body, "gallery_6734407"))
{
var objElement = YD.get("comment")
if (objElement != null)
{
var str = new String(objElement.innerHTML);
str = str.replace(/\gallery/gi, 'guestbook');
objElement.innerHTML = str;
}
}
}

YE.onAvailable("comment", ModifyText);

microcosm_1
Dec-04-2008, 06:31 PM
``

microcosm_1
Dec-04-2008, 09:19 PM
``