Persistent Navigation

Hi all,

I'm designing a custom theme, for which there is a navigation on the left which shows text links to all the albums in Zenphoto (on `index.php`)

Is it possible to have the list of albums still visible on `album.php`?

The code used to display the navigation on `index.php` is as follows:
Inserting the same PHP for the navigation into album.php generates this error:

Fatal error: Call to a member function getImages() on a non-object in /home/public_html/zenphoto/zp-core/template-functions.php on line 1774

Any help on this matter would be very much appreciated.

Thank you in advance.

Comments

  • acrylian Administrator, Developer
    Use the print_album_menu plugin function or those of the menu-manager (for a custum one).
  • junko Member
    @acrylian: Thank you so much. I ended up using print_album_menu, simply because I couldn't find an apply button for the menu-manager when adding menus!

    For anyone interested, the code I used was:

    `

      <?php printAlbumMenu ("list",false,null,"active",null,"active","Home",null,false,true,null); ?>

    `

  • acrylian Administrator, Developer
    I don't understand the menu manage issue. It has its own tab on the backend where you can create even different menu sets. Of course you need to add the appropiate function to call one of those sets to your theme.
Sign In or Register to comment.