[horde] Re: Problem with Text_Wiki?
Paul Wagland
paul at kungfoocoder.org
Tue Jun 8 15:17:59 PDT 2004
Some good news!
On Wed, 9 Jun 2004 00:11:49 +0200, Paul Wagland
<paul at kungfoocoder.org> wrote:
> On Tue, 8 Jun 2004 16:27:17 -0500, Paul M Jones <pmjones at ciaweb.net> wrote:
>
>> Most of the useful configuration bits have moved to
>> Text_Wiki::setRenderConf(). Does that help?
>
> Possibly... knowing more about PHP would probably also help ;-)
>
> I have the following lines in Page.php:
>
> require_once 'Text/Wiki.php';
> $this->_proc = &new Text_Wiki($rules);
> $this->_proc->setRenderConf('Xhtml', 'Freelink', array(
Changing this to:
$this->_proc->setRenderConf('Xhtml', 'Wikilink', array(
fixed my immediate problem! I will send through my work in progress so that
someone else can play with it... I am going to bed now :-)
> 'pages' => &$pages,
> 'view_url' => $view_url,
> 'new_url' => Util::addParameter($view_url,
> 'autocreate',
> 1),
> 'new_text' => Horde::img('question.gif')
> ));
>
>
> But, they do not change the output links at all... I figure, once I can
> get the
> first configuration change made the others should be easier :-)
>
> Cheers,
> Paul
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
More information about the horde
mailing list