Index >
Helpdesk >
[patch]: adding an automatic updater for helpdesk frontend module
Hello,
Using helpdesk, I had the following problem :
- I want a particular backend user to be able to add new categories.
- This user has really limited backend access, basically, he only can edit some articles and manage helpdesk (crud categories and posts).
- Frontend helpdesk block module must be edit to add new categories.
- I don't want this user to touch this module, nor having to explain him that in order to add a new category, he has to create it in the structure, make it published, then go the "modules", select a_name, edit it and add the new category in the list.
So I patched helpdesk to add a feature that let "globalize" a helpdesk frontend module.
- While editing general helpdesk configuration, the admin can specify some frontend helpdesk modules to be globalized.
- Each of those module will refresh its categories list each time a category is created or destroyed.
- At the refresh, all available categories are automatically added to the frontend module.
This is an optional feature, and nothing is changed if the admin don't defined any module as globalized.
There are still things to do, such as listing the globalized modules in tl_helpdesk_settings::listSettings and refreshing a frontend module as soon as it is defined as globalized (there has to be some category creation or deletion for it to be updated, by now).
The patch applies to helpdesk-0.9.0, you'll find it as attachment to this post.
11/08/2008 04:27
Peter Koch (acenes)
Admin
From: Switzerland
Posts: 101
Thank you for your patch. Please keep us updated of further changes.
Peter - "May the TYPOlight shine on you."
11/10/2008 09:00
Index >
Helpdesk >
[patch]: adding an automatic updater for helpdesk frontend module