Display Gallery index without Parentbreadcrumb

At least I think that's what I'm trying to do...

Let me show you an example:-

Have a look at the menus / sub menus at the bottom of this page:-
http://www.freeline-gfx.co.uk/portfolio/annual_reports/west_country_ambulance.html

This is what I have managed to do with Zenphoto so far (ignore the images, haven't got to those yet):-
http://www.freeline-gfx.co.uk/zenphoto/index.php?album=print-design

If you click on the link 'Annual Reports' under the Print Design menu your taken to the 'Annual Reports' subpage. Now the issue I'm trying to correct is the menu now shows 'Annual Reports' as it's heading, I want it to read Print design as it did before.

Can that be done?

Here's a snippet of the code I'm using:-

<h1><span><?php printAlbumTitle(true);?></h1>

Thanks for any help :)

Comments

  • On a side note, do you think it would be possible to re-create this layout in Zenphoto:-

    http://www.freeline-gfx.co.uk/portfolio/environmental/blackdownhills_aonb.html

    So the thumbs are small on the right hand side and the main image is shown on the same page to the left?

    Thanks again for any help.

    Edit: Ahh, I think printAlbumMenu will do the trick, now I need to work it out :)
  • acrylian Administrator, Developer
    Yep, the album menu is meant for this stuff. You could also try the new menu manager plugin in the nightly build (nightly build required).

    To the layout question: Yes, absolutly, look at our website for example under themes/showcase which is basically quite similar (minus the flashy stuff). Generally nearly everything is possible, depending on your abilities.
  • Thank you acrylian, I'm just doing a bit of research on album menu as we speak.

    Did you see my first question, that's the one that's got me scratching my head right now.

    Html + CSS I can do to a reasonable level, PHP I have used sparingly, it's nice to see everything wrapped up in div tags on the album pages and css so well implemented. Makes life much easier :)
  • acrylian Administrator, Developer
    Sorry, missed the part, but the album menu should be able to do that. Look at it's function parameters.
  • Hi, well i'm progressing some what, just having a little dificulty getting PrintAlbummenu to do what I'd like it to...

    Here's what I've achieved so far...

    http://www.freeline-gfx.co.uk/zenphoto/index.php?album=print-design

    If you look at the third navigation menu you can see it's displaying (in orange) my three album names. I'd like to just display the the Current album title, in the case of the example that would be 'Print Design' instead of all three. Is that possible?

    Currently i'm using <?php printAlbumMenu("list-top","","","","","",""); ?>

    Also, could I display the content of a sub album on a fourth navigation list as shown here-

    http://www.freeline-gfx.co.uk/portfolio/annual_reports/blackdownhills.html

    Hope that makes sense.

    Thanks for any help :)
  • acrylian Administrator, Developer
    If the printAlbumMenu is set to show toplevels it will always show all of them. There is now way to show only the direct parent. In that case you have to use the "omit-top" parameter value and getting the parent album (there are functions for this, see the documentation) manually.
  • Hi acrylian, thanks for your help.

    I had tried using omit-top and wondered it could be used with another paramater that pulled the parent directory name in.

    I've also tried $indexname: but - unless I'm mistaken - the title I typed would be used for each album name, so if I typed 'Print Design' it would also show up if you clicked on 'Web Design' or 'Interpretation'

    Or where you suggesting a different method?
  • acrylian Administrator, Developer
    As said you can't do it with the printAlbumMenu alone. You have to use the "omit-top" option and then get the parent album name separately from that. So you need to do some custom coding.

    You could alternativly try the menu manager in the nightly but even then you need to create separate menu sets you need to call with custom code on your theme page.
  • I cannot seem to understand how to set printAlbumMenu so the jump menu appears as opposed to the list. Can anyone point me in the correct direction.

    I have no real knowledge of PHP but i am reasonably savvy with where to put things if told....Any help appreciated.
  • acrylian Administrator, Developer
    It is all documentated. Depending on the theme used you will have to edit your theme files.
Sign In or Register to comment.