ZenphotoCMS Forum
Use index.php?albums=* instead of directories - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Use index.php?albums=* instead of directories (/thread-5603.html)



Use index.php?albums=* instead of directories - karlb - 2009-08-04

Hi

I'm trying to get the function getAlbumLinkURL to print http://site.com/index.php?album=dir1/dir2 instead of http://site.com/dir1/dir2..

Is there any easy way to do this?
I've tried to search the forum and look into template-functions.php, but I can't seem to find the sollution!

-Karl




Use index.php?albums=* instead of directories - acrylian - 2009-08-04

Disable mod_rewrite on the options. But why do you want to do that? Search engines and visitors prefer mod_rewrite URLs as they are "readable".




Use index.php?albums=* instead of directories - karlb - 2009-08-04

Thanks.. That was really easy :)

I have a fixed top banner, with fixed links.
I have 4 albums (portfolio,music, concerts, portraits) and a album only containing sub-albums (series). When I go on to one of the sub-albums my fixed links won't work (they go to http://site.com/series/serie_name/index.php?album=portfolio instead of http://site.com/index.php?album=portfolio).
This might be a dumb-ass way, but how i want it :)

Thanks again for your help!