Member
Member
smiguel   2010-09-16, 20:17
#1

Hi,

anyone can help me? I need list all albums in album.php context.

Thanks!

M.

Member
Member
kagutsuchi   2010-09-16, 22:27
#2

Depends on what you mean by all albums (all albums in gallery, all subalbums of current album...).

See either:

http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetAllAlbums

or

http://www.zenphoto.org/documentation/classes/Gallery.html#methodgetAlbums

Member
Member
smiguel   2010-09-17, 04:29
#3

In context of an album (without subalbums), list all other albums in the gallery, for better navigation across the projects.

http://cestlaviestudi.com/index.php

Administrator
Administrator
acrylian   2010-09-17, 08:30
#4

Try the print_album_menu plugin. That even has a dropdown option.

Member
Member
smiguel   2010-09-17, 14:08
#5

I write this: but it returns an error... Can you help me? What is the correct code?

Member
Member
smiguel   2010-09-17, 15:35
#6
<?php printAlbumMenuList($listtop); ?>
Administrator
Administrator
acrylian   2010-09-17, 15:40
#7

It always helps to look at the documentation before using..;-)

Member
Member
smiguel   2010-09-17, 20:55
#8

Thanks!

(la documentación del zenphoto es caótica)

Administrator
Administrator
acrylian   2010-09-18, 08:41
#9

[i](la documentación del zenphoto es caótica)[/i]
The functions documentation is actually quite well sorted for each plugin and even linked to from the plugins tab. Why that documentation is like it is is explaind on a separate article btw.

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