How to show sub folders directly

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?

Comments

  • acrylian Administrator, Developer
    You can of course link to any album you want directly.
  • 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
  • acrylian Administrator, Developer
    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.
  • teo Member
    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?
  • acrylian Administrator, Developer
    I guess you should work with the Zenphoto class objects here and with the "Zenphoto as a plugin" hack (on our extensions page).
  • 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);`
Sign In or Register to comment.