| Tuesday 09 March 2010 5:21:37 am 
                                                                
                                                                 Hi there :) 
I want to make relations between objects with their node ids.For instance, I need to make a relation between a product, and its similar products (manually).
 All my products are listed in a "Products" folder, those products may be multi published anywhere in other sections.
 I tought I'd use the common objectrelationlist, but when retriving the list, the node I get is the main_node, ie. not the node I made a relation with. So I tried to modify the relation action, as I think this could be the trick. This is my content.ini : 
[ObjectRelationDataTypeSettings]ClassAttributeStartNode[]=562;test
 And my browse.ini : 
[test]StartNode=content
 SelectionType=multiple
 ReturnType=NodeID
 But it's not working anymore, my relation is always empty as I get the following error : Undefined post variable: SelectedObjectIDArray 
If I set ReturnType=ObjectID, the common behavior of objectrelationlist is working fine again.Can anyone tell me how I could achieve this "node relation" ?
 Any clue would be greatly appreciated :)
 Many thanks in advance ! |