[ic] How to not parse a section of a page
Ton Verhagen
tverhagen at alamerce.nl
Fri Feb 27 17:22:44 UTC 2009
Quoting David Christensen wrote:
> Ton,
>
>> I am wondering if there would be an easy way to have html code
>> similar
>> as below on a page and leave it untouched by Interchange so the [if
>> IE
>> xx] etc won't get interpolated.
>>
>>
>> <!--[if IE 6]>
>> <style type="text/css">@import url(path/to/style/ie6.css);</style>
>> <![endif]-->
>>
>> <!--[if IE 7]>
>> <style type="text/css">@import url(path/to/style/ie7.css);</style>
>> <![endif]-->
>
> What I've done before for this issue is to do something like:
>
> [tmpn ie_conditional_output]
> <!--[if IE 6]>
> <style type="text/css">@import url(path/to/style/ie6.css);</style>
> <![endif]-->
> [/tmpn]
> [scratch ie_conditional_output]
That would probably work...
I adopted Mike's solution:
[strip reparse=0]
...
[/strip]
Thank you David.
Best
Ton
More information about the interchange-users
mailing list