I like this idea too hehe
+1 for Eloi
On Sunday, July 6, 2003, at 02:39 PM, Eloi George wrote:
> 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-
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/
> 01
> _______________________________________________
> Phpwebsite-developers mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers
>
>
|