Wednesday 14 January 2004 6:11:42 am
Ok, I got a little further:
<select name="SetPlacementNodeIDArray[]">
<option value="0">Please select a Region</option>
{section name=Folders loop=fetch( 'content', 'list', hash(
'parent_node_id', 53,
'class_filter_type', include,
'class_filter_array', array('folder') ) ) }
<option value="{$:item.node_id}">{$:item.name} node id {$:item.node_id}</option>
{/section} </select> lets me set the node ID to one of the subfolders inside the folder where I first create the new object. Unfortunately I get this message:
Location did not validate * No main node selected, please select one. I'm not 100% sure what the main node is hmmm Is it the node id for the new object? How do I input it? At the moment I'm using code borrowed from the how to build an ez publish site tutorial to define it:
<input type="hidden"
name="MainNodeID" value="{$main_node_id}" /> Is there another way I should be doing this? Thanks, ~James~
|