Well, I've had a chance to play around with this a bit and I'm having trouble putting your code into the template file.
When I put: <ad what="fid$foruminfo['forumid']" />
anywhere into the "forumdisplay" template I get an error message when I try to save it. The error basically says:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING
Am I right that the code you gave is supposed to go into whatever page you want the ads to show up on?
|