The function user_messages_grid looks like this:
public static function user_messages_grid($auth, $args, $tabalias, $options, $path) {
// set default to show comment and verification notifications
$options = array_merge(array(
'id' => 'user-notifications',
'title' => 'user message notifications',
'sourceType' => 'C,V,S,VT,AC',
'allowReply' => true,
'allowEditRecord' => true,
), $options);
return self::messages_grid($auth, $args, $tabalias, $options, $path);
}
/*
* Use options @sourceType=S,V to show specific source types on the grid, the "S,V" in this example can be replaced with any source_type letter comma separated list.
* Removing the @sourceType option will display a filter drop-down that the user can select from.
*/
Dave Slade
Senior IT & Records Officer,
15 Talbot Road, Talbot Green, Pontyclun, CF72 8AD
www.sewbrec.org.uk, www.sewbrecord.org.uk