forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: BrianD on November 08, 2005, 09:28:00 pm
-
I am trying to add a custom footer as described in the FAQ "How do I add a custom header/footer to Coppermine?". I am trying to add it after the "Powered by Coppermine." I added to theme.php the following:
if(empty($custom_footer)){
include('../include/footer.html');
static $custom_footer;
$custom_footer = ob_get_contents();
ob_clean();
}
and added '{CUSTOM_FOOTER}' => $custom_footer to the $template_vars array. I added the tag {CUSTOM_FOOTER} at the end of template.html but the tag showed up as just text. If I add it anywhere before the {GALLERY} tag it works.
My guess is that {GALLERY} must be the last tag or am I doing something wrong.
Thanks
Brian D
-
Anything you add after the {GALLERY} tag is handled by the pagefooter() function, that is the function you need to modify instead of pageheader().
-
Where can i find the pagefooter() function to modify it to show my content
-
theme.php
-
I'm having the same problem ... footer
theme.php - pagefooter()
i can'T find it!
the template? cuts the rest of my page!!!
my round border don't close!
is this possible with a php function ? - to close a html (maybe better end a html page?)
please help
just for information:
i'm alternating the included hardwired theme ...
thanks in advance
curmetsefrog
-
ok i recognized that i use 1.4 ... it won't make a difference . .. ?
-
Search the 1.4 themes board.
-
ok i recognized that i use 1.4 ... it won't make a difference . .. ?
It will make a difference. There's a reason why we have different support boards for different coppermine versions - basically because they differ ::).
-
mkay i did ... thank you