I moved Zenphoto to the root of my client's server and everything works fine, except the Gallery Index link (index.php) in my custom menu is now empty. Is there a trick to getting this link working again without hard coding it?
I changed the RewriteBase in .htaccess to / instead of /zenphoto , and that is when the problem occurred... So I ran setup.php but it kept it the same.
This is what my menu output looks like (spaces added for viewing), as you can see the href for Gallery is empty:
`
[list]
< a href="" title="Gallery">Gallery< /a>< /li>
< a href="/page/collections" title="Collections">Collections< /a>< /li>
< a href="/pages/about" title="About">About< /a>< /li>
< a href="/pages/events" title="Events">Events< /a>< /li>
< a href="/pages/studio" title="Studio">Studio< /a>< /li>
< a href="/pages/custom" title="Custom">Custom< /a>< /li>
< a href="/pages/community" title="Community">Community< /a>< /li>
< a href="/pages/sustainability" title="Sustainability">Sustainability< /a>< /li>
< a href="/page/contact" title="Contact">Contact< /a>< /li>
[/list]
`
I actually did look there before I posted, but I'm not moving it to another server -- just to the root of the same server. Running setup.php isn't correcting the link issue.
The Gallery Index link is just empty, so it doesn't go anywhere. My menu was created with the Menu Manager plugin, and the link in question should just go to index.php. I added a hard-coded menu item for now, but it lost the association with the page and doesn't highlight the link automatically (if I have to i'll use jQuery).
No, it is grayed out because it is normally automatically generated by Zenphoto (btw. the "index.php" is not really necessary for the index link normally). No idea right now. Try a custom link with the direct web url for now. Maybe my collegue will have an idea later.
Ok, thanks for your replies, I really appreciate it. I just put in a custom link with the URL for now... but I wanted to keep the 'www' part of it dynamic (to have or not to have), hence the desire for the automatic link. I was able to highlight the menu item using jQuery, which actually has worked really well for other sections.