![]() |
{if} statement to identify browser/platform?
Having a cross-browser issue with one of my clients, and need to throw in a padding value for Safari only. Anyone know what the {if} statement would be for this? Only reference I can find is this from button.tpl:
{if $style eq 'button' && ($config.Adaptives.platform ne 'MacPPC' || $config.Adaptives.browser ne 'NN')} |
You can try
{if $config.Adaptives.browser eq 'Safari'} |
I did...but then it shows on Firefox as well :(
|
Quote:
Now, that should not happen because the value in that variable if you are using Firefox IS 'Firefox'. |
Yea, that is what I thought too
|
I know this is obvious... but you did use eq and not ne... right?
|
8O
Whadaya think I'm some newb? :) |
:-k
|
All times are GMT -8. The time now is 09:39 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.