I've got another problem. I wished to improve my module by adding a new select button but I haven't expected the following beahviour : each button are working well, they provide the select interface I have chosen, but when used sequencially, I cannot dissociate it.
In my module :
$browse_result_1 = eZContentBrowse::result("select1");
$browse_result_2 = eZContentBrowse::result("select2");
eZDebug::writeDebug($browse_result_1);
eZDebug::writeDebug($browse_result_2);
if (isset($browse_result_1[0]) and $browse_result_1 != '')
{
$selected_node_1 = $browse_result_1[0];
}
if (isset($browse_result_2[0]) and $browse_result_2 != '')
{
$selected_node_2 = $browse_result_2[0];
}
if ($http->hasVariable('Select1'))
{
eZContentBrowse::browse( array( 'action_name' => 'Select1', 'from_page' => 'module/function'), $module );
}
else if ($http->hasVariable('Select2') and $selected_node_1!=0)
{
eZContentBrowse::browse( array( 'action_name' => 'Select2', 'from_page' => 'module/function/'.$selected_node_1), $module );
}