• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Spacer between departments

Spacer between departments 14 years 7 months ago #8574

I have a lot of departments on my RStickets so, as the title suggests, is it possible to add a spacer between departments?

Thanks
The administrator has disabled public write access.

Re:Spacer between departments 14 years 7 months ago #8634

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

You can achieve this by going to components/com_rstickets/page/ and edit the file add_ticket.php . Now you will have to replace this code line:
echo '<option '.(isset($_POST['DepartmentId']) && $_POST['DepartmentId'] == $department['DepartmentId'] ? 'selected="selected"' : (isset($_GET['departmentId']) && $_GET['departmentId'] == $department['DepartmentId'] ? 'selected="selected"' : '')).' value="'.$department['DepartmentId'].'">'.$department['DepartmentName'].'</option>';

with this one:
echo '<option '.(isset($_POST['DepartmentId']) && $_POST['DepartmentId'] == $department['DepartmentId'] ? 'selected="selected"' : (isset($_GET['departmentId']) && $_GET['departmentId'] == $department['DepartmentId'] ? 'selected="selected"' : '')).' value="'.$department['DepartmentId'].'">'.$department['DepartmentName'].'</option>'.'<option disabled="disabled">--------------------</option>';
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
Last Edit: 14 years 7 months ago by alexp.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!