is someone around to briefly explain - or better to point me to example code?
I would like to implement a option to highlight specific rows with a configurable color in:
- search results
- ticket views
- Dashboard
e.g. lets assume I create a new status "clientReplied" I would like to have an option to configure a specific color to highlight the given row in the results with a configured color.
Sadly I have no idea from the software design of znuny to decide how to integrate? Is there any serverside html rendering chain or filters, in which I could integrate such a behavior.
E.g. I would like to attach either a specific html attribute or even better append a specific CSS class.
How to modify output HTML?
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: How to modify output HTML?
I'd use https://opar.perl-services.de/dist/Tick ... oked-6.0.5 for that. If you want to highlight rows based on the state, you have to change some settings in the system configuration:
* Hook::Generic::Attribute -> State
* Hook::Generic -> add the states and colors
* TicketOverview::Hooks -> Key: 1001, Value Kernel::System::TicketOverview::Hooks::Generic
* Hook::Generic::Attribute -> State
* Hook::Generic -> add the states and colors
* TicketOverview::Hooks -> Key: 1001, Value Kernel::System::TicketOverview::Hooks::Generic
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de