Member
Member
slyphnier   27-06-2011, 04:03
#1

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

Administrator
Administrator
acrylian   27-06-2011, 08:30
#2

There are options for this on the themes option. You can also override options using the setOption() function. See the functions documentation for details.

Member
Member
slyphnier   28-06-2011, 08:25
#3

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 ^^;

Administrator
Administrator
acrylian   28-06-2011, 10:35
#4

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".

Member
Member
slyphnier   28-06-2011, 23:00
#5

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

Member
Member
sbillard   28-06-2011, 23:48
#6

Quote: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.

Administrator
Administrator
acrylian   29-06-2011, 07:49
#7

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).

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.