Forum OpenACS Q&A: Include functioning

Collapse
Posted by Bob Powell on
Your suggestion to rename the file with an .adp extension and putting &<include src="eraseme.adp"&> worked, kind of.

Result was it did pull in the text from the include but it looked like  "& This is the included text" without the quotes.

Two questions here.  Why did that work using the ampersand, and how do I get rid of the ampersand that prints?

Collapse
2: Re: Include functioning (response to 1)
Posted by Cathy Sarisky on
Hi Bob,

Looks like Don's message got improperly coded.  That code: &lt; is all a < sign.  So you don't need the ampersands in your code anywhere.  Take them out and you should be fine.