![]() |
|
Have a theme plan - I just need to make it work. - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Have a theme plan - I just need to make it work. (/thread-3890.html) |
Have a theme plan - I just need to make it work. - bobearth - 2008-10-17 I have an existing site that I'm trying to integrate with Zenphoto. I have a plan for the way I [i]think[/i] it will work. See it here: http://thecanarystudio.info/zen-plan.jpg Here's what I'm trying to do:
I've sorted out item 1, by using the print_album_menu plugin, all good there. Its item 2 that has me scratching my head, I really don't even know where to start on that one. Any help/pointers would be greatly appreciated - I would also be more than happy to pay someone for their expertise (but above all, I would like to learn how this would be approached). Have a theme plan - I just need to make it work. - acrylian - 2008-10-17 You can do 2. with this: Have a theme plan - I just need to make it work. - bobearth - 2008-10-17 Thanks so much. So this script displays all sub-albums as thumbnails for the album (rather than a sub-album) I'm viewing? Is there a way to show all sibling sub-albums that belong to the album I'm within? But as per my plan, while I am also viewing the list of top-level albums and seeing the sized images from the current sub-album. http://thecanarystudio.info/zen-plan.jpg For example - on the site I'm working with: http://foodstylist.com.au/adspacks/a2_1.html Have a theme plan - I just need to make it work. - albeezie - 2008-10-17 I think that the print_album_menu.php in the plugins folder can shed a lot of light on how to proceed. Basically, you should call the top level album based on the $_zp_gallery and go from there. Have a theme plan - I just need to make it work. - acrylian - 2008-10-17 The album menu has an option for showing only the toplevel albums. Then use the code above, that shows all direct subalbums of the album you are currently in. Have a theme plan - I just need to make it work. - bobearth - 2008-10-20 thanks for your replies. The point I am struggling with is that I need all of this to happen on a single page: http://thecanarystudio.info/zen-plan.jpg So I can show all subalbums of the album I am in, but what if I'm viewing a subalbum - how do I show the only the other subalbums which belong the same album (and also, how to represent each subalbum with a thumbnail). thanks again for your help. Have a theme plan - I just need to make it work. - albeezie - 2008-10-20 I am pretty sure that the print_album_menu plugin does pretty much what you are looking to do (it prints out the toplevel albums and subalbums of the topalbum as well as sister subalbums).. you just need to take that code and modify it to fit your needs. Have a theme plan - I just need to make it work. - acrylian - 2008-10-21 @bobearth: I already posted the solution to show the subalbums of the current album. Take a look at our functions guide and the album class. There you will find all the methods (function) it provides that you can use as in my example above like @albeezie: Adapting the album menu would probably work but that function is rather complicated because of the context sensitive display. The example above is basically what the the album menu uses. Have a theme plan - I just need to make it work. - albeezie - 2008-10-21 Ah, that's a much easier way to go about it... go with acrylian! Have a theme plan - I just need to make it work. - bobearth - 2008-10-21 Ah damn, this has quickly gone over my head - I'd be willing to pay for someone to create this theme for me. Any takers? Please contact me - tim [at] the canary studio [.] com Cheers for all of your help. Have a theme plan - I just need to make it work. - pixelgrain - 2009-02-12 Hey Ya'll... I'm also looking to list sub-albums on the index page, and I've gotten far enough to show their thumbnails with the code here. But now I'm a bit stuck... $subalbumobj->getAlbumThumb() WORKS GREAT echo $subalbum will give me the filepath, so I have that and the thumbnail. All I need is the subalbum title. Any ideas? I feel it should be pretty straight forward, but nothing seems to work. Thanks... Have a theme plan - I just need to make it work. - acrylian - 2009-02-12 You need to use the album class methods not the normal template-functions. |