zenphoto forums » Usage Support

List ALL albums in album.php

(9 posts)

Tags:

  1. smiguel

    Member
    Joined: Feb '09
    Posts: 28

    Hi,

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

    Thanks!

    M.

    Posted 3 years ago #
  2. Zenphoto support team
    kagutsuchi

    Assistant developer
    Joined: Aug '09
    Posts: 518

    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

    Posted 3 years ago #
  3. smiguel

    Member
    Joined: Feb '09
    Posts: 28

    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

    Posted 3 years ago #
  4. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,014

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

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  5. smiguel

    Member
    Joined: Feb '09
    Posts: 28

    I write this: <?php printAlbumMenu(); ?> but it returns an error... Can you help me? What is the correct code?

    Posted 3 years ago #
  6. smiguel

    Member
    Joined: Feb '09
    Posts: 28

    <?php printAlbumMenuList($listtop); ?>

    Posted 3 years ago #
  7. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,014

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

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #
  8. smiguel

    Member
    Joined: Feb '09
    Posts: 28

    Thanks!

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

    Posted 3 years ago #
  9. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 15,014

    (la documentación del zenphoto es caótica)
    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.

    Don't forget to read the Forum rules and usage resources
    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.