[pmwiki-users] Using pmwiki's functions without building the wiki

J. Meijer commentgg at hotmail.com
Mon Jan 15 12:20:33 CST 2007


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['browse'] with a function of your own making which returns the correct output. Then make a recipy of it (I remember wanted this once too). Actually this was my first response ;-)/jmWouter Groeneveld wrote:> I already tried that, but the HTML Header is required there...> This one: <!--HeaderText-->>> And besides that, I also want to use the IncludeText arguments to only> include #from#to like> (:include Group/Page#from#to:) but I'd like this output when I go to>> www.bla.com/wiki/include.php?grp=Group&art=Page> <http://www.bla.com/wiki/include.php?grp=Group&art=Page>>> so include.php is something like>> require_once('pmwiki.php');>> if(isset($_REQUEST['grp']) && isset($_REQUEST['art'])) {>     $group = $_REQUEST['grp'];>     $art = $_REQUEST['art'];>>     echo "$grp/$art viewing...<br>";>    // IncludeText call> }>> But that instead renders my wiki, and I don't want that to happen...> Thanks for any help!>>> - Wouter / Jefklak>On 1/15/07, Wouter Groeneveld <jefklak at gmail.com> wrote:I
would like to use IncludeText() so I can access the text in my wiki
pages, but I do _NOT_ want to generate the whole skin and page. So
when I include("pmwiki.php") > this automatically generates my wiki.
I don't want that, I only want to display the includeText() output.
Is there any possibility to tell pmwiki not do do anything? I only want to be able to use the function includetext()I think you might want to define a skin .tmpl file for this with just this content:$PageTextThat should make pmwiki render the page as html and no more. Grtn,/jm
_________________________________________________________________
Type your favorite song.  Get a customized station.  Try MSN Radio powered by Pandora.
http://radio.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070115/6398dd23/attachment.html 


More information about the pmwiki-users mailing list