Help Center Live Community
April 24, 2014, 12:24:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Canned messages  (Read 8475 times)
Where2G0
Not too much to say...
*
Offline Offline

Posts: 2


« on: November 13, 2008, 09:46:01 AM »

Everything goes very well with my installtion of HCL 2.  1.  7

Except Canned messages for Public Departments. 

Is there a known fault for this?

Actually the fault is for Private Departments too, so while it works fine for ALL messages, Canned Messages does not appear to work for Departments.

(Yes in test mode I was talking to the correct department)
« Last Edit: November 13, 2008, 09:57:14 AM by Where2G0 » Logged
zmanit
Not too much to say...
*
Offline Offline

Posts: 7


« Reply #1 on: December 08, 2008, 06:58:58 PM »

I am also having a problem with canned message when using the web based app.
Logged
akbarehsan
Not too much to say...
*
Offline Offline

Posts: 2


« Reply #2 on: December 17, 2008, 08:49:15 PM »

Same problem here.  I set up a Public Canned Message for a department, but it does not seem to work.  What is the main purpose of canned messages?
Logged
Where2G0
Not too much to say...
*
Offline Offline

Posts: 2


« Reply #3 on: December 17, 2008, 09:32:48 PM »

Canned messages are basically template answers that you can insert without having to type the whole thing out.
Logged
Sylvain
Not too much to say...
*
Offline Offline

Posts: 1


« Reply #4 on: February 02, 2009, 11:01:30 AM »

file: /class/canned.  php

line 77

Code:
if ($this->canned['dep']) {
   foreach ($this->canned['dep'] as $key => $val) {
      if (isset($this->canned['dep'][$key]['message'][0])) {
         $this->canned['dep'][$key]['message_js'] = addslashes($this->canned['dep'][$key]['message']);
         /*foreach ($this->canned['dep'][$key]['message'] as $key2 => $val2) {
               $this->canned['dep'][$key]['message'][$key2]['message_js'] = addslashes($this->canned['dep'][$key]['messages'][$key2]['message']);
            }*/
      }
   }
}
if ($this->canned['both']) {
   foreach ($this->canned['both'] as $key => $val) {
      if (isset($this->canned['both'][$key]['message'][0])) {
         $this->canned['both'][$key]['message_js'] = addslashes($this->canned['both'][$key]['message']);
         /*foreach ($this->canned['both'][$key]['messages'] as $key2 => $val2) {
               $this->canned['both'][$key]['messages'][$key2]['message_js'] = addslashes($this->canned['both'][$key]['messages'][$key2]['message']);
         }*/
      }
   }
}


bug fixed. . .  Grin
« Last Edit: February 02, 2009, 11:06:54 AM by Sylvain » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.174 seconds with 20 queries.

Google visited last this page Yesterday at 09:23:53 AM