Member
Member
jeronimo42   2012-11-07, 15:55
#1

Can someone give me the code to print a list of all my dynamic albums. All my albums are saved search results.

I've tried looking in the template-functions.php guide, using functions like getAlbumTitle(), getBareGalleryTitle(), and printAlbumTitle() but these functions aren't printing or displaying anything in my gallery. What am I doing wrong here? thank you!

Administrator
Administrator
acrylian   2012-11-07, 19:22
#2

You probably should read the theming tutorial. The functions you refer only work in their specific context.

Use the print_album_menu plugin or if you need somethings special the object model.

Member
Member
jeronimo42   2012-11-07, 21:22
#3

Could you be a little more specific. I've read through some of the guides and don't know what I'm missing. Could you refer me to something more specific? what context? thank you!

Administrator
Administrator
acrylian   2012-11-07, 21:32
#4

Did you read the theming tutorial? Image template functions only work in image context, album one only in album context. Meaning with the loops or on their theme pages if the items (object) is setup.

For all else you more or less need to use the object model.

Or as said for a list of all albums use the print_album_menu plugin.

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