Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Thursday 01 March 2007 8:13:25 am - 3 replies
Claudia Kosny
Thursday 01 March 2007 8:26:55 am
Hi
As far as I know the node id does not exist before the folderContentObject is published. After publishing you can get it with
$folderContentObject->attribute('main_node_id');
Claudia
Ville Mattila
Thursday 01 March 2007 8:56:55 am
Thanks Claudia, this solution works fine!
A further question is that if I want to place an object to multiple locations, should I do anything else that just add a nodeAssignment for each location with proper parent_node property?
Ville
Thursday 01 March 2007 10:44:08 am
Hi Ville
As long as you add the node assignments before publishing and set 'is_main' to 0 for them, it should be ok.
You must be logged in to post messages in this topic!