Stopdesign - Display more albums

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.

Comments

  • I think it's in the configuration.
  • 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
  • j916 Member
    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
  • 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 ...
  • You will need to upgrade to 1.2 when it comes out (or run the current nightly build)
  • j916 Member
    guymauve,

    Do you have more than 6 albums? That is the default for this theme unless you make the changes I defined above.
  • 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?
  • j916 Member
    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.
  • Well, i have 11 albums and more to come ;)
  • j916 Member
    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.
  • Well, if you wait until tomorrow, version 1.2 will be out and you can use it. It won't be much different, though.
  • Well,

    I checked my theme and modifications i did.

    With the coreection of j916, it seems to work fine :

    http://www.freddy-matagne.be

    Thanks a lot.
Sign In or Register to comment.