- Posts: 188
- Thank you received: 28
Attachments
- Alan Bennett
- Topic Author
- Offline
- Elite Member
Less
More
1 year 10 months ago #156549
by Alan Bennett
Attachments was created by Alan Bennett
I want to disable the adding of attachments by the end user but allow them to be added by staff who log in via the site to progress the ticket.
How is this achieved?
NEW FEATURE REQUEST - configure attachment capabilities by category instead of it being a global setting
How is this achieved?
NEW FEATURE REQUEST - configure attachment capabilities by category instead of it being a global setting
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
1 year 10 months ago #156551
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Attachments
Hi Allan
This is not supported, so the only way to have it is perform some customization to the code to disable it for users
Try to look at the file components/com_helpdeskpro/View/common/tmpl/ticket_add_comment.php, find this line of code:
Change it to
Then check to see if it works
Regards,
Tuan
This is not supported, so the only way to have it is perform some customization to the code to disable it for users
Try to look at the file components/com_helpdeskpro/View/common/tmpl/ticket_add_comment.php, find this line of code:
Code:
if ($config->enable_attachment)
Change it to
Code:
if ($config->enable_attachment && $role !== 'user')
Then check to see if it works
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Alan Bennett
- Topic Author
- Offline
- Elite Member
Less
More
- Posts: 188
- Thank you received: 28
1 year 10 months ago #156557
by Alan Bennett
Replied by Alan Bennett on topic Attachments
No joy so far.
What is classified as user/ I am seeing attachment capability still.
What is classified as user/ I am seeing attachment capability still.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
1 year 10 months ago #156578
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Attachments
Submit a support ticket sending me super admin account of your site and link to the page
I will help with this modification
Regards,
Tuan
I will help with this modification
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.