ZenphotoCMS Forum
User Guide and Index thumbnails - 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: User Guide and Index thumbnails (/thread-1615.html)



User Guide and Index thumbnails - WTJR - 2007-08-30

Hello I am new to zen photo but am finding it to be a good script/program.

Is there a user guide? (can I help write one!)
Is there a mod guide?
Is there a knowledge base?

For a example I want to do a simple mod.
More gallery thumbnails on index page.
Right now it shows 5 then page turn... I want like 20 on first page...
A outline of all files and purpose would be nice...
Kind of what wordpress does on there site.

Peace and thanks for any help
WTJR




User Guide and Index thumbnails - sbillard - 2007-08-31

Those things which exist are found here: http://www.zenphoto.org/trac.

As to your specific question: There is a line in the zp-config.php file which you change to change the number of thumbs for albums or images. Look around line 105 for

`// Paging options:

// Control of their display is done in the theme, so you might need to change these

// after switching themes to make it look better.

$conf['albums_per_page'] = 5;

$conf['images_per_page'] = 15;`

and change the numbers to what you want.




User Guide and Index thumbnails - acrylian - 2007-08-31

@WTJR: I started a theme functions guide which you can download here:

zenphoto-template-functions-reference-v0.1b.tgz

It needs to be expanded (and moved to the trac of course), but might be of help right now.