In every page their is this line "Powered by Piwigo - Contact Webmaster" how can i remove it?
or put this under line that declare my license?
Offline
It is not recommended to completely remove this line. Piwigo is free (under GPL license to be precise), but it is not too much to talk about it.
However to change the footer, use LocalFiles Editor (Admin > Specials > Plugins), to create a my_footer.tpl template file based on footer.tpl for the template you use. To apply the file you created, you go to Admin > Configuration > Templates, and there you activate the file you created (which is listed here once you saved it) to replace footer.tpl.
But also do a search in the forum messages, you must find some topics about this probably common request.
Last edited by LucMorizur (2009-11-09 16:23:40)
Offline
As a complement to LucMorizur post, I would say that please, don't remove it. It's cool you ask us, many don't. I see you don't absolutely want to remove it, but for other that may find this topic by search, I wanted to make it clear: don't remove the "powered by Piwigo".
Piwigo is free software, free as in speech, free as in beer. The "powered by Piwigo" is the only way for us to advertise on Piwigo.
I understand that sometimes you really need to remove it. There is no obligation here, but if this is the case, please consider contributing one way or another (translating Piwigo into Hebrew would be a nice contribution).
Offline
The instructions have been very helpful in adding the google analytics code - thanks.
(the Statistics plug in wasn't working, so I decided to do it manually).
Helpful - here is the dynamic (good for php) google analytics code to insert into the footer before the </body> tag:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._trackPageview();
</script> <?php
// End Analytics tracking code
?>
(the standard google analytics code gave me a php error, but the code above works perfectly)
Offline
when I follow these instructions it breaks the ability to log in and out. Does anyone have a complete fix for removing the "powered by" section?
Fixed: The theme I was using had a different footer file.
Last edited by j3t (2011-06-05 05:20:21)
Offline
j3t wrote:
when I follow these instructions it breaks the ability to log in and out. Does anyone have a complete fix for removing the "powered by" section?
Fixed: The theme I was using had a different footer file.
For add goode google analytique -> [extension by sakkhho] Statistics
For add information on footer -> [extension by ddtddt] Perso Footer
Offline
i can not really believe that .. you asks piwigo how to remove it :) really cool i have been puting this line as i want . . i never thought to remove it .
Offline
I removed it for a day or two, but then I started getting emails asking what gallery program I was using so I put it back in. Giving a little free advertising doesn't hurt.
Offline
skywave wrote:
"plg" said: "Piwigo is free software, free as in speech, free as in beer".
Huh? I'd like to know what bar you frequent or where you buy your beer!
Actually I never drink beer. But this is an idiom to say "free as a free beer : we won't ask your money" and it doesn't mean the same as "free as free speech".
Offline
I also want to modify this. I am happy to leave 'Powered by Piwigo', I just want the contact option left off. Is it possible to modify the page so that it says 'Powered by Piwigo' and nothing else?
Tom Brossman wrote:
I also want to modify this. I am happy to leave 'Powered by Piwigo', I just want the contact option left off. Is it possible to modify the page so that it says 'Powered by Piwigo' and nothing else?
1) activate plugin LocalFiles Editor
2) open screen [Administration > Plugins > LocalFiles Editor > Personal Plugin] and paste the following code:
<?php /* Plugin Name: Personal Plugin Version: 1.0 Description: Personal Plugin Plugin URI: http://piwigo.org Author: Author URI: */ add_event_handler('loc_end_page_tail', 'perso_remove_contact_link_footer'); function perso_remove_contact_link_footer() { global $template; $template->assign('CONTACT_MAIL', null); // core contact link $template->assign('ContactFormLink', null); // ContactForm plugin link } ?>
3) activate plugin Personal Plugin
Offline
Perfect, thank you.
Offline
I am using piwigo for a number of gallery sites, but I do have one that needs to remove the powered by per friend's request. She has offered to donate instead (plus I am leaving it on my other sites to help promote).
How do I remove the powered by? Can you post code?
Thanks,
-d
BaiFan wrote:
How do I remove the powered by? Can you post code?
in css file
#copyright {
display: none;
}
Offline
If I want to lose it across all of them, which CSS file do I do it to?