ZenphotoCMS Forum
How to show sub folders directly - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to show sub folders directly (/thread-4254.html)



How to show sub folders directly - rfolea - 2008-12-15

Using ZenPhoto in Joomla 1.5. Works great.

I would like to be able to add a Joomla menu that points directly to a particular subfolder in my zenphoto album.

Is there a way to have a menu bring up a subfolder of the zenphoto album directly?




How to show sub folders directly - acrylian - 2008-12-15

You can of course link to any album you want directly.




How to show sub folders directly - rfolea - 2008-12-15

Ok ... you're dealing with a noob here ... so for example ...

I have a folder called zenphoto

In that folder there is a folder called albums
In that folder there are 4 folders: Named 2005 2006 2007 2008
In 2008 folder there is a folder named FLL

Currently, I point my Joomla menu to the ZenPhoto folder's index.php and that gives me the desired global view of all 4 years pictures.

Now I would like to create another Joomla menu that points directly to the FLL sub-folder and have it come up in ZenPhoto as it's own album.

How do I do that - there is no "index.php" there.

  • Rick



How to show sub folders directly - acrylian - 2008-12-15

A link to an album looks like this if mod_rewrite is enabled www.yourdomain.com///. This will open up your Zenphoto theme's album.php and show the album.




How to show sub folders directly - teo - 2009-03-12

I’d like to write a module for Joomla! to show directly an album. What I need to access to the function getAlbumArray (functions_basic.php) to chose the album?
Can be built an url to call it without the mod_rewrite enabled?




How to show sub folders directly - acrylian - 2009-03-12

I guess you should work with the Zenphoto class objects here and with the "Zenphoto as a plugin" hack (on our extensions page).




How to show sub folders directly - sbillard - 2009-03-12

query parameter urls always work whether mod_rewrite is set or not. So you could disable temporarily the mod_rewrite option in your joomla code with: setOption('mod_rewrite', 0, false);