Unregistered
Unregistered
Guest   2009-12-22, 23:02
#1

The user and all related content has been deleted.

Member
Member
sbillard   2009-12-23, 00:23
#2

Pagination in Zenphoto is integrally built into the normal way Zenphoto works (loading pages via the index.php script.) You will need to pretty much setup the "normal" Zenphoto environment. Seems to me that you would be better off just using that environment in the first place.

Anyway, since it seems you are not putting album thumbs on the page you do not need the normalizeColumns() part. You can use just next_image(). You will also need to manage the Zenphoto page# variables.

Unregistered
Unregistered
Guest   2009-12-23, 22:22
#3

The user and all related content has been deleted.

Administrator
Administrator
acrylian   2009-12-23, 22:43
#4

I assume you read or theming tutorial? If there is no next_album loop on your album.php then there is no listing of albums. What theme are you using as a base. Or maybe post a link to your site, otherwise we are guessing.

Unregistered
Unregistered
Guest   2009-12-23, 23:04
#5

The user and all related content has been deleted.

Member
Member
sbillard   2009-12-24, 00:08
#6

Album objects contain the descriptions. I am not clear on what you want to do, but if it is to just list the descriptions of the albums in a subalbum you would have to use the next album loop (assuming you are on an album page) an only display the descriptions.

If you want something different you will have to program that using the zenphoto object model.

Unregistered
Unregistered
Guest   2009-12-24, 10:04
#7

The user and all related content has been deleted.

Administrator
Administrator
acrylian   2009-12-24, 11:19
#8

zp_load_album($tempAlbumName) sets up a global variable named $_zp_current_album that contains the object of that album which contains all info. You should take a look at our list of globals and the functions documentation of the classes.

next_album is context sensitive so if you want to show all albums always you have to use the object model. The print_album_menu plugin does perhaps do what you want but without thumbnails.

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