Album Links in Drop-down

I'm designing this site using Zenphoto for a client of mine. I've pretty much gotten everything set where she can go in and edit at will. The only problem is the navigation. She doesn't know much html and I don't really want her messing with the theme files.

This is the site: http://www.anthonysartandantiques.com/

She wants the navigation to only display specific albums under the "categories". So for "Painting", she only wants "19th Century" and "20th Century". Is there a way to do this without me having to go back and manually put in the URLs to each album she creates?

I'm really at a loss at what to do... she wants to be able to update all aspects of the site by herself but as it stands now I'd have to update the navigation everytime she wants something changed. :/

Comments

  • I guess what you need to do is make the navigation based on something like the Tags or perhaps some use of the album custom data. Then she could either add a tag for the category or put the category into the custom data.

    You could create a plugin that actually handled the custom data and displayed it with whatever title you want in admin if that would make things easier for her. There is an example plugin named `filter-custom_data` that you could use as a starting point.
  • acrylian Administrator, Developer
    Why don't you just base the structure of the menu on the actual album strucuture? So the top level album "paintings" would contain the "19th Century" and "20th Century" albums so that they would be displayed. You can do this quite easily with our class object model framework.
  • Thanks sbillard and acrylian! :)

    @Acrylian: That makes sense - as far as making subalbums is concerned. I'm still a little unsure of what code I need to put into the navigation to get all the subalbums for one album to show up on the index page. :/ Can that be done with the print_album_menu plugin? I'm a self-taught web-designer so sometimes it takes longer for these things to sink in. :)

    Thanks again!
  • acrylian Administrator, Developer
    Yes, the print_album_menu has also an option to show only the subalbums of a top level album. Please see the documentation for the parameters to set.
Sign In or Register to comment.