Re: documentation? debug mode?

"Ben Burgess" <[email protected]> Fri, 4 Jul 2008 12:55:56 -0700
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
--===============5423294299905645000==
Content-Type: multipart/alternative; 
	boundary="----=_Part_10551_13467463.1215201356287"

------=_Part_10551_13467463.1215201356287
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I never had any luck finding documentation. My setup was all trial and error
and I only use it for some basic advertisement includes.

On 7/4/08, Marcel (Felix) Giannelia <[email protected]> wrote:
>
> Hi,
>
> I'm trying to use the Layout directive and it just plain doesn't do
> anything. It works fine if I use LayoutFooter and LayoutHeader, but I
> want to use Layout to insert some ad code after a specific tag.
>
> I've so far been unable to find any documentation other than the really
> old stuff here: http://docs.tangent.org/mod_layout/faq-3.html , much of
> which is 404, and a mirror of the missing bits here:
> http://www.musc.edu/webserver/directives/ .
>
> Actually, the best documentation I was able to find was the directives.h
> file, which at the very least gives me a slightly newer list of
> directives (but is itself out of date -- it lists the apparently defunct
> LayoutMerge for example).
>
> I'm also confused about how to specify a pattern -- the tag I want to
> match on my pages is <td class="center">, which has a space in it, as
> well as quotes. Do I put single quotes around the whole thing? Do I
> backslash the quotes and the space? What kind of pattern syntax does
> mod_layout expect?
>
> Anyway, that's a moot point, because even when I try much simpler
> patterns (the string "replaceme"), the Layout directive has no effect
> whatsoever. I tried compiling with DEBUG defined, but I can't figure out
> where those debug messages are supposed to be output -- and yes, I tried
> running apache with loglevel debug; nothing.
>
> The directive that I'm trying to use is:
>
> Layout "replaceme" "test" append
>
> Help?
>
> (Apache 2.2.4, then tried upgrading to 2.2.8)
>
> ~Felix.
>
>
> _______________________________________________
> Mod_layout mailing list
> [email protected]
> http://lists.tangent.org/mailman/listinfo/mod_layout
>



-- 
Sincerely,
Ben Burgess
[email protected] > 707.225.2872 (mobile)

------=_Part_10551_13467463.1215201356287
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I never had any luck finding documentation. My setup was all trial and error and I only use it for some basic advertisement includes.<br><br>
<div><span class="gmail_quote">On 7/4/08, <b class="gmail_sendername">Marcel (Felix) Giannelia</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>I&#39;m trying to use the Layout directive and it just plain doesn&#39;t do<br>anything. It works fine if I use LayoutFooter and LayoutHeader, but I<br>
want to use Layout to insert some ad code after a specific tag.<br><br>I&#39;ve so far been unable to find any documentation other than the really<br>old stuff here: <a href="http://docs.tangent.org/mod_layout/faq-3.html">http://docs.tangent.org/mod_layout/faq-3.html</a> , much of<br>
which is 404, and a mirror of the missing bits here:<br><a href="http://www.musc.edu/webserver/directives/">http://www.musc.edu/webserver/directives/</a> .<br><br>Actually, the best documentation I was able to find was the directives.h<br>
file, which at the very least gives me a slightly newer list of<br>directives (but is itself out of date -- it lists the apparently defunct<br>LayoutMerge for example).<br><br>I&#39;m also confused about how to specify a pattern -- the tag I want to<br>
match on my pages is &lt;td class=&quot;center&quot;&gt;, which has a space in it, as<br>well as quotes. Do I put single quotes around the whole thing? Do I<br>backslash the quotes and the space? What kind of pattern syntax does<br>
mod_layout expect?<br><br>Anyway, that&#39;s a moot point, because even when I try much simpler<br>patterns (the string &quot;replaceme&quot;), the Layout directive has no effect<br>whatsoever. I tried compiling with DEBUG defined, but I can&#39;t figure out<br>
where those debug messages are supposed to be output -- and yes, I tried<br>running apache with loglevel debug; nothing.<br><br>The directive that I&#39;m trying to use is:<br><br>Layout &quot;replaceme&quot; &quot;test&quot; append<br>
<br>Help?<br><br>(Apache 2.2.4, then tried upgrading to 2.2.8)<br><br>~Felix.<br><br><br>_______________________________________________<br>Mod_layout mailing list<br><a href="mailto:[email protected]">[email protected]</a><br>
<a href="http://lists.tangent.org/mailman/listinfo/mod_layout">http://lists.tangent.org/mailman/listinfo/mod_layout</a><br></blockquote></div><br><br clear="all"><br>-- <br>Sincerely,<br>Ben Burgess<br><a href="mailto:[email protected]">[email protected]</a> &gt; 707.225.2872 (mobile) 

------=_Part_10551_13467463.1215201356287--

--===============5423294299905645000==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mod_layout mailing list
[email protected]
http://lists.tangent.org/mailman/listinfo/mod_layout

--===============5423294299905645000==--