From: Eloi G. <el...@re...> - 2003-07-06 21:39:36
|
I figured out how to make "lay_quiet" work! In /mod/layout/class/layout.php, delete lines 286 & 287: if (isset($_REQUEST["lay_quiet"]) && $_REQUEST["lay_quiet"] == 1) return; Then replace line 307: if (!isset($GLOBALS[$content_var]) || !is_array($GLOBALS[$content_var])) with this: if (!isset($GLOBALS[$content_var]) || !is_array($GLOBALS[$content_var]) || (isset($_REQUEST["lay_quiet"]) && $GLOBALS['module']!=substr($content_var,4))) And that's it! NOTE: The line numbers listed above are for -before- you've applied my "meta_vars" hack. -Eloi- |