I have integrated gallery2 with joomla/mambo, and would like to hide (or remove) the main gallery2 menu, so that users will not be able to navigate all the other syster or parent albums. I am planning to have links to the albums themselves from within joomla/mambo's main menu instead. It would be even nicer if I could have gallery2 main menu displayed start from the album I choses to display. Perhaps a main menu for each user.
Has somebody already done something like this, or is Gallery2 able to do it from its configuration (and stupid me have not found it yet)?
Thanks for you help.
Posts: 2258
You can remove some of the things on the left by editing the theme settings in SiteAdmin, to remove the breadcrumb search for "BreadCrumb" in the .tpl files and remove as you see fit. If you wanted to set it as a per-album configuration, you would need to add a new option to the theme and wrap the BreadCrumb stuff in if/endif blocks.
Posts: 2258
(and moved to proper forum)
Posts: 2
Thanks for the information. I removed breadcrums from a theme that I will be using in the Joomla/Mambo site.
I found it better to edit the Theme's file (../themes/<Theme_name>/templates/theme.tpl) instead of the main Gallery2 file to remove the BreadCrums. This way, I can switch to the onother theme if I mess it up.
The change took effect after I saved the file in the new dir ../local/theme.tpl
But if I want to put it back as it was, it does not revert. It does revert back only when I deactivate and reactivate the theme. Any comments about this?
All I have to do now is learn PHP to create that breadcrums wrap.
Thanks again. Very helpful.
Posts: 2258
Often when making changes to a theme you need to clear your tpl cache from site admin -> maintenance.