Member
Member
marcy_sss   2010-07-16, 18:05
#1

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]

`

Administrator
Administrator
acrylian   2010-07-16, 18:58
#2

Please see the troubleshooting on "how to move my installation".

Member
Member
marcy_sss   2010-07-16, 19:20
#3

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).

Administrator
Administrator
acrylian   2010-07-16, 19:28
#4

Ah, ok, sorry. Did you try to create a new gallery index link with the menu manager?

Member
Member
marcy_sss   2010-07-16, 19:31
#5

I did try adding another "Gallery Index" link, but it is still empty. In the Menu Manager area, the "View" button is grayed out and there is no link or slug.

Administrator
Administrator
acrylian   2010-07-16, 19:35
#6

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.

Member
Member
marcy_sss   2010-07-16, 19:41
#7

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.

Administrator
Administrator
acrylian   2010-07-17, 10:22
#8

Hm, actually the index link should do that using the WEBPAT constant. On my test site it is just "/". Just "/index.php" should also work as a index link, normally no need to include the domain part.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.