[geeklog-devel] Fwd: Templating and Caching

Joe Mucchiello joe at ThrowingDice.com
Sun Mar 30 23:09:52 EDT 2008


I missed a mistake in moderation.php's template usage. The
commandcontrol function never calls $admin_template->finish().

$retval .= $admin_templates->parse('output','cc');

$retval .= COM_endBlock (COM_getBlockTemplate ('_admin_block', 'footer'));

There should be a call to finish in there:

$admin_templates->parse('output','cc');
$retval .= $admin_templates->finish($admin_templates->get_var('output'));

$retval .= COM_endBlock (COM_getBlockTemplate ('_admin_block', 'footer'));

Hopefully this can also make it into CVS.


At 03:29 AM 10/11/2007, Joe Mucchiello wrote:

>Problem: The moderation command and control table doesn't look right

>Fix: in .../public_html/admin/moderation.php, find this line in the

>function commandcontrol():


----
Joe Mucchiello
Throwing Dice Games
http://www.throwingdice.com




More information about the geeklog-devel mailing list