Hi, so I installed Piwigo for the first time (2.9.4) and I must say it's really great software. I have some questions about the information panel on the right hand side in gallery view.
1. How can I permanently drop down the metadata view?
2. What is the recommended way to add labels to my iptc_tags? I was able to do it by adding them to common.lang.php but that is probably not the best way.
3. The IPTC area has a H3 header "IPTC Metadata". How can i remove this completely?
4. How can I remove "posted on" and "visits" from the information panel?
If there are already answers to these questions a link would be fine and of course any advice is appreciated. Thanks,
TT.
Offline
Investigating (1) and (4) above, and looking in piwigo\themes\default\template\picture.tpl
starting at line
172: <dl id="standard" class="imageInfoTable">
I found the following switches:
if $display_info.author
if $display_info.created_on
if $display_info.posted_on
if $display_info.dimensions
if $display_info.file
if $display_info.filesize
if $display_info.tags
if $display_info.categories
if $display_info.visits
if $display_info.rating_score
if $display_info.privacy_level
if isset($metadata)
if isset($COMMENT_COUNT)
Anyone know how I can set these to on or off?
Offline
Hello
https://piwigo.org/doc/doku.php?id=user … :customize
1) hmm I can't remember, i have this odd feeling I know the answer but I'm not sure... have you checked : local config, user settings, theme settings ?
2)LocalFiles Editor
3)Child Theme/Template or a prefilter in php (plugin/theme)
4)same
Offline
@flop25 so if I want to set $metadata to true before the gallery page loads, how should I do that?
Thanks,
TT.
Offline
if you want to go for some programming way, you use the event init (you have a trigger list in /tools) and set the session or cookie for that
Offline
I'm a bit lost when it comes to setting template variables eg. if isset($metadata) which I need to set to true so if anyone can help with the specifics I would be very grateful. Thanks,
TT.
Offline
Open the skeleton plugin, the other plugins, the core files too...
I wil' try to provide more help later on
Offline
The only plugin I have is the Localfiles editor.
Offline