I am trying to write an UDT which gets the smarty parsed content just before sending it to browser and replace some words with links. Something like this:
Code: Select all
global $gCms;
$pagecontent = str_replace('word','<a href="#">word</a>',$pagecontent);
Thank you for your help.
Sonya