![]() |
Detect IE ... Can't seem to get this to work...
I'm trying to use a plugin I found for Smarty - but no matter what I do - I can't get it to work within an X-cart template:
Code:
<?php This is the plugin code which I placed into function.detect_ie.php into the smarty plugin directory... into the head template I placed: Code:
{ie_detect} No matter how I tweak the code I can never get the $ie to return true or false... I know the plugin is being called - because I hardcoded Just: Code:
$smarty->assign('ie', "Is this working?"); And of course I was able to print it out on the template... For some reason it's as though the $_SERVER["HTTP_USER_AGENT"] isn't functioning... Can anyone give me code for a working IE detector? Thank you so much! -Ripbud |
Okay this is a wacky forum
I've never been on a forum where people don't respond to some extent within a day - even if they don't have an answer...
Am I asking in the wrong place or ... ? Thanks -Ripbud |
have you tried the smarty forum, may get more smarty specific help there
|
Thanks.
I'll give that a wack.
Should I actually get something working I 'll be sure to post the solution. -Ripbud |
All times are GMT -8. The time now is 05:43 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.