gtbikerider
Technical User
Hi
I have a cf template to update all the pages in my site.
I enter the following code in the template (i've tried with the cfoutput in 3 different places to try and investigate the problem)
**********************************************
<cfoutput>#range#</cfoutput>
<div class="col3" style="padding-top:0px; background-image: url(../images/side_<cfoutput>#range#</cfoutput>.jpg); background-repeat:no-repeat;">
</div>
<cfoutput>
<div class="col3" style="padding-top:0px; background-image: url(../images/side_#range#.jpg); background-repeat:no-repeat;">
</div>
</cfoutput>
**********************************************
When I save the template the updated pages look like...
**********************************************
<cfoutput>#range#</cfoutput>
<div style="background-image: url(images/side_%3Ccfoutput%3E%23range#%3C/cfoutput%3E.jpg);>
</div>
<cfoutput>
<div style="background-image: url(images/side_%23range#.jpg);">
</div>
</cfoutput>
**********************************************
In other words DW converts the < into %3C and # into %23 which make the code not when when rendered by coldfusion. How can I tell the DW template not to change this code? Or any other suggestions?
--
John
I have a cf template to update all the pages in my site.
I enter the following code in the template (i've tried with the cfoutput in 3 different places to try and investigate the problem)
**********************************************
<cfoutput>#range#</cfoutput>
<div class="col3" style="padding-top:0px; background-image: url(../images/side_<cfoutput>#range#</cfoutput>.jpg); background-repeat:no-repeat;">
</div>
<cfoutput>
<div class="col3" style="padding-top:0px; background-image: url(../images/side_#range#.jpg); background-repeat:no-repeat;">
</div>
</cfoutput>
**********************************************
When I save the template the updated pages look like...
**********************************************
<cfoutput>#range#</cfoutput>
<div style="background-image: url(images/side_%3Ccfoutput%3E%23range#%3C/cfoutput%3E.jpg);>
</div>
<cfoutput>
<div style="background-image: url(images/side_%23range#.jpg);">
</div>
</cfoutput>
**********************************************
In other words DW converts the < into %3C and # into %23 which make the code not when when rendered by coldfusion. How can I tell the DW template not to change this code? Or any other suggestions?
--
John