Bocoka Posted August 9, 2010 Share Posted August 9, 2010 HiI would be interested if you can change themes on-the-fly, like on some other smarty based systems, with an url similar to:http://www.website.com/index.php?systpl=themenameA lot of my users use IE6, and my personalized theme is running very badly on it, and i would create a simple theme for them, but i need to change theme with IF IE6 or similar.TY Link to comment Share on other sites More sharing options...
rocky Posted August 10, 2010 Share Posted August 10, 2010 You can use code like the following to header.tpl in your theme's directory to add an IE6-specific CSS file that corrects problems in IE6 or simplifies the theme: <!--[if IE 6] <link rel="stylesheet" href="{$css_dir}global-ie6.css" type="text/css" /> [endif]--> Link to comment Share on other sites More sharing options...
Bocoka Posted August 10, 2010 Author Share Posted August 10, 2010 I knew that trick, but that changes only the CSS. Since i heavily modified my theme, i made a lot of changes to the TPL's also, and a lot of thoose do not work with IE6, that is why i need to change theme, and not a CSS only for IE6.TY Link to comment Share on other sites More sharing options...
kennyh Posted August 10, 2010 Share Posted August 10, 2010 http://www.prestashop.com/forums/viewthread/32470/modules_tiers/module_themeswitch__changer_de_theme_a_la_voleethat does exactly what you say you want Link to comment Share on other sites More sharing options...
Bocoka Posted August 17, 2010 Author Share Posted August 17, 2010 Yes, great. Thank you. Did not found it because it was french Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now