Thursday 23 October 2008 2:02:46 am
hello all, i have an file in which i have this code
{def $articles=fetch(content,list,hash(parent_node_id,2,
class_filter_type,include,
class_filter_array,array('myarticle')
)
)
}
<form method="post" action={'content/action'|ezurl()}>
<select name="choix">
<option >choise an object</option>
{foreach $articles as $child}
<option value="{$child.node_id}">{$child.name|wash()}</option>
{/foreach}{undef $articles}
</select>
</form>
i want to edit an node in the same template when an administrator or editor selected this object.
i don't know what can i do? i need some suggestion. thanks in advance.
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
Albert Einstein
|