Member
Member
riptheriper   2009-10-18, 15:01
#1

Hi all,

I would like to know, how I could get the full list of albums and sub-albums in unordered list format. It will be great if unordered list prints in nested form like following example:
|--Folder 1
|--Folder 2
| |--Sub-Folder 1
| |--Sub-Folder 2
|
|--Folder 3

Any help regarding that query will be highly appreciated.

Administrator
Administrator
acrylian   2009-10-18, 16:09
#2

The print_album_menu plugin can do this.

Member
Member
riptheriper   2009-10-18, 16:27
#3

Thanks acrylian, I am going to test that option.

Member
Member
riptheriper   2009-10-18, 16:42
#4

I have activated print_album_menu in ZENphoto’s plug-in page. Now I am wondering how to implement it on page. I am modifying already designed theme by someone else and have removed a lot of chunk out of it. Therefore, maybe I cannot see any change after activation of plug-in. Can you give me an example how to fetch that list in any page?

Member
Member
riptheriper   2009-10-18, 16:46
#5

I have used to get album list, it also brings some unwanted error along with requested result.

Warning: Missing argument 1 for printAlbumMenu(), called in C:\xampp\htdocs\urbanmaze\portfolio\themes\stopdesign\album.php on line 18 and defined in C:\xampp\htdocs\urbanmaze\portfolio\zp-core\plugins\print_album_menu.php on line 40
• Architecture
o Landscapes
• Characters
• Landscapes
• Nature
• Scenes
• Windows

How can I get rid of it? In addition, is it possible to get thumbnails along with menu list?

Administrator
Administrator
acrylian   2009-10-18, 17:11
#6

You forgot to set a parameter. Please refer to the documentation of the plugin.

No, If you want thumbs you have to customize it.

Member
Member
riptheriper   2009-10-18, 17:13
#7

I am going to read documentation and will post results for benefit of other users.

Member
Member
mironb   2009-10-20, 09:38
#8

Hi I am trying to insert menu to my index page also.
I am using this code:

Why I do not see subalbums ?
Please write me exactly what I have to change. Your documentation is hard to understand for me I am do not know php.
Regards

Administrator
Administrator
acrylian   2009-10-20, 10:26
#9

This is why we also have a guide to the documentation on our user guide.
http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/
Generally, you should learn at least php basics if you are trying to modify a theme.

In short:
First, the second parameter is not set correctly.
Second, $showsubs is the 8th parameter. That means that you have to set the six between the 1st and the 8th, too.

Member
Member
mironb   2009-10-20, 12:21
#10

Thanks for help but I still have the problem. I think this guide needs examples. I would like to see raw code on this guide. That would be easier to learn. My code for now is:

`

Administrator
Administrator
acrylian   2009-10-20, 13:04
#11

You really should read the instructions carefully... "indexname=Galleriiia" sets the indexname to "indexname=Galleriiia" instead of "Galleriiia".

Member
Member
mironb   2009-10-20, 17:22
#12

Ok I think I know how to do it:

``

Thanks Acrylian

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