Forum OpenACS Q&A: Comments on static pages

Collapse
Posted by Nigel Ball on
I confess to being a newbie to OpenACS and after reading the greater
part of the documentation I have been unable to set up comments on
static pages. I am using v3.2.5 and have set up a static html
section which is accessible as expected. The pages have all been
sync'd with the database and appear in the list of pages in the
site. They appear to have been indexed as they still appear in the
list of all pages with unindexed pages suppressed. Each page details
includes the allow comments flag set to "t"rue.

However:

1 The static pages admin page says the site includes 197 pages with
197 to be indexed.

2 The static pages present as they are in html ie there is no "add
comment" facility.

Can anyone tell me where I might have gone wrong?

Many thanks.

Collapse
Posted by Don Baccus on
You have to synch the database with the static files, if you haven't (there's a link on the static pages admin page to do this).  You also have to set up the configuration file properly.
Collapse
Posted by Henry Minsky on
I remember someone mentioning once that the code which
parses HTML for adding comments looks for < HTML > and < Body> tags
or something. I ahven't looked at the source code, but you might
check if something is looking for some cues in the HTML
files that it is not finding.
Collapse
Posted by Andrei Popov on
How do I re-sync the database, i.e. how do I force it to re-read the content that was registered into the database?