Kayako logo
Style & Design Customizing the look and feel of your support desk? Share thoughts and request assistance here.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
FrightFactor Offline
Member
 
Posts: 41
Join Date: Jun 2008
Location: NRW, Germany
Language Variable for Custom Field? - 09-06-2008, 10:17 PM

is it possible to use language variables for custom fields?
i have german and english language installed on my helpdesk.

For example:
i wanna display a Phone Field. In English its called PHONE, in German Telefon.
But i don't wanna name the Field on user side "PHONE / TELEFON". Isn't it possible to add a language variable and use it for custom fields?


tia
   
Reply With Quote
  (#2) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,247
Join Date: Aug 2006
Location: Mumbai, India
10-06-2008, 10:07 AM

Yes it might be possible. You need to add the field as a "custom" type and manually add the code in the templates using language phrases.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#3) Old
FrightFactor Offline
Member
 
Posts: 41
Join Date: Jun 2008
Location: NRW, Germany
10-06-2008, 03:49 PM

Thanks i got a question regarding this. Since KAYAKOS SUPPORT isn't really helpful when it comes down to HTML CODE in the Templates. - I dont have to understand it, but okkk.

I added under custom fields a custom field (to registration: address, address2, zip, city, country & phone field). Then i added the rows with my fields to the registration template. Everything works fine.

Now i wanted to display the fields also under MY ACCOUNT, so i added the fields to myaccount template. And here's whats happening:

The fields show up
The language variable working perfect
the entered values in the fields are added to the database
BUT the entered values of the fields are not showing up in the fields itself. They are empty.

What do i have to do, to let the values also show up in the fields?

thanks in advance
   
Reply With Quote
  (#4) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,247
Join Date: Aug 2006
Location: Mumbai, India
10-06-2008, 04:18 PM

They are not showing up under My Account tab or in the Staff CP?



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#5) Old
FrightFactor Offline
Member
 
Posts: 41
Join Date: Jun 2008
Location: NRW, Germany
10-06-2008, 04:34 PM

In staff CP everything is fine, there i see the entered values.
but on customer side under MY ACCOUNT the fields are empty.

i don't know if its helping but heres my myaccount template code:

Code:
 <{displaytemplate name="header"}>
 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
 <tr><td align="left" valign="top">
 <form name="myacccount" method="post" action="<{$basepath}>">
 <fieldset class="swiftfieldset">
 <legend><{$language[myaccount]}></legend>
 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
   <tr>
  <td align="left" valign="top" class="row2" width="30%"><span class="smalltext"><{$language[maemail]}></span></td>
  <td width="70%"><span class="smalltext"><{$primaryemail}></span></td>
   </tr>
   <tr>
  <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><{$language[mafullname]}></span></td>
  <td width="70%"><input name="fullname" type="text" size="25" class="swifttext" value="<{$fullname}>"></td>
   </tr>
   </table>
   </fieldset>
 
    <fieldset class="swiftfieldset">
 <legend>Details</legend>
 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
   <tr>
  <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><{$language[custom_address_1]}></span></td>
  <td width="70%"><input name="custom_address_1" type="text" size="25" class="swifttext" value="<{$custom_address_1}>"></td>
   </tr>
   <tr>
  <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><{$language[custom_address_2]}></span></td>
  <td width="70%"><input name="custom_address_2" type="text" size="25" class="swifttext" value="<{$custom_address_2}>"></td>
   </tr>
   <tr>
  <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><{$language[custom_zip]}></span></td>
  <td width="70%"><input name="custom_zip" type="text" size="25" class="swifttext" value="<{$custom_zip}>"></td>
   </tr>
   <tr>
  <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><{$language[custom_city]}></span></td>
  <td width="70%"><input name="custom_city" type="text" size="25" class="swifttext" value="<{$custom_city}>"></td>
   </tr>
   <tr>
  <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><{$language[custom_country]}></span></td>
  <td width="70%"><input name="custom_country" type="text" size="25" class="swifttext" value="<{$custom_country}>"></td>
   </tr>      
   <tr>
  <td width="30%" align="left" valign="top" class="row2"><span class="smalltext"><{$language[user_tel]}></span></td>
  <td width="70%"><input name="user_tel" type="text" size="25" class="swifttext" value="<{$user_tel}>"></td>
   </tr>            
   </table>
   </fieldset>
 
 <table width="100%"  border="0" cellspacing="1" cellpadding="2">
   <tr>
  <td><input name="submit" type="submit" class="bluebutton" value="<{$language[maupdate]}>">&nbsp;&nbsp;<input name="reset" type="reset" class="blubutton" value="<{$language[reset]}>"></td>
   </tr>
 </table>
 <input type="hidden" name="_m" value="core">
 <input type="hidden" name="_a" value="myaccount">
 <input type="hidden" name="step" value="1">
 </form>
 </td><td width="5"><img src="<{$themepath}>space.gif" width="5" height="1"></td></tr>
 </table>
  <{displaytemplate name="footer"}>
   
Reply With Quote
  (#6) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,247
Join Date: Aug 2006
Location: Mumbai, India
10-06-2008, 05:31 PM

I do not think you can display the custom fields outside the ticket module or the module to which it is assigned to. Although a Kayako developer can confirm this.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#7) Old
FrightFactor Offline
Member
 
Posts: 41
Join Date: Jun 2008
Location: NRW, Germany
10-06-2008, 05:35 PM

i asked the support before i posted here, they told me that they are not supporting modification and can't help me with it.

Thats why i said previously that i don't understand it. why is a custom type field provided, when the support is refusing to look into it, when a user got a question when something isn't working.

Last edited by FrightFactor; 10-06-2008 at 05:43 PM.
   
Reply With Quote
  (#8) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,247
Join Date: Aug 2006
Location: Mumbai, India
10-06-2008, 05:55 PM

As far as I know, this is not possible. May be some else can throw some light.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#9) Old
FrightFactor Offline
Member
 
Posts: 41
Join Date: Jun 2008
Location: NRW, Germany
10-06-2008, 06:11 PM

i hope so.

cause when i add a normal custom field to user registration, it automatically shows up under MY ACCOUNt including the entered value of the field.
   
Reply With Quote
Reply

Tags
custom, language, variable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Field Type "Custom" HTML code example. networkops Developers & Code 6 03-07-2008 02:26 AM
Adding user gets email in a language that is not the default Pur How do I? 1 29-11-2007 11:36 AM
Custom Field -- User/Staff Editable Sarah_User SupportSuite, eSupport and LiveResponse 13 01-08-2007 08:12 PM
Language Questions sergiogza SupportSuite, eSupport and LiveResponse 8 07-04-2007 03:53 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78