- Moderated by:
- Support Team
-
- rank:
-
Helper
- registered:
- December 2003
- Status:
- offline
- last visit:
- 18.11.08
- Posts:
- 241
Is there any place where I can get a manual on how to use the Sniffer module. I understand it gives templated output of Browser Detection as in the Admin panel.
I want to do certain things in my template (e.g. iframe tag for IE, object tag for all others), and apparently Sniffer can help me.
searched look and far...have yet to see documentation or implementation examples etc.
thanks
supa
--
ttgapers.com -
- rank:
-
Helper
- registered:
- December 2003
- Status:
- offline
- last visit:
- 18.11.08
- Posts:
- 241
daddysupa
Is there any place where I can get a manual on how to use the Sniffer module. I understand it gives templated output of Browser Detection as in the Admin panel.
I want to do certain things in my template (e.g. iframe tag for IE, object tag for all others), and apparently Sniffer can help me.
searched look and far...have yet to see documentation or implementation examples etc.
thanks
supa
no one knows how to use Sniffer module or knows where to find documentation on how to use it?
supa
--
ttgapers.com -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 23.11.08
- Posts:
- 13415
You can probably call the sniffer API from your template to get the brower. I don't use the sniffer module so can't be specific.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Steering Committee
- registered:
- January 2003
- Status:
- offline
- last visit:
- 12.11.08
- Posts:
- 848
Have a look at modules/Sniffer/pnblocks/sniffer.php to learn more about it.
Basically its not more than
Code
$browserinfo = pnModAPIFunc('Sniffer', 'user', 'get');
to get all information into the $browserinfo array.
Frank
--
"He is not dangerous, he just wants to play...." -
- rank:
-
Helper
- registered:
- December 2003
- Status:
- offline
- last visit:
- 18.11.08
- Posts:
- 241
