joomla1.5 - Joomla 1.5.23: Sitewide Component - runs on all instances -
i have project need able show html item on page depending on domain is.
what want able call component site wide (front end) hooking in on every page load.
sounds little complicated need run
essentially have 2 domains both linking same install of joomla. when user visits domain x don't want see particular on lay, when user visits domain y want component kick in, put in html , insert parameter url.
just test server name against juri::base(false) , set new var jrequest::setvar('newparam','newvalue'); need var? may not available depending on set it: i.e. if set in module won't available component
Comments
Post a Comment