Answered
How to replace information on an include file?
Hi all - I have an application that allows the users to edit
the HTML for their custom headers and footers.
I am looking to give the users a list of predefined terms to include on their pages that gets replaced when the header is viewed on the application.
E.g. the user edits header.html and puts somewhere in there xxxADVANCED_SEARCHxxx in the position they would like their search box to be.
How can I include header.html into the web application in such a way that I can change the xxxADVANCED_SEARCHxxx into <cfinclude template="/advanced_search.cfm"> so that the actual search information is displayedin place of the xxxADVANCED_SEARCHxxx text?
I am looking to give the users a list of predefined terms to include on their pages that gets replaced when the header is viewed on the application.
E.g. the user edits header.html and puts somewhere in there xxxADVANCED_SEARCHxxx in the position they would like their search box to be.
How can I include header.html into the web application in such a way that I can change the xxxADVANCED_SEARCHxxx into <cfinclude template="/advanced_search.cfm"> so that the actual search information is displayedin place of the xxxADVANCED_SEARCHxxx text?
