ahmed1136 Posted January 18, 2014 Share Posted January 18, 2014 (edited) Hey i need this call in my tpl how i can do that ? <?php$sell="http://www.site.com/sellitems.html";if(!$urlZ=$sell ){ echo $this->_tpl_vars['myobj']->getTpl('general','header.tpl');}else{echo $this->_tpl_vars['myobj']->getTpl('general','header1.tpl');} ?> its read the url from the address bar then its pass the value any one write proper code for me for tpl that work , i will very gratefull to you , server code unable to write here i am upload the full code image here : http://postimg.org/image/i7ky73pqv/ waiting for the reply , Regards Edited January 18, 2014 by ahmed1136 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts