How can I set one of the page arguments in my drupal menu item as an optional page argument?
I have
$items['activities_list/%/%']=array(
'title callback' => 'activities_list_title',
'title arguments' =>array(1),
'description' =>'All the Indicators divided by Coutry',
'page callback' => 'activities_list',
'access arguments' => array('access ppi'),
'page arguments' => array(1,2)
);
If I call activities_list/76 for example without a third argument I will receive a page not found error. How Can I set the Third parameter as an optional one?
Thanks!