Index: openacs-4/packages/edit-this-page/www/doc/applications.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/www/doc/applications.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/edit-this-page/www/doc/applications.html 9 Jan 2003 21:13:33 -0000 1.2 +++ openacs-4/packages/edit-this-page/www/doc/applications.html 5 Aug 2003 02:27:13 -0000 1.3 @@ -17,14 +17,14 @@ The default application is defined by the ETP package at server startup time as follows:
etp::define_application default { index_template packages/editthispage/templates/article-index - index_content_type content_revision + index_content_type etp_page_revision index_object_name "subtopic" index_title_attr_name "Title" index_description_attr_name "Description" index_content_attr_name "Content" content_template packages/editthispage/templates/article-content - content_content_type content_revision + content_content_type etp_page_revision content_object_name "page" content_title_attr_name "Title" content_description_attr_name "Description" Index: openacs-4/packages/edit-this-page/www/doc/contenttypes.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/edit-this-page/www/doc/contenttypes.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/edit-this-page/www/doc/contenttypes.html 9 Jan 2003 21:13:33 -0000 1.2 +++ openacs-4/packages/edit-this-page/www/doc/contenttypes.html 5 Aug 2003 02:27:13 -0000 1.3 @@ -11,10 +11,13 @@ The content repository data model (a standard part of OpenACS 4) primarily keeps track of content items, each of which may have multiple content revisions. Thecontent_revision
object type refers to a row in thecr_revisions
table. Each revision contains the standard attributes of the pages you create with ETP, such as Title, Description, and Content. Additionally, the standardacs_object
attributes are stored for each revision, such as the creation date and creating user.-Referring back to the definition of the default ETP application, you'll notice that it specifies that the
content_revision
+Referring back to the definition of the default ETP application, you'll notice that it specifies that theetp_page_revision
content type is to be used for the index page and for all content pages. - This means that the page templates used by the default application may refer -to only the standard page attributes stored in thecr_revisions
table. + etp_page_revision is a subtype of content_revision, but does not add + any additional attributes. It is just for easier integration + with the search package. The page templates used by the default application may refer +to only the standard page attributes stored in the +cr_revisions
table.Extended page attributes: why do we need them?
The standard page attributes, while providing all the basic functionality for a collaboratively