Pages: 1 2
You didn't try hard enough. Come on, try harder!
Use the Local File Editor plugin, language tab and add :
$lang['Contact webmaster'] = '';
for any language you are using.
Offline
Hi :-)
It's better use personal plugin
Offline
Hi ddtddt ! I do what I can and I can do little. (Je fais comme je peux et je peux peu.)
Offline
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 ;-)
Offline
ddtddt, thank you to remind me that I can find the good answer when I try very hard.
Offline
Hi there,
The only way I managed to get it to work is by overriding the footer.tpl
1. Add
$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:
{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
Pages: 1 2