Forum OpenACS Development: Re: To associate 2 content_types
As one of other solutions, I've written the following chunks to acs_rels data model, plus I’ve added a few other glue codes along with item-add.tcl , photos-add and so on. All them within a new and customized page and package.
Is there any documentation/tutorial about how to use cr_items and revisions within custom packages?
From item_id to album_id
set album_id [relation::get_object_two -object_id_one $item_id -rel_type "ee_item_album_rel"]
set item_id [relation::get_object_one -object_id_two $album_id -rel_type "ee_item_album_rel"]
I wonder if there's a tutorial as in:
HOW TO USE OBJECTS? :
we could add this thread as a new topic within the documentation
There's an item already, called as: Relating content to other objects.
This thread could be:
Relating content to other content items