Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
How to use Sniffer module
  • Posted: 06.10.2005, 09:08
     
    daddysupa
    rank:
    Helper 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 - the latest from the caribbean


    ttgapers.com
  • Posted: 09.10.2005, 18:38
     
    daddysupa
    rank:
    Helper 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 - the latest from the caribbean


    ttgapers.com
  • Posted: 10.10.2005, 00:18
     
    Simon
    rank:
    Steering Committee 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
  • Posted: 10.10.2005, 00:53
     
    Landseer
    rank:
    Steering Committee 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...."
  • Posted: 11.10.2005, 22:21
     
    daddysupa
    rank:
    Helper Helper
    registered:
     December 2003
    Status:
    offline
    last visit:
    18.11.08
    Posts:
    241
    i will have a look and see if i can figure it out...

    thanks for the pointer.

    supa

    --
    ttgapers.com - the latest from the caribbean


    ttgapers.com

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula