Menus with zpBootstrap

zenPhoto 1.6.8 with zpBootstrap theme fork added (MAMP 6.9 on MAC mini) PHP 8.2.0

I am not aware of a user guide for menu or page but their usage seems obvious BUT

There is a funny interaction between menu and page

  1. copy all files from zp1.6.8 download to directory
  2. add downloaded zpBootstrap fork to themes directory
  3. create empty db with phpMyAdmin
  4. run setup and enable page

basic gallery page with Search option shown [no menus]

  1. Themes tab > zpBootstrap - activate [All themes (except zpBootstrap) show as deprecated so I am happy to have zpBootstrap which I use for my website anyways]

Home Gallery and Search icon shown as menu items

  1. enable menu_manager and zenpage plugins

no change to webpage

  1. enable Options > Theme > Use custom menu

Home News Gallery and Search icon shown as menu items

  1. Menu tab - these items are pre-populated there and set to active
  2. Hide News and it gets hidden
  3. create a page (not published)

no change - page not displayed

  1. publish it (not added to Menu)

page title is displayed in menu

  1. Menu tab > Add Menu Items > Zenpage page select the created page and Apply

page title is displayed twice in menu

  1. Page > unpublish the page

it does not appear in the menu at all

  1. Page > publish and it appears twice again in the menu
  2. Menu > hide the page and it appears once in the menu

I assume if menu_manager plugin is enabled and custom menu is enabled in theme then only those things not hidden in menu should be shown.

Maybe I missed some other option - I will continue checking

Tags:

Comments

  • Found it - I had to hide (or maybe delete) the automatic entry in the Menu tab called Pages menufunction PrintPageMenu...

    Now it works as expected

    Thanks for listening :)

  • acrylian Administrator, Developer

    The theme seems to use a default setup which automatically adds all albums/pages etc so it is not empty. Some other themes including ours do as well. That will not be used in future themes anymore since it contradicts tthe "custom menu" idea quite a bit and as you encountered is confusing.

    Regarding zpBootstrap we can remove that. Open a ticket on our fork repo perhaps.

  • acrylian Administrator, Developer
Sign In or Register to comment.