ZenphotoCMS Forum
how to access directly to an album - 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 access directly to an album (/thread-8511.html)



how to access directly to an album - vincent3569 - 2011-04-17

hi,

in a page, I want to directly access to a specific album, by using his name or folder name (albums/portfolio for exemple).

I suppose I have to use the Album constructor $_zp_current_album = new Album($_zp_gallery,...), but I can't see clearly where I have to use his name or folder name.

Could you explain how can I do that ?




how to access directly to an album - sbillard - 2011-04-18

So, did you do all the requisite reading before asking this question? Specifically did you look at the documentation for the album instantiation function? Maybe that would be a good start.




how to access directly to an album - acrylian - 2011-04-18

Best start is the object model tutorial actually.