![]() |
|
Print first level albums from second level albums - 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: Print first level albums from second level albums (/thread-8193.html) |
Print first level albums from second level albums - risk08 - 2011-02-01 Hello all, PS. Sorry for my bad english Print first level albums from second level albums - sbillard - 2011-02-02 If you "know" the names of the albums you can make static links using the form If you need to discover the subalbums you can use the object model: Print first level albums from second level albums - acrylian - 2011-02-02 You could also use the print_album_menu plugin with appropiate settings. Print first level albums from second level albums - risk08 - 2011-02-02 sbillard, thanks! I will try to use getAlbums() function. Print first level albums from second level albums - risk08 - 2011-02-02 getAlbums() gets ALL albums from gallery, i don't need it. And I don't know how to get names and etc. of that albums.. Print first level albums from second level albums - acrylian - 2011-02-02 No, it is also a album class method which means used on an album it gets its direct subalbums. Regarding the album menu please see the documentation. Print first level albums from second level albums - risk08 - 2011-02-02 I can't find which variable I must use, can you help me? Print first level albums from second level albums - acrylian - 2011-02-02 The $_zp_current_album variable containing the object of the current album is only setup in album context. (next_album loop or on album.php). To use a specific album outside of that you have to setup the album object before hand. Please take the time to read a little on the theming tutorial and the object model tutorial. Print first level albums from second level albums - risk08 - 2011-02-02 Sorry, but English isn't my native language, so reading manuals for me is very hard. Can you just give me source? Print first level albums from second level albums - acrylian - 2011-02-02 Sorry, our site is English only. Examples are in those tutorials. Print first level albums from second level albums - risk08 - 2011-02-02 I don't get which variable I must use Print first level albums from second level albums - risk08 - 2011-02-02 Print first level albums from second level albums - risk08 - 2011-02-02 Last questions:
Print first level albums from second level albums - acrylian - 2011-02-02
You will probably also need to understand the concept of object orientation. Print first level albums from second level albums - risk08 - 2011-02-02 I made it like this: |