Support

Akeeba Ticket System

#41510 Single Support Category

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
5.2.2
PHP version
8.3
Akeeba Ticket System version
5.3.9

Latest post by nicholas on Thursday, 23 January 2025 08:43 CST

[email protected]

Hello, Nicholas.

To get started, I'm looking for perhaps the most basic implementation and set of user options possible on ATS, first and foremost that I wish to provide only a single support category.

Is there a way for ATS to function with only a single support category, bypassing the need for users to make a category selection?

I may need to simplify to an extent that's not out-of-the-box configurable, in which case I wonder if you or someone on your team might be available for hire to help with some custom configuration.

Thank you!

 

Regards,
Jonathan

nicholas
Akeeba Staff
Manager

There are plenty of ways to do that.

Option A. From the Category itself.

Create a menu item of type Akeeba Ticket System, Category (or Akeeba Ticket System, Categories).

This presents existing tickets in the category, along with a New Ticket button which creates a new ticket into that category; no selection necessary.

Option B. With a menu item.

You can create a menu item of type Akeeba Ticket System, New Ticket.

When you do that, there is a Category option in the Details tab. Click on Select next to it to select your (sole) category.

Using this menu item will always create a ticket in this category.

What you can and cannot do

You cannot completely remove the Category field from the ticket form. This is not a limitation of Akeeba Ticket System; it is a limitation of Joomla's Fields feature (a.k.a. custom fields). For them to display on the page there must be a Category field in the form so that Joomla! knows which fields to display. Here's the kicker. Joomla cannot know if there are any fields to display unless there is a Category field. Therefore, we cannot remove the Category field because the condition for removing it depends on the core Joomla Fields feature which depends on the Category field's presence. It's a chicken and egg problem.

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!

System Task
system
The ticket information has been edited by Jonathan Greenberg ([email protected]).

[email protected]

Thank you, Nicholas.

My intent is that users can create new tickets by clicking NEW TICKET from an ATS module in their user dashboard. However, that only seems to point to the New Ticket page, from which a Category selection is required, even if only a single Category exists, including when configuring as you suggest in your option B.

Is there a way to point right to the New Ticket page from the NEW TICKET module button with no Category selection required?

nicholas
Akeeba Staff
Manager

Yes. Use Option B described above. Every Joomla menu item, even in a menu category which does NOT have a corresponding menu module, creates a unique URL in Joomla. Therefore, you can do a template override for the ATS module to link to this specific URL instead of the generic New Ticket page.

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!

[email protected]

Great - I believe I understand.

The only weirdness I'm now having is that when I select my single Category as the New Ticket menu item Category option, the form now displays on, and the user is redirected to, the bottom of the Home page. I've tried disabling and re-enabling numerous manu items and options, but I can't seem to affect this.

nicholas
Akeeba Staff
Manager

Did you follow the documentation directions on how to create a hierarchy of menu items for ATS?

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!

[email protected]

Nicholas, yes, I followed the documentation. But I also neglected to follow your instructions above to "do a template override for the ATS module to link to this specific URL instead of the generic New Ticket page." Once I understood and implemented this step, my problem was solved.

Thank you again!

Regards,
Jonathan

 

nicholas
Akeeba Staff
Manager

Oops! That would do it :) I am glad it's all working now. Have a fantastic day!

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!

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!