| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Senior Member Posts: 3,852 Join Date: Aug 2006 Location: Mumbai, India |
05-07-2008, 06:21 PM
In Kayako somehow not all phrases work in emails. Something Kayako needs to look into. Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
(#3)
|
| Operations Manager Posts: 5,445 Join Date: Jan 2006 Location: United Kingdom |
05-07-2008, 08:13 PM
If this is the case, please submit a bug report. -------------------------------------------------------------------
|
| | |
(#4)
|
(#5)
|
| Senior Member Posts: 3,852 Join Date: Aug 2006 Location: Mumbai, India |
06-07-2008, 10:27 AM
Quote:
Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ | |
| | |
(#6)
|
| Developer Posts: 670 Join Date: Dec 2007 Location: Idaho |
07-07-2008, 08:41 PM
This may be an issue of string caching. I have opened a new bug to track this matter. Kayako Bug Tracker - Viewing Issue #666 - Template strings apparently sometimes "don't work" At this time I have virtually no information regarding this defect. Customer comment, especially reproduction steps from a blank desk, would be extremely valuable in recreating this problem. -------------------------------------------------------------------
|
| | |
(#7)
|
| Member Posts: 141 Join Date: Feb 2008 |
07-07-2008, 09:16 PM
Have you tried rebuilding the cache? I have personally noticed that when entering custom phrases, the MySQL fetch of the phrases doesn't work properlly, I don't know the reason but you have to go back to the Admin CP and update the phrase. This has worked for me in the past. Best Regards Email & MSN: andres[at]dewak.com Skype: andres.dewak Dewak: Kayako Development, Consultancy and Support http://www.dewak.com |
| | |
(#8)
|
| Developer Posts: 670 Join Date: Dec 2007 Location: Idaho |
07-07-2008, 09:49 PM
Not that kind of cache. Sorry, I probably should have been more detailed. The string loading mechanism in SS caches strings in blocks according to what a page is known to need beforehand, to keep disk access and ram requirements low. If the custom string isn't added to a block that gets loaded in such a fashion, it wouldn't be available to the dependant template. Mind you, this is a hypothesis, not a diagnosis, hence the bug tracker entry. -------------------------------------------------------------------
|
| | |
(#9)
|
| Senior Member Posts: 3,852 Join Date: Aug 2006 Location: Mumbai, India |
07-07-2008, 11:07 PM
John, Thanks for the clear explanation. I will keep a track of the bug. Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
(#10)
|
| Developer Posts: 670 Join Date: Dec 2007 Location: Idaho |
08-07-2008, 09:27 PM
Again, it's a suspicion, not a diagnosis. I am not saying this is certainly the problem, just that this is what my gut says. -------------------------------------------------------------------
|
| | |
(#11)
|
| Chief Operating Officer Posts: 855 Join Date: May 2005 Location: Boise, Idaho |
22-07-2008, 09:47 PM
I have closed this bug in the tracker. Please refer to the following comment I left there: =============================== Not a bug; let me describe here how the language/template systems are tied together. Language strings are stored together in groups. The group boundaries are defined by files. For example, one group of strings would be /locale/en-us/tickets.php. This file would contain all of the strings necessary to render pages related to tickets. In the source code, groups of language strings are delay-loaded, meaning that they are only loaded when required. The function that does this is called loadLanguageSection(). When individual templates are echoed by the system, only certain language "sections" or "groups" are loaded into the template driver before the templates are processed. This means that when you add new language strings through the Admin CP, they are not assigned a specific "group" and thus are not loaded by the template driver before displaying the template. This is why the strings appear to "not work." There is a solution, however: Grep the source tree for the name of the template that you wish to add a string to. You should see a line such as the following: "echo $template->displayTemplate("name");" Look up above in the file for a line that looks like "$template->loadLanguageSection("foo");" "foo" is the name of the "group" that you want to add your string to in order for it to be loaded up and displayed by the template. Manually edit the database record that contains the language string. The table name is "swlanguagephrases." Find the record containing your new language string and change the "section" and "code" columns. The "section" must be set to the "group" that the string should reside in, and the "code" needs to be set to "group:id" where group is the name of the group of strings and id is the string's identifier. (e.g. "tickets:mystring"). Your string will now be loaded with the rest of the strings in the same group, and will appear in the template in question. -------------------------------------------------------------------
|
| | |
(#12)
|
| Senior Member Posts: 3,852 Join Date: Aug 2006 Location: Mumbai, India |
23-07-2008, 07:42 AM
In that case can you not change this request as a "Feature Request" making the software automatically add the newly added phrases from the Admin CP to the software language groups rather then there being a need to manually editing the software files and database. Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
(#13)
|
| Chief Operating Officer Posts: 855 Join Date: May 2005 Location: Boise, Idaho |
23-07-2008, 06:38 PM
I've created a new bug entry: Kayako Bug Tracker - Viewing Issue #685 - Adding language pack entries does not allow for selection of the "section" in which the string should be inserted.. This bug is assigned to the 3.20.02 build. -------------------------------------------------------------------
|
| | |
![]() |
| Tags |
| custom, phrase |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom fields prior to starting chat session needed badly!!!!! | Doug I. | LiveResponse Desktop Application | 3 | 25-05-2007 02:21 PM |
| Custom Field Doesn't Work!! | caitlyntw | SupportSuite, eSupport and LiveResponse | 9 | 06-04-2007 06:16 PM |
| Custom phrases not working in templates | bigc5384 | SupportSuite, eSupport and LiveResponse | 4 | 06-11-2006 02:08 PM |
| Merging Custom Fields in ViewTicket of Staff | Mick | SupportSuite, eSupport and LiveResponse | 0 | 21-09-2006 05:48 PM |