[Theme] showing more albums or images

apologize if someone already mention it somewhere
i tried to look and also read http://www.zenphoto.org/news/category/customizing
but i still can't find the answer

i have been looking around how to make main page to show more album rather than the default 6 album
I am prefering that main page show all album

on old version of zenphoto 1.2.0 (if i didn't wrong), i can simply edit a line in theme index.php to set how many thumbnail on main-page i want to show, but it seems it no longer works

please advice to solve this issue

thanks in advance

Comments

  • acrylian Administrator, Developer
    There are options for this on the themes option. You can also override options using the `setOption()` function. See the functions documentation for details.
  • thank you acrylian

    can you be more specific ?
    i read the function documentation :
    in file functions-basic.php, function setOption()
    Stores an option value.

    then i tried look functions-basic.php
    but not really get what i need to change

    this might simple things for people expert at php coding
    but for people like me that don't know much about php, it can be hard ^^;
  • acrylian Administrator, Developer
    You can set the images / albums per page on the options theme subtab on the backend if your theme is setup following the standard way.

    You also can use setOption() to set the option direclly temporily or real in the db by setting hte proper parameter. The options are named "albums_per_page" and "images_per_page".
  • ok i manual edit the db working, thanks for the guide acrylian

    i use stopdesign theme, somehow it wont let me change/edit anything on backend/admin panel theme-option
  • i use stopdesign theme, somehow it wont let me change/edit anything on backend/admin panel theme-option

    That would be because the theme is very CSS dependent and changeing these will probably break the layout. If you do know what you are doing, make a copy of the theme and modify it to your taste.
  • acrylian Administrator, Developer
    Just for your note: This is why you should post some info like the theme used ... Themes may choose to override backend options for layout reasons (and 3rd party theme may even do things completly different than the standard way).
Sign In or Register to comment.