Forum OpenACS Q&A: Response to acs-content-repository

Collapse
Posted by Jun Yamog on
Hi Sandhya,

The CR is part of the core and its a service package so there is no UI, you can not mount it.  The UI are CMS, File-Storage, ETP, etc., CMS currently use most of CR's capability and use the API properly.

To create a content type just use the API, content_type__create.  This will create the table, etc. for you.  You can also add attributes to this by API call, don't use direct table alter.  There are also 2 views that will be created.  This is for you to insert data on and select data.  Try to read more of the API of CR.

Oh yeah after creating your custom content type if you do plan to use cr_folders you must either register it on the Pages root folder or your own content folder.