Re: Text_Wiki_Parse_Url and _blank
| From: | bertrand Gugger | Date: | Tue, 13 Jun 2006 10:36:15 +0000 |
| Subject: | Re: Text_Wiki_Parse_Url and _blank | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24335@lists.php.net to get a copy of this message | ||
Bonjour,
Laurent Humblet wrote:
Hi Bertrand, A quick question for you: The BBCode system in Text_Wiki has a [url] tag system to enter urls in the code. The thing is that the url that is entered is always opening in another window (_blank). I would like to make the system a bit more flexible by having an option in the [url] tag to choose to open the url in another window or not. I would like to get your point of view on the idea and maybe for you to point me onto the right direction to implement this.So far I know, it exists only a general rendering configuration to get *all* urls opening for example in the same window: $wiki->setRenderConf('xhtml', 'url', 'target', '_self'); That does not exist as option for a single url on the tag level. (by standard BBCode syntax neither). On a side note, because of current unavailability, I'm no more listed as a developper , please use the pear lists to ask your questions. You'll have better chances to get some answer , at least from the actual developpers. I keep in touch with them , they know how to find me if they think I can help to solve some case. Regards -- toggg