Announcement

#1 2021-11-10 17:12:09

deemon
Member
2021-05-03
45

Configuration : templates (Piwigo 12.0.0)

Hello/Hi/Greetings,

There used to be under configuration submenu "templates".
I can't find it anymore. Was this removed with the upgrade or moved somewhere else?

Piwigo 12.0.0
OS: Linux
PHP: 7.1.33
MySQL: 5.5.5-10.1.48-MariaDB-1
Graphics library: External ImageMagick 6.9.7-4

Offline

 

#2 2021-11-10 18:05:12

BMS
Member
2015-12-24
21

Re: Configuration : templates (Piwigo 12.0.0)

Had the same issue.
This was already reported by Windracer when Beta testing » 12.0.0RC2
See https://piwigo.org/forum/viewtopic.php?id=31533

Last edited by BMS (2021-11-10 18:08:35)

Offline

 

#3 2021-11-10 18:29:42

deemon
Member
2021-05-03
45

Re: Configuration : templates (Piwigo 12.0.0)

Thank you! :-)

Offline

 

#4 2021-11-14 15:53:03

BMS
Member
2015-12-24
21

Re: Configuration : templates (Piwigo 12.0.0)

Just installed Piwigo 12.1.0 but in this update this issue has not been resolved

Offline

 

#5 2021-11-14 16:38:43

erAck
Only trying to help
2015-09-06
2128

Re: Configuration : templates (Piwigo 12.0.0)

Read the topic that you pointed to. You have to set the configuration value to enable it. It won't be magically "solved" by an update. Use the LocalFiles Editor plugin to add

Code:

$conf['show_template_in_side_menu'] = true;

to your local config. (or just edit local/config/config.inc.php if you know how).


Running Piwigo at https://erack.net/gallery/

Offline

 

#6 2021-11-15 19:22:55

BMS
Member
2015-12-24
21

Re: Configuration : templates (Piwigo 12.0.0)

Adding the code in the LocalFiles Editor just solves the problem which did not exist till introduced by the upgrade to 12.0

With the upgrade following code was added to ../piwigo/include/config_default.inc.php

Code:

734 // This variable is used to show or hide the template tab in the side menu
735 $conf['show_template_in_side_menu'] = false;

I browsed all documentation and upgrade notes and can't  think of any reason for hiding the template tab other than to discourage (new) users to use this customization option. In that case it would be nice to know what the developers are aiming for.

However I think that's not the case and I assume this line got there when a developer was testing code and was forgotten about.

Until there is a real need for hiding the template tab, an update to config_default.inc.php by setting the variable to true will do the magic, without loosing the variable.

Also just trying to help;)

Offline

 

#7 2021-12-10 12:49:23

nlb
Member
2021-01-28
2

Re: Configuration : templates (Piwigo 12.0.0)

erAck wrote:

Read the topic that you pointed to. You have to set the configuration value to enable it. It won't be magically "solved" by an update. Use the LocalFiles Editor plugin to add

Code:

$conf['show_template_in_side_menu'] = true;

to your local config. (or just edit local/config/config.inc.php if you know how).

Juste merci !

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact