Using the Content Repository
Content Folders
- You can'd call content_folder__delete until the folder in empty of other items.
- When you create a new folder, it inherits the valid content_types of the parent_folder. If there is no parent folder, you will have to calll content_folder__register_content_type(folder_id,content_type,register_subtypes_p). Ususally you want to call it like this: content_folder__register_cotent_type(folder_id,'content_revision','t') which registers content_revision and all subtypes as valid for this folder.