StopDesign Theme - Unable to get the options I want...

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

  • acrylian Administrator, Developer
    1. If you are talking about the front page, you have to change the value on the theme's index.php file. It is hardcoded for layout reasons.

    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.
  • I've been meaning to do a full code backport to StopDesign (I did a theme, Zenpapers to capture the pluses and erase the cruddy parts of the StopDesign code base) but haven't got to it yet...

    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'); ?> »
  • Hi,
    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?
  • Not at my PC at the moment, but if you want to throw me an email you can (animepapers.org...bottom of page...so I don't have to write it for spam bots). I'll dig up my old theme where I made both those mods and send you the pages if you want.
  • Thanks Papyrus, I've found the email so I'm currently writting it! :)
Sign In or Register to comment.