Re: Text_Wiki link targets?

From: Date: Wed, 14 Mar 2007 12:09:20 +0000
Subject: Re: Text_Wiki link targets?
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26857@lists.php.net to get a copy of this message
Thanks Bertrand! On 3/14/07, bertrand Gugger <toggg@php.net> wrote:
Try $wiki =& new Text_Wiki(...); $wiki->setRenderConf('Xhtml', 'Url', 'target', ''); this should remove any target attribute and this onclick popup, you should fall on the default target for <A> : "_self" see http://wiki.ciaweb.net/yawiki/index.php?area=Text_Wiki&page=MethodSetRenderConf http://wiki.ciaweb.net/yawiki/index.php?area=Text_Wiki&page=RuleUrl#toc2 In the last, this is a bit buggy as any non blank value will do the popup, why you have to set it to "". The code should be corrected as to not build it for "_self" ... I'll do that in the next once I'm set back lead in Text_Wiki.
I should have mentioned that I do use: $oTextWiki->setRenderConf('Xhtml', 'url', 'target', '_self'); to set the target to "_self", but my question was answered when you suggested setting the value to "". Therefore, this "fixes" the "problem": $oTextWiki->setRenderConf('Xhtml', 'url', 'target', ''); I asked because I didn't get that from the documentation. Merci!! /Jocke

« previous php.pear.general (#26857) next »