Re: mod_layout not returning env var!

Leanne Lai <[email protected]> Thu, 16 Dec 2004 11:30:32 -0800 (PST)
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>

Mark Staben wrote:
>
>Where are you trying to access the variable? In your header or 
footer? 

In my header, I did a simple test

header.inc:
.
.
<p>
LAYOUT_SCRIPT_NAME: <?=$LAYOUT_SCRIPT_NAME?>
<br>LAYOUT_PATH_INFO: <?=$LAYOUT_PATH_INFO?>
<br>Last Modified: <?=$LAYOUT_LAST_MODIFIED?>
</p
.
.


The output is ""

:(


>You know that those variables are only available for the 
preprocessing 
>done in a layout (header, footer, etc...) not in the body of a page, 
>right?
>
>On Dec 16, 2004, at 11:13 AM, Leanne Lai wrote:
>
>> However, when I try to use the env var $LAYOUT_SCRIPT_NAME, it just
>> return blank :( :(, in fact all the other env var return blank as 
well
>> :( :(
>>
>> Help!
>
>_______________________________________________
>Mod_layout mailing list
>[email protected]
>http://lists.tangent.org/mailman/listinfo/mod_layout