Template change with browser detection?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
foolevil
Posts: 20
Joined: Wed 7. Oct 2009, 18:37

Template change with browser detection?

Post by foolevil »

I have site where I need to change templates when IE7/IE6 browser is detected.
Any idea?
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: Template change with browser detection?

Post by Heiko H. »

Hi,

you can have special CSS, JS, HTML, ... in your template like this.

Code: Select all

<!--[if lte IE 7]>
  IE specific code
<![endif]-->
lte means less than or equal :idea:

By the way, it has nothing to do with phpwcms-support :idea:

Good luck, Heiko...
Not longer here - sorry...

Haubner-IT GbR Dresden
Post Reply