Capabilities-based Browser Switching

Bessie - January 23, 2009 - 07:49
Project:Switchtheme
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

It's tough to use the (incredibly long) browscap list, because I have no idea what are the capabilities of each browser. What I need is a simple way to say:

  • If you can do proper CSS positioning without error, use this (tableless) theme
  • else if you can do tables, use that (table-based) theme.

Any chance of making the theme switchable based on browser capabilities, rather than specific browser?

#1

dleeward - January 23, 2009 - 12:09

How about expanding on that for browsers set with less than a certain screen width and whether it supports flash or not.

#2

sun - August 10, 2009 - 23:27
Status:active» postponed (maintainer needs more info)

All of the given use-cases/reasonings are error-prone, because there are much saner approaches to do conditional styling/rendering than to entirely switch to another theme.

 
 

Drupal is a registered trademark of Dries Buytaert.