Support

Akeeba Ticket System

#37082 How to Hide warring on a ticket and change Editor field

Posted in ‘Akeeba Ticket System’
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
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

alexmartin

1) Please see attachment - on the ticket view, i have a warning on the yellow background that wharns that tthe ticket is a Public.

I have tryed to change this option and i was not able to. All my tickets are priove and iamn not planning to use any tickets as public.

-

1) - where i can turn off this Warning?

2) - were i can set all tickets in this system as private?

3) There is a text field on each ticket  - and when a user Create new Ticket  - this filed is very high and large. How can i chanfge this field to be only a 10% - or 20 pixels?

alexmartin

Please Notice - that The ticket was created as a PRIVATE but  other people have access to it and able to Modify BASIC information on the ticket like a Title  and that ticket display warning as being Public! ( while it is created only as private) 

Please help

 

tampe125
Akeeba Staff

Hello,

the warning is displayed because the ticket is truly public. I just founded a bug in the code where ticket would be public if you selected "Private" as forced type inside category params. Please download the latest dev release to fix it: https://www.akeeba.com/download/ats-dev.html

Regarding the editor, we're using Joomla default editor, so you should take a look at its params to see if it's possible to lower the height of the field.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

alexmartin

Nicholas, 

1) Is there a way to complete hide the field for warnings - about Private or Public Ticket status? I feel that takes too much space in a wrong location and no need at all for those warnings because there is another status lable right on the ticket.  What is  SCSS to remove it - or if needed HPH code and the exact file location please?

2) I have noticed that a users able to edit not only their text field but also answers provided by administrator. That does not sound as it should be. How to protect users from editing administrator's answers? Please screenshot permissions settings. 

Looking forward.  

tampe125
Akeeba Staff

Hello,

Regular users are not allowed to edit other people tickets, unless you explicitly allowed it inside the Permissions tab. What the value for the permission "Edit" for regular users? It should be "Not allowed", since they should be able to edit only their own.

Regarding the visibility warning, it's not possible to suppress it, you have to perform a template override and remove the code that outputs the warning.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

alexmartin

Regarding you wrote: "Regarding the visibility warning, it's not possible to suppress it, you have to perform a template override and remove the code that outputs the warning."

- Exactly!  I need to know what piece of code is inserting warnings  and able to replace PHP  or SCSS or any other code with overwrite. Please communicate to me what is the the code  that insert Public and Private  warnings as explainer text.  That is exactly what I need.

(I feel that you have really well done ATS but I must adopt it for my site and the way I need it. Unfortunately there are a lot of improvements must be done to make ATS look and works smoother.  And I am spending hour to fix it. But I love ATS and that is exactly what I need for my project.)

Thank you. 

tampe125
Akeeba Staff

The file you want to override is the following: 

components/com_ats/tmpl/ticket/default_visibility_warning.php

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!