1
Feng Office 3 / Re: How to delete user group?
« on: February 12, 2015, 06:04:15 pm »
I did some more "wild-n-crazy", I added a button so you can delete the group when you access it.
It's small patch in the file "FENG_ROOT/application/views/group/add.php line 21 (-isch)
Added these lines, and then when you manage the group you will have a delete button in the top
There will be an error telling you that the group is gone... but for me it is ok until Feng office has better solution
- Cheers
It's small patch in the file "FENG_ROOT/application/views/group/add.php line 21 (-isch)
Added these lines, and then when you manage the group you will have a delete button in the top
Quote
<?php
if (!$group->isNew()) add_page_action(lang('delete'), "javascript:if(confirm('".lang('confirm delete permanently', array_var($group_data, 'name'))."')) og.openLink('".get_url('group', 'delete', array('id' => $group->getId(),'start' => true))."');", 'ico-delete', null, null, TRUE);
?>
There will be an error telling you that the group is gone... but for me it is ok until Feng office has better solution
- Cheers