forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: FantasyFreak1 on February 06, 2012, 08:58:09 am

Title: How to add html code properly into page
Post by: FantasyFreak1 on February 06, 2012, 08:58:09 am
Hello, i need to add a few links to my another sites under Coppermine copyright in footer.
I also need to add my own stats counter into footer of all pages.
I tried to edit /themes/mytheme/index.php several times but these attempts led into crash of the template.
Can someone learly explain where exactly to put the html code safely?
Thank you very much.
Title: Re: How to add html code properly into page
Post by: nickelas on February 06, 2012, 09:51:59 am
Easiest way should be to use the custom-footer (http://documentation.coppermine-gallery.net/en/php-content.htm#php-content_header_footer)
Or you can modify the credits (http://documentation.coppermine-gallery.net/en/theme_copyright.htm)
Title: Re: How to add html code properly into page
Post by: Αndré on March 01, 2012, 02:28:14 pm
If you want to add plain HTML below the Coppermine footer, just open your theme's template.html file, find
Code: [Select]
{CREDITS}and below, add your HTML code.