Page 1 of 1

Delete "ADD MORE ACTIONS"

Posted: 2015-02-13 08:56
by pasbonte
Good Morning
How to remove choices in the windows "_view.php" eg delete "ADD MORE ACTIONS"?
thank you

Re: Delete "ADD MORE ACTIONS"

Posted: 2015-02-15 13:29
by shasta59
Easy just look for the following in datalist.php

Code: Select all

/* if user is admin, add 'Change owner' action to 'More' menu */
			/* also, add help link for adding more actions */
			if($mi['admin']){
				$selected_records_more[] = array(
					'function' => 'mass_change_owner',
					'title' => $Translation['Change owner'],
					'icon' => 'user'
				);
				$selected_records_more[] = array(
					'function' => 'add_more_actions_link',
					'title' => $Translation['Add more actions'],
					'icon' => 'question-sign',
					'class' => 'text-info'
				);
			}
Modify the if statement to eliminate the second part where you see the 'add_more_actions_link'

It should then be gone.

Alan