Template Help Needed: How do I add Browser Conditional Codes Correctly?
rvalen1
Joined: 2007-10-19
Posts: 3 |
Posted: Wed, 2009-11-18 02:26 | |||
I am helping a friend add Gallery2 to her current website since she moved to a new hosting provider. The URL of the site is www.kayadance.com Gallery version: 2.3 I basically copied my header code of the original site into the theme.tpl file. My issue is: I had the following conditional codes on my html but when I add it to the theme.tpl, the gallery doesn't load at all. As you can see I placed comments on it below since I had to comment it out on my original theme.tpl file. {* <!--[if lte IE 6]> However when I place the code above, the site just loads a white screen. Can someone help me and tell me how this should be added to code correctly??
|
||||
Posts: 27300
So the above code is commented out?
You could try:
http://www.smarty.net/manual/en/language.function.literal.php
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
Thanks. It looks like that fixed it since the pages are loading faster now and not giving me errors.