Forum OpenACS Q&A: Response to Getting current News items on Home Page!

Collapse
Posted by Gilbert Price on
Here I am again, with Jerry's help I've got chunks starting in my defaultacs.tcl configuration file, now I'm trying to get chunks to display the infor in my index.adp page. I'm using the following for news and bboard:

News:

<%= [reiterate_through_chunk $db news "< a
href="$news_link">$title< /a> ($pretty_release_date) -
$title< br>
"] %>

Bboard

<%= [reiterate_through_chunk $db threads "< a
href="$msg_id">$one_line< /a>< br>$count recent messages
in< br>$category< br>
"]
My errors are:
[16/Sep/2001:17:02:51][2047.59398][-conn20-] Error: missing "
missing "
    while compiling
"ns_puts -nonewline  [reiterate_through_chunk $db news"
    invoked from within chunk: 0 of adp:
/var/lib/aolserver/servers/defaultacs/www/index2.adp
[16/Sep/2001:17:02:51][2047.59398][-conn20-] Error: missing "
missing "
    while compiling
"ns_puts -nonewline  [reiterate_through_chunk acs threads"
    invoked from within chunk: 1 of adp:
/var/lib/aolserver/servers/defaultacs/www/index2.adp

Thanks...