Announcement

#1 2015-10-28 00:44:27

tterrellbanks
Member
2015-02-16
4

How to always show IPTC

Hello/Hi/Greetings,

I need to ALWAYS show the IPTC info on the picture page.  I've got some viewers who have a hard time remembering to push the camera info button.  If I can get the picture page to have the button pushed (into the show info status) as the default then  my problem would be solved.

Thanks,
Terry


Piwigo 2.7.4
Check for upgrade

Operating system: Linux
PHP: 5.3.29 (Show info) [2015-10-27 16:41:24]
MySQL: 5.6.25-log [2015-10-27 16:41:24]
Graphics Library: ImageMagick 6.6.9-7

http://www.banks-usa.com/piwigo-oldpics … /admin.php (Subject to change at any time.)

Offline

 

#2 2015-10-28 10:30:27

Applepiee
Member
2014-07-11
38

Re: How to always show IPTC

You mean the "Show Metadata" right?

Pretty sure this is a theme limitation. If you have basic smarty knowledge then you should be able to copy the "always visible meta data code" from another theme and paste it into this one.

Offline

 

#3 2015-10-28 13:57:47

tterrellbanks
Member
2015-02-16
4

Re: How to always show IPTC

OK.  The next part of the problem then is, "Where can I acquire some 'basic smarty knowledge'?  I ask because I'm assuming that 'smarty' isn't a reference to attitude. :-)

If require, I could look at changing themes if you can recommend one that defaults to showing the information.

Thanks,
Terry

Offline

 

#4 2015-10-28 14:07:55

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13181

Re: How to always show IPTC

Hi tterrellbanks,

tterrellbanks wrote:

[...] I'm assuming that 'smarty' isn't a reference to attitude. :-)

Lol :-) Smarty is the templating system we use in Piwigo.

I would not start with that.

With plugin LocalFiles Editor, tab "local configuration", add this:

Code:

<?php
$_SESSION['show_metadata'] = true;
?>

(not tested)


Latest blog post (November 9th 2018) Why Flickr could not remain free for ever

Offline

 

#5 2015-10-28 17:49:49

tterrellbanks
Member
2015-02-16
4

Re: How to always show IPTC

Thanks.

That's the sort of answer I was looking for but it does not work.  I still have to click the camera icon on the picture page.

Cheers,
Terry

Offline

 

#6 2015-11-01 13:22:20

Igor Trček
Member
2015-10-16
5

Re: How to always show IPTC

For me it works ... (solution with local file editor)

THANKS !!

Offline

 

Board footer

Powered by FluxBB

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