any idea on how to set {title} and {metadata} when (inside) Search module is active?
I've tried creating UDT and connecting it thru Events->SearchCompleted, doesn't work.
Code: Select all
global $gCms;
$smarty = &$gCms->GetSmarty();
$smarty->assign('metadata', '<meta name="description" content="my new description" />');