Hm, now I of course have trouble with IncludeText() itself.<br>IncludeText generates me something like for instance<br><br>!!! this is a header<br>''hello'' bla bla\\<br>text<br><br>which is in ExampleGroup/ExampleArticle. But I'd like pmwiki to "render" this piece, as it normally does when I do something like return IncludeText(...); Is there a function I need to call in the action to do something with it?
<br><br>- Wouter<br><br><div><span class="gmail_quote">On 1/15/07, <b class="gmail_sendername">Patrick R. Michaud</b> <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, Jan 15, 2007 at 05:50:57PM +0100, Wouter Groeneveld wrote:<br>> I would like to use IncludeText() so I can access the text in my wiki<br>> pages, but I do _NOT_ want to generate the whole skin and page.
<br>> So when I include("pmwiki.php") > this automatically generates my wiki. I<br>> don't want that, I only want to display the includeText() output.<br>><br>> Is there any possibility to tell pmwiki not do do anything? I only want to
<br>> be able to use the function includetext()<br><br>For 2.2.0-beta22 I'm adding an $EnableActions configuration variable;<br>if set, then PmWiki will do all of its initialization and other work,<br>but won't call any $HandleActions routines.
<br><br>Then you can do the following:<br><br> $EnableActions = 0;<br> include('pmwiki.php');<br><br>This will initialize PmWiki (along with any configuration/customizations<br>that are being made, e.g. from local/config.php), but won't actually
<br>perform any actions. The caller can then call the desired action<br>or other functions as desired.<br><br>Would that work for your needs?<br><br>Pm<br></blockquote></div><br>