Minor FAQ Correction: addFooterBeforePoweredBy code different Minor FAQ Correction: addFooterBeforePoweredBy code different
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Minor FAQ Correction: addFooterBeforePoweredBy code different

Started by adipisicing, January 06, 2008, 12:07:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

adipisicing

In the Coppermine docs here (and in those that come with 1.4.14): http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#addFooterBeforePoweredBy
the code to look for does not match the code in themes/sample/theme.php .

The faq says to look for
echo $template_footer
but doing a search for that fails.

The current line in theme.php appears to be
echo template_eval($template_footer, $template_vars);

If documentation refers to a previous version of the code, some people may have copied the previous version into their themes' theme.php. If this is the case case it might just be better to word the faq "Edit /themes/yourtheme/theme.php, look for where $template_footer is 'echo'ed".

Sorry if this is a duplicate or is already fixed in SVN. I couldn't find this in the bugs forum.

Thank you, and happy new year!

Unless otherwise noted, all code that I post on these forums to which I hold the copyright is released under the GPLv2.

Joachim Müller

Removed the corresponding section in the FAQ and committed to svn. Will be in cpg1.4.15.