Member
Member
guymauve   14-08-2008, 12:31
#1

Hello,

Firstly, thanks for this awesome script..

I'm using this script and stopdesign theme on a website and i'd like to display more than 6 albums on the first page.

Is it possible ?

If not perhaps can we add >> to specify there's more albums.

Thanks for your support.

Member
Member
efurban   14-08-2008, 15:08
#2

I think it's in the configuration.

Member
Member
guymauve   14-08-2008, 16:28
#3

Well in fact, it is.

But it didn't seem to affect the presentation of the first page.

Here's the config :

http://www.hiboox.fr/go/images/informatique/zen,b8156ce4e571bee7cd0490c969cbbb41.jpg.html

Member
Member
j916   14-08-2008, 16:49
#4

It doesn’t affect the presentation because the theme is hard coded to only display 6 albums. I modified the code in index.php from:

while (next_album() and $counter < 6)

To

while (next_album() and $counter < getOption(albums_per_page))

and that works.

There is another problem with zenphoto in that if you have more albums than what is displayed then when you click on one of the archive links you will only see the ‘next’ album. see: http://www.zenphoto.org/support/topic.php?id=2640&replies=2

Member
Member
guymauve   14-08-2008, 22:44
#5

Hello,

Thanks for your reply.

I see an error on my theme.

The link to archive is false :

http://www.freddy-matagne.be/Bernay+2008/page/albumarchive

instad of :

http://www.freddy-matagne.be/page/albumarchive

What can i change to correct this mistake ?

Strange, because i never change anything on the source code ...

Member
Member
sbillard   14-08-2008, 22:52
#6

You will need to upgrade to 1.2 when it comes out (or run the current nightly build)

Member
Member
j916   15-08-2008, 01:12
#7

guymauve,

Do you have more than 6 albums? That is the default for this theme unless you make the changes I defined above.

Member
Member
sbillard   15-08-2008, 01:35
#8

As I said, I changed the # to 9. I have lots more than 9 albums. Have you verified that this problem exists in the nightly build?

Member
Member
j916   15-08-2008, 03:34
#9

No, I need to do that. I've only been working with the released version. However, I’m using this on my website and I’m not sure how comfortable I feel using the development version of ZenPhoto. Anyway, I’ll give it a try tomorrow or next week.

Member
Member
guymauve   15-08-2008, 08:48
#10

Well, i have 11 albums and more to come ;)

Member
Member
j916   15-08-2008, 12:58
#11

I tried the nightly build as sbillard suggested and the problem has been solved. He has also changed the number of albums to 9 (still hard coded) so if you want more albums on the main page you will need to edit the theme.

Member
Member
sbillard   15-08-2008, 15:37
#12

Well, if you wait until tomorrow, version 1.2 will be out and you can use it. It won't be much different, though.

Member
Member
guymauve   15-08-2008, 22:21
#13

Well,

I checked my theme and modifications i did.

With the coreection of j916, it seems to work fine :

http://www.freddy-matagne.be

Thanks a lot.

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