Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
RoBsTaMaCk #1
Parsing CF Code Inside A Variable
As far as I know this 'should' be possible. Here's the situation:
I have a website where lengthy HTML formatted descriptions are stored in a
database. When a user accesses an item, the description is pulled up and
displayed on the screen. What I want to do is embed coldfusion code in the
description (specifically a <cfinclude> statement with special navigation
links) however if I do that the <cfinclude> tag gets treated like plain text
and Coldfusion never parses the <cfinclude> tagand adds the navigation links.
Is there anyway to make Coldfusion treat the description as if it were code on
the page that needed to be parsed?
RoBsTaMaCk Guest
-
#39601 [NEW]: $GLOBALS superglobal and ${ {$ string variable parsing inconsistencies
From: jkloske at itee dot uq dot edu dot au Operating system: Centos PHP version: 4.4.4 PHP Bug Type: Strings related Bug... -
parsing php inside javascript
<script language = "javascript"> foto1 = new Image; foto1.src = "../img_models/" + <?php echo $idm_1.jpg ?> ; it doesn't work, because of the... -
Parsing XML Data to variable
I've been struggling with this for the past 2 days and have tried various solutions. I need to parse the following XML file and extract the data... -
Fitting the asp code in a page inside the asp code in a template
I'm adding code in a template which connects to the only database and also closes the connection. Every page in the site uses the template and... -
PARSING STEPS AND BIND VARIABLE : HELP, THOMAS, PLEASE !
Thomas, You always repeat that the parsing steps and the use of bind variables are the most importants things to understand for developpers. I... -
Stressed_Simon #2
Re: Parsing CF Code Inside A Variable
You cannot do that. I know it is annoying, but if you think about how much
havok I could cause by adding cfcode in a form post on your site then, you it
makes sense. You are better off holding all your page data in a .cfm file and
then recording that location in your database and then just cfinclude it!
Stressed_Simon Guest



Reply With Quote

