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

Dizkus

Bottom
adding to the cache id
  • Posted: 09.03.2007, 00:22
     
    trimble
    rank:
    Softmore Softmore
    registered:
     December 2004
    Status:
    offline
    last visit:
    19.07.08
    Posts:
    98
    Would it be possible (and how) to include a browser type and/or platform code as part of a cache id? I'd like to deliver different layouts depending on browser type or operating systems. The purpose of this is optimize my layouts for standards and non-standards compliant browsers, as well as providing very stripped-down layouts for mobile devices (smartphones, pocket pc, palm, etc.).

    --
    Regards,
    Mark
    _______________________
    LinuxMCE 0710
    Zikula 1.0.1
    Firefox 3.0.1
  • Posted: 09.03.2007, 21:33
     
    kaffeeringe.de
    rank:
    Professional Professional
    registered:
     September 2002
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    879
    Isn't that a question of different style sheets?

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the PostNuke Steering Committee
    Read The Zikulan's Blog
  • Posted: 09.03.2007, 21:44
     
    trimble
    rank:
    Softmore Softmore
    registered:
     December 2004
    Status:
    offline
    last visit:
    19.07.08
    Posts:
    98
    In some cases yes, but in some cases an entirely new layout is called for. Some effects that can be achieved with the latest CSS methods simply can't be replicated in older or non-standards compliant browsers (especially if one is trying to maintain strict XHTML compliance). In such cases it's nice to not have to limit a site to the lowest common denominator. Particularly in the case of layouts optimized for PDAs and smartphones, much can be gained in bandwidth requirements and general usability by reducing a site to its bare minimum (a great example of this is Google's normal page layout vs. its PDA optimized layout).


    --
    Regards,
    Mark
    _______________________
    LinuxMCE 0710
    Zikula 1.0.1
    Firefox 3.0.1

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula