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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.