| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Detect IE ... Can't seem to get this to work... | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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:
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:
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:
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
__________________
4.13 |
|||||||
|
#2
|
|||||||
|
|||||||
|
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
__________________
4.13 |
|||||||
|
#3
|
|||||||||
|
|||||||||
|
have you tried the smarty forum, may get more smarty specific help there
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
|
#4
|
|||||||
|
|||||||
|
I'll give that a wack.
Should I actually get something working I 'll be sure to post the solution. -Ripbud
__________________
4.13 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||