Support

Akeeba Ticket System

#41166 ats configuration and features

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.4.8
PHP version
8.2
Akeeba Ticket System version
5.3.8

Latest post by sakis on Tuesday, 01 October 2024 09:08 CDT

sakis

Hi

I have some questions and requests which i am not sure if they can be achieved by configuration or they need customization.

1. Is it possible to omit the "Select Category" drop-down within the ticket view?
In the past when you were opening a ticket from within a category, that drop-down was not there. Screenshot_before, screenshot _now

2. When i select an item from the Smart Search results (Instant Search), the loaded page in the iframe includes my menus and modules (misses the tmpl=component var from the url query).
You can see that in my 2nd screenshot (above).
I also see the same effect here in your site. Is there a way to fix that? Or is there a way to modify that to load the result in a modal  window when selected?

3. There was a feature that allowed the user to provide feedback by voting the received support, when he/she closed the ticket.
That feature was very helpful for us, to figure out the quality of our support service.
Do you know where i can find that?

4. Is there a way to disable ajax in ticket submissions?
I find no use for ajax here.

Kind regards,
Sakis

 

nicholas
Akeeba Staff
Manager

1) In ATS 4 we were using our own custom fields. The downside is that we only ever supported a very limited number of field types and it was kind of a kludge. This feature was implemented back in the Joomla! 2.5 days, years before Joomla introduced Fields in version 3.7. It was both limited, and hard to maintain.

In ATS 5 we are using Joomla's Fields. There are plenty more field types, and you can install third party field plugins for even more field types than we could ever think of.

However, Joomla's Fields helper is very inflexible. It needs a form field for the category. The Fields helper reads it to find out which category is being used, and load the appropriate Fields into the form. As you know, Fields are tied to categories.

This is also why changing the category reloads the page, like you see in core content types since Joomla! 3.7: the Fields helper is a piece of PHP which has to re-run to reload the correct Fields for the newly selected category, and this can only realistically happen by reloading the page.

2) This is Joomla, not ATS.

Smart Search will index the canonical URL of the content and display that in the frame. There is no way to index a different URL for the frame and another one for direct navigation. I recommend replacing Smart Search with a custom search in DuckDuckGo (like we do) or Google.

Also note that Smart Search cannot index private tickets. This is a limitation of the Smart Search architecture. Its access control is based entirely on view levels. All private tickets for a given category belong to the same view level, but are only meant to be visible to their respective creator and the category's support staff. This is an access model which cannot be implemented in Smart Search. To avoid information leak we have to simply not index private tickets at all.

3) It was removed without a replacement in ATS 5.

4) AJAX ticket submission was removed in ATS 5. What we have instead is a whole page overlay while the HTTP POST is handled by the server.

If you really want to remove it you can do a template override for com_ats/ticket/default_spinner.php, removing the entire div#ats-onsubmit-overlay. The JavaScript in  media/com_ats/js/TicketsFrontend.min.js will see the element is missing and won't throw any errors.

Please note that by doing so there is nothing preventing an user from double-clicking the submit button, or an impatient user from clicking the submit button multiple times. Each time the button is pressed a new ticket / reply will be created. The whole reason the overlay exists is to prevent these erroneous submissions. There's really no other way to do it reliably.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sakis

Hi

Thanks for the update.

In #1 i am talking about the "Ticket Category" drop-down, please see my screenshots.
I do not have any custom fields setup, so far.
Also i only have 1 ticket category atm, so this is a bit redundant.

Is there a way to remove that drop-down and use the ticket category we are in. Possibly using some hidden input?

Kind regards,

nicholas
Akeeba Staff
Manager

I am talking about the same thing. The reason this field exists in the form is that we support custom Fields. In order for us to support custom Fields at all -- regardless of whether you want to use them or not -- we MUST include the Category field in the form. Remember that the form is a static XML file which cannot be overridden in a template override. You can of course use CSS to hide it.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sakis

Thanks. I ll see how i will deal with it.

Sakis

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!