Rewriting all links
| From: | Eric Mueller | Date: | Wed, 03 Jul 2002 21:01:59 +0000 |
| Subject: | Rewriting all links | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5186@lists.php.net to get a copy of this message | ||
Hi - all the pages on my site are generated with Smarty, and I'd like to
rewrite all links on each page before it is displayed (to add a simple
Javascript 'onmouseover' to each <a> tag). Seems like the best way to go
about this would be to write an Output Filter that did the replace with
regular expressions before sending the page on. Do that seem right to
y'all?
best
Eric