Forum OpenACS Q&A: I know this is simple, but I'm flumoxed --
html head title @title@ /title LINK href="/mobetta.css" type=text/css rel=StyleSheet /head body @header_stuff@ multiple name=attribute @attribute.key@="@attribute.value@" /multiple slave hr address a href="mailto:@signatory@" @signatory@ /a /address @ds_link@ br div align="center" © pcs-sc.com, all rights reserved! Please e- mail for permission to reprint or use in any way. /div /body /html*Brackets removed to display code...
All of my templated pages are now printing "bgcolor="white" text="black" " at the top. I know these are set in the default- master.tcl, but everything was working fine until one of my edits an hour ago. Now I'm afraid to muck around too much in fear I'll mess it up even more.
Maybe someone could forward a copy of the default-master adp and tcl file for comparison.
Thanks for the quick response, but if you'll notice above, the multiple name=attribute @attribute.key@="@attribute.value@" /multiple line does come after the body tag and not before it. That is one of the reasons I'm perplexed. I know this is an easy fix, obviously I did something without thinking and broke it...
The original goes like this:
body multiple firstname.lastname@example.org@="@attribute.value@"/multiple
The significant differences are that @header_stuff@ is within the HEAD block, and the multiple is within the BODY tag. I'm not sure which is causing your problem but they both look significant to me.
It should be <body @header_stuff@ multiple name=attribute @attribute.key@="@attribute.value@" /multiple >
If it is like that then I am sorry, but you really need to post with the < and >
LINK href="/mobetta.css" type=text/css rel=StyleSheet (brackets)
<b>Bold items have no brackets...</b>
My error was including this tag <multiple name=attribute> rather than <multiple> then the rest of the line. The @header_stuff@ actually goes after the <body> tag, if I put before the body tag there was no change to my error. Once I fixed the <multiple> tag the errant text disappeared, and I guess is now actually applied to the page.
Thanks again for the help, you got me thinking instead of staring at tags...