Hi there,
We are setting up the gallery so it has three very seperate areas (Artists, Make-up Artists, Locations). Obviously they are all child nodes of the main admin album.
In the template we have the three sections listed across the horizontal navigation - and each naviagtion rollover will be a dropdown to show the albums within themselves.
Could anyone tell me how to achieve this. I was hoping to take the existing album selection code, load it three times, and send the parent node variable depending on the section its in - but I've looked at the code and cant find an easy way of doing this.
Any ideas would be greatly appreciated.
Thanks, Steve.
Posts: 8601
get the albumselect module, edit modules/albumselect/Callbacks.inc
find the line that calls fetchAlbumTree and change the 2nd param (null) to 2
now edit your theme settings and add an album select or album tree somewhere.. this should now show just 2 levels, ie those top 3 albums and the child albums under those.
you can now modify albumselect tpl to render those album links in your navigation bar instead of how albumselect does it now.
Posts: 7
Many thanks for your input.
KInd regards, Steve