Announcement

#1 2018-10-25 05:41:42

TTorler
Member
2018-10-25
5

New user q's about the information panel in gallery view

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

 

#2 2018-10-25 17:35:24

TTorler
Member
2018-10-25
5

Re: New user q's about the information panel in gallery view

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

 

#3 2018-10-25 18:14:36

flop25
Piwigo Team
2006-07-06
6918

Re: New user q's about the information panel in gallery view

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2018-10-25 18:37:22

TTorler
Member
2018-10-25
5

Re: New user q's about the information panel in gallery view

@flop25 so if I want to set $metadata to true before the gallery page loads, how should I do that?

Thanks,

TT.

Offline

 

#5 2018-10-25 18:47:04

flop25
Piwigo Team
2006-07-06
6918

Re: New user q's about the information panel in gallery view

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2018-10-25 19:39:14

TTorler
Member
2018-10-25
5

Re: New user q's about the information panel in gallery view

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

 

#7 2018-10-25 20:01:02

flop25
Piwigo Team
2006-07-06
6918

Re: New user q's about the information panel in gallery view

Open the skeleton plugin, the other plugins, the core files too...
I wil' try to provide more help later on


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2018-10-25 20:11:53

TTorler
Member
2018-10-25
5

Re: New user q's about the information panel in gallery view

The only plugin I have is the Localfiles editor.

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact