![]() |
|
Stopdesign - Display more albums - 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: Stopdesign - Display more albums (/thread-3468.html) |
Stopdesign - Display more albums - guymauve - 2008-08-14 Hello, Firstly, thanks for this awesome script.. I'm using this script and stopdesign theme on a website and i'd like to display more than 6 albums on the first page. Is it possible ? If not perhaps can we add >> to specify there's more albums. Thanks for your support. Stopdesign - Display more albums - efurban - 2008-08-14 I think it's in the configuration. Stopdesign - Display more albums - guymauve - 2008-08-14 Well in fact, it is. But it didn't seem to affect the presentation of the first page. Here's the config : http://www.hiboox.fr/go/images/informatique/zen,b8156ce4e571bee7cd0490c969cbbb41.jpg.html Stopdesign - Display more albums - j916 - 2008-08-14 It doesn’t affect the presentation because the theme is hard coded to only display 6 albums. I modified the code in index.php from: while (next_album() and $counter < 6) To while (next_album() and $counter < getOption(albums_per_page)) and that works. There is another problem with zenphoto in that if you have more albums than what is displayed then when you click on one of the archive links you will only see the ‘next’ album. see: http://www.zenphoto.org/support/topic.php?id=2640&replies=2 Stopdesign - Display more albums - guymauve - 2008-08-14 Hello, Thanks for your reply. I see an error on my theme. The link to archive is false : http://www.freddy-matagne.be/Bernay+2008/page/albumarchive instad of : http://www.freddy-matagne.be/page/albumarchive What can i change to correct this mistake ? Strange, because i never change anything on the source code ... Stopdesign - Display more albums - sbillard - 2008-08-14 You will need to upgrade to 1.2 when it comes out (or run the current nightly build) Stopdesign - Display more albums - j916 - 2008-08-15 guymauve, Do you have more than 6 albums? That is the default for this theme unless you make the changes I defined above. Stopdesign - Display more albums - sbillard - 2008-08-15 As I said, I changed the # to 9. I have lots more than 9 albums. Have you verified that this problem exists in the nightly build? Stopdesign - Display more albums - j916 - 2008-08-15 No, I need to do that. I've only been working with the released version. However, I’m using this on my website and I’m not sure how comfortable I feel using the development version of ZenPhoto. Anyway, I’ll give it a try tomorrow or next week. Stopdesign - Display more albums - guymauve - 2008-08-15 Well, i have 11 albums and more to come ;) Stopdesign - Display more albums - j916 - 2008-08-15 I tried the nightly build as sbillard suggested and the problem has been solved. He has also changed the number of albums to 9 (still hard coded) so if you want more albums on the main page you will need to edit the theme. Stopdesign - Display more albums - sbillard - 2008-08-15 Well, if you wait until tomorrow, version 1.2 will be out and you can use it. It won't be much different, though. Stopdesign - Display more albums - guymauve - 2008-08-15 Well, I checked my theme and modifications i did. With the coreection of j916, it seems to work fine : Thanks a lot. |