Hi guys,
first of all : congratulations, bravo, ZenPhoto is awesome! I love it. I installed it recently (version 1.4.5.1), without major problem, and then I choose the StopDesign theme, very nice. I would like to customize it a little bit, so I duplicated it and do my things. But there are 2 things I can't do and I don't figure out what I am missing...
A precision : I have albums (for years), subalbums in each albums (max 12, for the 12 months of the year) and images in each subalbums.
1. I have 6 thumbs on each page (albums or subalbums) and I can't update the value (I would like 12).
When I update in the line containing "setThemeOption('albums_per_page', 6, NULL, 'stopdesign');" to 12 in the themeoptions.php file, I doesn't change anything.
I can't change the values in the Options > Theme > thumbnails per row, thumbnails per page (Albums and Images)
2. I would like to have the links 'next page'/'prev page' in the white frame where the thumbs are displayed instead of the left bottom of the page. But the best I could do as far is to align the link with the white frame, just below it but not inside it... Driving me slighty crazy!
Can anybody help me? Thanks.
Comments
2. You will have to modify the theme and change the layout and CSS. This is a complicated theme for whatever reasons. And because it is hard to maintain 1.4.5.x is the last release to included it.
Anyhow, the index value is:
while (next_album() and $counter < 6 <- "REPLACE 6 WITH WHATEVER NUMBER YOU WANT)):
For the prev page/next page you can just put a div wrapper around these guys to suit your needs, via CSS:
if (hasPrevPage()) {
?>
" accesskey="x">« <?php echo gettext('prev page'); ?>
<?php
}
if (hasNextPage()) {
if (hasPrevPage()) {
echo ' ';
}
?>
" accesskey="x"><?php echo gettext('next page'); ?> »
thanks for the replies.
Unfortunatly, I already tried that (update the <6 to <12 in the index.php) and, even after a restart of the webserver and cleared my browser's cache, I still have only 6 thumbs on the homepage of the gallery, on the /?p=gallery page or in the albums (index.php?album=2008/ for example).
Any idea?