PDA

View Full Version : Need help with site PLEASE


tigerland
Jan-18-2007, 09:06 PM
:dunno Hey guys. Yesterday I had my site the way I wanted but after messing around I screwed it up.
I don't want any galleries or categories on the homepage. I just want an enter button on the page, which will take me to my catagories when I click on it.
I entered the code that richW gave me and it will not work now (here is the link to that thread) http://www.dgrin.com/showthread.php?t=51614. When I click on the enter button, It just refreshes the homepage and doesn't take me anywhere.
I am freaking out here. I am days away from advertising my services and my site is messed up. PLEASE HELP

Here is my site http://www.actonphotography.com/

Andy
Jan-18-2007, 09:10 PM
Hi :wave
I'll ask Barb or Ivar to have a look, and soon you should be for sure helped... it's night here in the east where I am, and I'm doing some other work so I can't look at your site right now. But I'll ensure that folks do!

Stay tuned.

PS: Allen may stop by for help, too :D

Barb
Jan-18-2007, 09:12 PM
:dunno Hey guys. Yesterday I had my site the way I wanted but after messing around I screwed it up.
I don't want any galleries or categories on the homepage. I just want an enter button on the page, which will take me to my catagories when I click on it.
I entered the code that richW gave me and it will not work now (here is the link to that thread) http://www.dgrin.com/showthread.php?t=51614. When I click on the enter button, It just refreshes the homepage and doesn't take me anywhere.
I am freaking out here. I am days away from advertising my services and my site is messed up. PLEASE HELP

Here is my site http://www.actonphotography.com/
Hi :)

So, when you click the "enter" on the front page, is it supposed to go to your galleries or your featured galleries? Right now, it points to the featured galleries. Let me know and I'll fix you up :)

Barb
Jan-18-2007, 09:35 PM
Okay, well I went back and read your initial thread and the beginning of this thread again, and think I know what you are trying to do. So, I went ahead and changed a few things for you. Let me know if this is not how you want it.

I added the following to your CSS code:

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

.galleries #categoriesBox {display:block;}
.galleries #galleriesBox {display:block;}
.galleries #hpPic {display:none;}
.galleries #Enter {display:none;}

And this was missing from your footer:

<*script*>
if (hasPath("galleries"))
YAHOO.util.Dom.addClass(document.body, "galleries");
<*/script*>

Also, your "Enter Site" link was pointing to your featured galleries. But you don't have any featured galleries, so I changed that to just galleries.

Again, all this can be changed if it's not how you want it :)

Allen
Jan-18-2007, 09:40 PM
:dunno Hey guys. Yesterday I had my site the way I wanted but after messing around I screwed it up.
I don't want any galleries or categories on the homepage. I just want an enter button on the page, which will take me to my catagories when I click on it.
I entered the code that richW gave me and it will not work now (here is the link to that thread) http://www.dgrin.com/showthread.php?t=51614. When I click on the enter button, It just refreshes the homepage and doesn't take me anywhere.
I am freaking out here. I am days away from advertising my services and my site is messed up. PLEASE HELP

Here is my site http://www.actonphotography.com/
See Edit at bottom.

I think you're missing defining the "featured" page because when clicking the
link http://actonphotography.smugmug.com/featured it really just takes you
back to your home page. I looked at your page source and didn't see it defined.

Add this to your footer customize code box. Do not add the *'s

<*script*>
if (hasPath("featured"))
YD.addClass(document.body, "featured");
<*/script*>

Now you browser should know what featured means.

Start there and after you actually have a "featured" page defined in your
footer code add the green CSS below.

/*Virtual Gallery Page*/
.homepage #galleriesBox {display:none;}
.homepage #categoriesBox {display:none;}

.featured #galleriesBox {display:block !important;}
.featured #categoriesBox {display:block;}
Holler back if this doesn't fix your problems or if you need any additional
help. I went through this rather quickly so I'm crossing my fingers it will
work.
Al

Edit: Looks like Barb got you all fixed so disregard above.

tigerland
Jan-18-2007, 10:11 PM
Yes, this is exactly what I wanted. I am so greatfull for your help. I can honestly say that I have never been to a forum that is filled with so many people that are so willing to help others. Again thank you so much. I am going to copy my code and save it on my pc, just in case this happens again.

Barb
Jan-18-2007, 10:13 PM
I am going to copy my code and save it on my pc, just in case this happens again.

:agree Always a good idea :) And you are welcome.

DJKennedy
Jan-19-2007, 08:10 AM
:agree Always a good idea :) And you are welcome.

I second that Barb - having a copy saved in notepad has saved my fat butt several times.