Just a quick follow-up:<br><br>including include.php in config.php and adding<br><br>$HandleActions[&#39;inc&#39;] = &#39;HandleInclude&#39;;<br>function HandleInclude($pagename) { // content }<br><br>works like I want it to work :-)
<br>Thanks a lot all!<br><br><br><div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">Wouter Groeneveld</b> &lt;<a href="mailto:jefklak@gmail.com">jefklak@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dave: exactly, I want this feature because of the Ajax include in div tags. <br>J. Meijer: that sounds like way too much trouble just to get raw output, instead of through the template file. Isn&#39;t it just possible to do something with HandleActions in my current wiki installation? For instance just defining another action, instead of &quot;browse&quot; something like &quot;include&quot;? I first thought the &quot;print&quot; would be enough but it also generates a lot of headers and styles.
<br><br>If that is possible, how exactly do you bind an action to a function?<br>Hmm, I&#39;ll have to look this up, thanks.<br><br>Anyone with an easier method or way to do it, like my include.php script file?<br>Thanks!
<br><span class="sg"><br>- Wouter</span><div><span class="e" id="q_110270f41c1236bd_2"><br><br><br><div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">J. Meijer</b> &lt;<a href="mailto:commentgg@hotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
commentgg@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div><div style="text-align: left;"><br></div>It seems to me that the way to go about would be to install a second wiki that reads from your current wiki.d. In the config.php you have to override $HandleActions, notable $HandleActions[&#39;browse&#39;] with a function of your own making which returns the correct output. 
<br><br>Then make a recipy of it (I remember wanted this once too). <br><br>Actually this was my first response ;-)<br><span><br>/jm</span><span><br><br><br>Wouter Groeneveld wrote:<br>&gt; I already tried that, but the HTML Header is required there...
<br>&gt; This one: &lt;!--HeaderText--&gt;<br>&gt;<br>&gt; And besides that, I also want to use the <span name="st">IncludeText</span> arguments to only<br>&gt; include #from#to like<br>&gt; (:include Group/Page#from#to:) but I&#39;d like this output when I go to
<br>&gt;<br>&gt; <a href="http://www.bla.com/wiki/include.php" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.bla.com/wiki/include.php</a><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

?grp=Group&amp;art=Page<br>&gt; &lt;<a href="http://www.bla.com/wiki" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.bla.com/wiki</a>/include.php?grp=Group&amp;art=Page&gt;<br>&gt;<br>&gt; so 
include.php is something like<br>&gt;<br>&gt; require_once(&#39;pmwiki.php&#39;);<br>&gt;<br>&gt; if(isset($_REQUEST[&#39;grp&#39;]) &amp;&amp; isset($_REQUEST[&#39;art&#39;])) {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; $group = $_REQUEST[&#39;grp&#39;];
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; $art = $_REQUEST[&#39;art&#39;];<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;$grp/$art viewing...&lt;br&gt;&quot;;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;// <span name="st">IncludeText</span> call<br>&gt; }<br>&gt;<br>&gt; But that instead renders my wiki, and I don&#39;t want that to happen...
<br>&gt; Thanks for any help!<br>&gt;<br>&gt;<br>&gt; - Wouter / Jefklak<br>&gt;</blockquote><br><br></span><blockquote style="border-left: 2px solid rgb(0, 128, 128); padding-left: 5px; margin-left: 5px; margin-right: 0px;">

<hr><span><div style="text-align: left;">On 1/15/07, <b>Wouter Groeneveld</b> &lt;<a href="mailto:jefklak@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jefklak@gmail.com</a>&gt; wrote:
<div><span></span><blockquote style="padding-left: 1ex;">I
would like to use <span name="st">IncludeText</span>() so I can access the text in my wiki
pages, but I do _NOT_ want to generate the whole skin and page. <br>So
when I include(&quot;pmwiki.php&quot;) &gt; this automatically generates my wiki.
I don&#39;t want that, I only want to display the <span name="st">includeText</span>() output.
<br><br>Is there any possibility to tell pmwiki not do do anything? I only want to be able to use the function <span name="st">includetext</span>()<br></blockquote></div><br>I think you might want to define a skin .tmpl file for this with just this content:
<br><br>$PageText<br><br>That should make pmwiki render the page as html and no more. <br><br>Grtn,<br><br>/jm<br><br></div><br></span></blockquote><span><br><hr>Get free, personalized online radio with MSN Radio powered by Pandora. 
<a href="http://radio.msn.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Try it!</a></span></div>

</blockquote></div><br>

</span></div></blockquote></div><br>