PDA

View Full Version : homepage, remove gallery path, add drop down


gilbert
Oct-05-2006, 02:18 PM
I'm re-posting in a new thread...I think I answered part of my own question again!

The CATEGORY name is what shows up in the address bar, duh! I've been viewing by gallery so I was super-confused...SO I should link to the CATEGORY in my navbar (right) and then someone can point me to the way to make a few buttons drop down??

Grrr...something with this I cannot figure out...I thought this would hide the info when a visitor goes to your homepage (it does) and show you when you are logged in (it only shows gallery view, when I click category view it disappears)...What should I adjust to be able to view by gallery OR category logged in, but still have a plain homepage?? :scratch
The code:

/* This hides your homepage galleries or categories for site visitors */
.loggedIn #homepage {display: block !important;}
.homepage #homepage { display: none;}
#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
/* END HIDE HOMEPAGE */

RE POSTING THE INFO FROM MY GUESTBOOK THREAD...

On the guestbook, or any gallery - can you remove that user name > category > gallery text OR just list the gallery name or something? I wanted to search for that but I do not know what that is called up there.

I removed the slideshow button after searching for that on dgrin...

My biggest confusion is this:
I want a gallery of school photos within the "Gallery" gallery (!) and then within the school photos gallery I want to have a gallery for each event (football, soccer, school play). I THINK I UNDERSTAND THIS AFTER I GET THE GALLERY/CATEGORY VIEW BACK WHEN LOGGED IN!

EDIT #2: This http://rosscollins.smugmug.com/ is what I'm looking for (like the sports navbar dropdown). When you click sports, you see them all, or you can choose the sub-category from the navbar...AND it says the name "sports" in the address then the gallery number...HOW DO YOU DO THAT?!?

How the heck do you do that? That's why I haven't uploaded a ton of photos! I would also like to add what I think is the "drop down" navigation function to a few buttons on my navbar (like the gallery button). Can you do that just to certain buttons?

The second biggest thing is how to get a nice homepage like I have seen with just an image and text, just text, or a slideshow - without showing the galleries there. I think I have read about that, but if someone can point me in the right direction on it I will try it out (do I need to fill out the bio??). EDIT: I THINK I DID THIS WITH THE CODES FROM SEARCHING this post (http://www.dgrin.com/showthread.php?t=29199&highlight=hide+galleries) IS IT RIGHT? TO HAVE TEXT ON MY HOMEPAGE I SHOULD FILL OUT THE BIO?


THANKS SO MUCH...I feel like I'm getting somewhere WITH A TON OF HELP! :D

Allen
Oct-05-2006, 03:27 PM
...

Grrr...something with this I cannot figure out...I thought this would hide the info when a visitor goes to your homepage (it does) and show you when you are logged in (it only shows gallery view, when I click category view it disappears)...What should I adjust to be able to view by gallery OR category logged in, but still have a plain homepage?? :scratch
The code:

/* This hides your homepage galleries or categories for site visitors */
.loggedIn #homepage {display: block !important;}
.homepage #homepage { display: none;}
#galleriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
#categoriesBox {display:none;}
.loggedIn #galleriesBox {display:block;}
/* END HIDE HOMEPAGE */
...

Make sure in control panel they're are set to display not hide.
Al

Allen
Oct-05-2006, 03:31 PM
...
On the guestbook, or any gallery - can you remove that user name > category > gallery text OR just list the gallery name or something? I wanted to search for that but I do not know what that is called up there.

I removed the slideshow button after searching for that on dgrin...
....

These are the things I've removed from my guestbook gallery, some might help you.
.gallery_1790648 #myLogo {display: none;}
.gallery_1790648 #breadcrumb {display: none;}
.gallery_1790648 .journal_entry {display:none;}
.gallery_1790648 .pageNav {display: none;}
.gallery_1790648 .play_slideshow {display: none;}
.gallery_1790648 #albumNav_top {display: none;}
.gallery_1790648 #albumNav_bottom {display: none;}

Al

gilbert
Oct-05-2006, 07:01 PM
These are the things I've removed from my guestbook gallery, some might help you.
.gallery_1790648 #myLogo {display: none;}
.gallery_1790648 #breadcrumb {display: none;}
.gallery_1790648 .journal_entry {display:none;}
.gallery_1790648 .pageNav {display: none;}
.gallery_1790648 .play_slideshow {display: none;}
.gallery_1790648 #albumNav_top {display: none;}
.gallery_1790648 #albumNav_bottom {display: none;}

Al

Yea! :thumb I had some of them for the guestbook...but this one was good for now...but I'm so glad you have it on here gallery by gallery...I may end up doing that eventually.

#breadcrumb {display: none;} <---used this

Can I ask what the others do? I think the slideshow one I have, but not sure what the others are for?!

Sorry if I sound like an idiot...but what did this mean:

"Make sure in control panel they're are set to display not hide." :scratch

I'm struggling here, but I've been playing with the codes and even doing the tutorials (both SM and external from links) to try to understand how these things work.

THANK YOU FOR THE INFO!! :clap

Allen
Oct-05-2006, 07:19 PM
"Make sure in control panel they're are set to display not hide." :scratch

...
It turns on the category display for your homepage then in CSS you
command it ON for logged in and OFF for not logged in.

#categoriesBox {display:none;}
.loggedIn #categoriesBox {display:block;}

Al

gilbert
Oct-06-2006, 09:18 AM
It turns on the category display for your homepage then in CSS you
command it ON for logged in and OFF for not logged in.

#categoriesBox {display:none;}
.loggedIn #categoriesBox {display:block;}

Al

HI...I am still not sure what you mean by something in the control panel being set to display not hide...?

I have the code as posted but I do not know what I need to adjust so when I am logged in I can see the galleries?

Allen
Oct-06-2006, 09:42 AM
HI...I am still not sure what you mean by something in the control panel being set to display not hide...?

I have the code as posted but I do not know what I need to adjust so when I am logged in I can see the galleries?
If you clicked hide for your galleries/categories on your homepage
you'll see them in your control panel. There you can click display
to get them back on your homepage. If you see either in your
control panel toggle to display.

When viewed on homepage you can toggle between galleries and
categories. See display: categories · galleries in upper right corner
of gallery/category box.

See if this works any better. You'll only see the galleries/categories
if logged in.

.homepage #categoriesBox {display:none;}
.loggedIn .homepage #categoriesBox {display:block;}

.homepage #galleriesBox {display:none;}
.loggedIn .homepage #galleriesBox {display:block;}

Clear as mud?
Any help?
Al

gilbert
Oct-06-2006, 09:48 AM
Works GREAT now!! :clap

Not sure what the problem was with the way the CSS was listed for this option...but re-did it based on your info and works just fine. Now I can view gallery/category when logged in without either disappearing.

THANK YOU! Sorry I was so slow about it...Really trying to learn these things I swear! :thumb