Requeriments:
-OTRS 3.2 or 3.3
-Survey Module installed: 2.x
Usage:
Once this module has been installed, there will be a new file in <OTRS_HOME>/var/httpd/htdocs/js/ called "Survey.Customer.ShowPendingSurveys.js". You should add that file to the javascript loader in the module you want to display the customer peding surveys. For example, if you want to display the pending surveys in CustomerTicketMessage Screen:
Go to SysConfig
Group: Ticket
Subgroup: Frontend::Customer::ModuleRegistration
and add a new loader (type javascript). Something like this: http://i.imgur.com/z1nJ3Xm.png
FAQ:
Q: How do i display the Dialog in modal mode?
A: edit <OTRS_Home>/var/httpd/htdocs/js/Survey.Customer.ShowPendingSurveys.js Around line 25
change
Code: Select all
Modal: false,
Code: Select all
Modal: true,
A: Navigate in your webbrowser to http://otrsdomain/otrs/customer.pl?Acti ... SurveyList and paste the result here: http://json.parser.online.fr/
Q: I want to change the size of the popup when i click a pending survey. how do i do that?
A: edit <OTRS_Home>/var/httpd/htdocs/js/Survey.Customer.ShowPendingSurveys.js. From line 35 to 38..edit as you want!
Screenshots:
System: OTRS 3.2
Module: CustomerTicketOverview
Modal: true

Modal: false

System: OTRS3.3 Ignore the "custom" theme
Module: CustomerTicketMessage
Modal: true

Modal: false
