Announcement

#16 2024-02-21 09:44:25

Katryne
Member
2016-12-03
511

Re: Bootstrap Darkroom: Remove "Contact Webmaster" from footer?

You didn't try hard enough. Come on, try harder!

Use the Local File Editor plugin, language tab and add :

Code:

$lang['Contact webmaster'] = '';

for any language you are using.


https://album.chauvigne.info/ v.15.7.0  PHP: 8.2.29
https://balades.comoni.org/  v.15.7.0 PHP: 8.2.29
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#17 2024-02-21 09:57:19

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7306

Re: Bootstrap Darkroom: Remove "Contact Webmaster" from footer?

Hi :-)

It's better use personal plugin


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#18 2024-02-21 10:17:05

Katryne
Member
2016-12-03
511

Re: Bootstrap Darkroom: Remove "Contact Webmaster" from footer?

Hi ddtddt ! I do what I can and I can do little. (Je fais comme je peux et je peux peu.)


https://album.chauvigne.info/ v.15.7.0  PHP: 8.2.29
https://balades.comoni.org/  v.15.7.0 PHP: 8.2.29
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#19 2024-02-21 14:58:15

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7306

Re: Bootstrap Darkroom: Remove "Contact Webmaster" from footer?

Hi :-)

Katryne wrote:

Hello !
There is something about it in the Theme documentation : https://github.com/tkuther/piwigo-boots … kroom/wiki It says :


To remove that link, use a custom plugin:

Code:

add_event_handler('loc_end_page_tail', 'removecontact');
function removecontact() {
  global $template;
   
  $template->clear_assign('CONTACT_MAIL');
}

post 2 ;-)


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#20 2024-02-21 22:28:16

Katryne
Member
2016-12-03
511

Re: Bootstrap Darkroom: Remove "Contact Webmaster" from footer?

ddtddt, thank you to remind me that I can find the good answer when I try very hard.


https://album.chauvigne.info/ v.15.7.0  PHP: 8.2.29
https://balades.comoni.org/  v.15.7.0 PHP: 8.2.29
Système d'exploitation: Linux - Hébergeur 1&1-Ionos - MySQL: 5.7.42
Bibliothèque graphique: External ImageMagick 6.9.11-60

Offline

 

#21 2025-10-03 01:31:15

atam
Member
2025-10-02
2

Re: Bootstrap Darkroom: Remove "Contact Webmaster" from footer?

Hi there,

The only way I managed to get it to work is by overriding the footer.tpl

1. Add

Code:

$conf['show_template_in_side_menu'] = true;

line to the local config.

2. In the 'Plugins -> LocalFile Editor -> Templates' create a new file named footer.tpl. Parent directory set to template-extension. Model set to bootstrap_darkroom / footer.tpl (adjust to the theme you use).

3. Make changes to the newly created override of the footer.tpl. E.g. if you want to "undestructively" remove the "Webmater" part, the change you need could look like this:

Code:

{if isset($CONTACT_MAIL) and false}

Hit 'Save file'.

4. Go to the newly enabled (on the step 1) page 'Configuration -> Templates'. The footer override 'footer.tpl' created on step 2 should already be listed in the table.

5. Pick the 'footer.tpl' value in the Original templates column in the corresponding row.

6. Pick you current theme (e.g. 'bootstrap_darkroom' in my case) in the Bound Theme column and hit 'Submit'.

After those steps the stock footer of the currect theme will be overriden by the custom one created on the step 3 and the 'Webmaster' mention should be gone :)

Hope that helps.

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2025 · Contact