Member
Member
rfolea   2008-12-15, 16:11
#1
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?
Administrator
Administrator
acrylian   2008-12-15, 16:15
#2
You can of course link to any album you want directly.
Member
Member
rfolea   2008-12-15, 19:57
#3
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
Administrator
Administrator
acrylian   2008-12-15, 20:48
#4
A link to an album looks like this if mod_rewrite is enabled `www.yourdomain.com/<zenphotofolder>/<albumfolder>/`. This will open up your Zenphoto theme's album.php and show the album.
Member
Member
teo   2009-03-12, 14:47
#5
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?
Administrator
Administrator
acrylian   2009-03-12, 15:40
#6
I guess you should work with the Zenphoto class objects here and with the "Zenphoto as a plugin" hack (on our extensions page).
Member
Member
sbillard   2009-03-12, 19:14
#7
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);`
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.