Hello/Hi/Greetings,
I would like to include the template "menubar_related_categories.tpl" in the Administration-->Configuration-->Templates menu list. I am not sure why it's missing, but I notice that it's not listed in admin/extend_for_templates.php.
As it is right now, I need to directly edit the default template file, but it would nice to include it with the other templates editable with LocalFiles Editor.
Thank you.
Environment:
Piwigo 16.2.0 Check for upgrade
Installed on 4 January 2019, 7 years 4 days ago
Operating system: Linux
PHP: 8.4.16 (Show info) [2026-01-09 09:28:00]
MySQL: 8.0.44-0ubuntu0.24.04.2 [2026-01-09 10:28:00]
Graphics Library: ImageMagick ImageMagick 6.9.12-98
Cache size 10401.72 Mo calculated 1 month ago Refresh
Activated plugin list 9
Additional Pages
Admin Tools
Batch Manager, Description
Header Manager
LocalFiles Editor
Permalink Generator
RV sitemap
VideoJS
Virtualize
Piwigo URL: http://(locked for the moment)
Offline
Hi ahtoagah,
What can you do editing this file? I am curious about your bright ideas ;)
Offline
I'm not doing anything grand. I just want to hide the display of code about "badges" for image and category counts and I deleted the fragment title="{$cat.TITLE}". These are small changes which make my menu display cleaner... to me, anyway.
In fact, the file menubar_related_categories.tpl is very short and could be easily be repackaged and inserted directly into the file which calls it, namely menubar.inc.php. In other words, why is the code separated out in the first place?
Offline