Hi Nick
1. Need to edit the code. Right now, only users who has super admin permission can see all locations. Follow the instructions below and you can edit the code:
- Open the file components/com_eventbooking/views/event/view.html.php
- Find the function _displayForm
- Within that function, find the code below:
Code:
if ($user->authorise('core.admin', 'com_eventbooking'))
{
$sql = 'SELECT id, name FROM #__eb_locations WHERE published=1 ORDER BY name';
}
else
{
$sql = 'SELECT id, name FROM #__eb_locations WHERE published=1 AND user_id=' . $user->id . ' ORDER BY name ';
}
Simply change it to:
Code:
$sql = 'SELECT id, name FROM #__eb_locations WHERE published=1 ORDER BY name';
2. To change ordering of items, first you need to click on header of order column. After that, you can change ordering of the items
Regards,
Tuan