Re: [pmwiki-users] PmWiki in AJAX

2009-02-11 Thread Etienne Convié
Hi, Great! This is exactly what I searched! Sorry for my late answer... a few days without coding ;-) Thank you very much. If I can ask something else, I would like ton know how to retrieve the result of the *.tmpl file in the same function that you gave me (below) in place of MarkupToHTML($p

Re: [pmwiki-users] PmWiki in AJAX

2009-02-09 Thread Petko Yotov
On Monday 09 February 2009 23:31:35 Etienne Convié wrote: > In config.php I added: > if ($action == 'ajax') include_once($FarmD.'/cookbook/etco_AJAX.php'); > > In 'etco_AJAX.php' (recipe in cookbook directory): > ob_start(); > HandleBrowse($pagename); > $content = ob_get_clean(); ... > In a simple-

Re: [pmwiki-users] PmWiki in AJAX

2009-02-09 Thread Hans
Monday, February 9, 2009, 10:31:35 PM, Etienne Convié wrote: > 1) in $content I do not have an html output... How can I do to have the > HTML translation of a $page['text']? > 2) I would like to not have exit(); at the end and to continue the > process of the page, but if I don't do that, I have

Re: [pmwiki-users] PmWiki in AJAX

2009-02-09 Thread Etienne Convié
Hi again, I found a piece of the solution of my problem. Maybe it would inspire someone to help me ;-) In config.php I added: if ($action == 'ajax') include_once($FarmD.'/cookbook/etco_AJAX.php'); In 'etco_AJAX.php' (recipe in cookbook directory): ob_start(); HandleBrowse($pagename); $content =

[pmwiki-users] PmWiki in AJAX

2009-02-09 Thread Etienne Convié
Hi, I'm new on the list, and I discover PmWiki. Sorry if my question is frequently asked. I'm also a french-user speaking so sorry for my english. Here is my problem. I would like to integrate PmWiki to my site (homemade with php, mysql,...) with AJAX requests. But I can't retrieve the i