![]() |
|
Albums with subalbums at index - 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: Albums with subalbums at index (/thread-6069.html) |
Albums with subalbums at index - MarB - 2009-11-02 Hi everyone, Albums with subalbums at index - acrylian - 2009-11-02 You will have to use the album class object methods directly like this one: You will also need some image class methods and in general some PHP knowledge about object orientation. Please see the documentation on details about the available methods. Albums with subalbums at index - MarB - 2009-11-05 I really appreciate your work and I'm glad for your help. I spent last three days by studying OOP in PHP and PHP in general. I also had some basic knowledge before. But I'm completely lost. Could you please give me some basic hint from where to start? Just give me a bit closer direction where to go. I understand you have better things to do. Thanks Albums with subalbums at index - acrylian - 2009-11-05 Ok, here is a basic hint. Zenphoto stores current objects in global variables. For the albums the global Take a look at the class methods on the documentation. Albums with subalbums at index - MarB - 2009-11-10 Was quite desperate about it. Couldn't find the way. I just found that I'm better in searching then coding, so after a while of searching I found the solution. Just want to post it here in case anyone would have the same problem as I had. The answer is here: http://www.zenphoto.org/support/topic.php?id=4143#post-24729 Just ad this code inside the album loop: |