• 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: Automatically showing a department's form

Automatically showing a department's form 14 years 9 months ago #7975

  • waltea
  • waltea's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
Hello

I am wondering if this is possible:

Each of my departments have their own page and customised support form.

I would like users to be able to go to the page and click on a support button and have it take them to the department's customised form rather than showing the default form with a drop-down list of all the departments (I have a lot of departments).

Can RS Tickets detect the page id and use it to show the correct form?

Is there some way to pass the department's id in the link?

Thanks.

Andrew
Last Edit: 14 years 9 months ago by waltea.
The administrator has disabled public write access.

Re:Automatically showing a department's form 14 years 9 months ago #8152

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

Indeed this can be done, however on it's current state... this rather tricky to achieve and will require a lot of custom work to be done.
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Automatically showing a department's form 14 years 9 months ago #8156

  • octavian
  • octavian's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 783
  • Thank you received: 110
Actually, I don't think my colleague Alex understood that you were looking for something that would automatically select the desired department. RSTickets! already has this - all you need to do is add &departmentId=1 to the link, where "1" would be the id of the desired department. So, for example, on our website, you can reach the Licensing department with this link:

www.rsjoomla.com/customer-support/ticket...icket&departmentId=2

notice &departmentId=2 at the end. Licensing has id=2 and it's automatically selected, without having the user to choose a department. The list of departments however still shows up.

I hope this helps :)
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Re:Automatically showing a department's form 14 years 1 month ago #10134

  • jennix
  • jennix's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
I've got the link to the right department part working, but is there a simple way to hide the dropdown on the form view? Can I make it hidden?
The administrator has disabled public write access.

Re:Automatically showing a department's form 14 years 1 month ago #10136

  • bogdanc
  • bogdanc's Avatar
  • OFFLINE
  • Moderator
  • Posts: 669
  • Thank you received: 11
Hello,

In order to achieve this you can try going to "components" > "com_rstickets" > "page" and edit the file add_ticket.php. Here, around line 75 you should find the following code lines:
<td><?php echo LBL_DEPARTMENT; ?></td>
<td><div id="DepartmentIdDiv">

simply change the code lines above to:
<td style="display:none;"><?php echo LBL_DEPARTMENT; ?></td>
<td style="display:none;"><div id="DepartmentIdDiv">
The administrator has disabled public write access.

Re:Automatically showing a department's form 13 years 9 months ago #11037

  • amohamm
  • amohamm's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi, How can i accomplish the same thing in RS Ticket Pro. The URL looks totally different. My department ID is 1 and here is the URL i get :S

www.essayalliance.com/index.php?option=c...ew=submit&Itemid=134

Please help.
The administrator has disabled public write access.

Re:Automatically showing a department's form 13 years 9 months ago #11057

hiii


I would like users to be able to go to the page and click on a support button and have it take them to the department's customised form rather than showing the default form with a drop-down list of all the departments (I have a lot of departments).

_______________________
Want to get-on Google's first page and loads of traffic to your website? Hire a SEO Specialist from Ocean Groups  seo pecialist
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!