+ Reply to Thread
Results 1 to 8 of 8

Thread: How to add input method?

  1. #1

    How to add input method?

    Hi,
    I need to add my country language input method.
    I have added the following in my template folder file header.tpl

    <script src="scripts/inputmethod.js"></script>

    Everything works fine on homepage, search, etc. Except when I try to fill out a form in when adding a listing. The code didn't work in that section. Is there anyway that I can use my language input method there as well?

  2. #2
    This is very important. I hope this get resolve soon.

  3. #3
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hmmm could you send me a link to your site to my message box?
    I must unterstand what you mean.

    I also not unterstand - why you would use a seperate language input method.
    What does this inputmethod.js file?
    Would you add placeholders for input fields?
    That can be solved differently. Examble look here
    Last edited by Steffen Buschkemper; July 27, 2013 at 06:47 AM.

  4. #4
    I see. Let me explain to you with screenshot.

    When I include this script in my header. The script is actually an input method script for my country language in vietnamese.
    A small box appear in the bot right corner of the browser. See: tiengViet: VNI
    Attachment 594

    It basically allow user to type in Vietnamese so they can type something like this
    Attachment 595

    The script works (with the small box show on the bot right of the browser) on mostly all of the pages from home to user profile, search, etc.
    But when i get to select plan page, then fill-a-form.
    Attachment 596
    The script just doesn't work, the box disappear, I can't type in Vietnamese or what soever. I guess i need to somehow find away to make the script works on those pages: select plan, fill a form.

    Any idea how to?

  5. #5
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Now I understand..
    That fixed the vietnam unicode character.. Right.
    Is new to me, that it needs a adjustment..
    You never stop learning.

    Yes, the box is a problem.
    I've also noticed with my bad word filter.

    One possibility would be to disable this box and use a regular textarea.
    You can change this in admin panel - Listing fields and the part e.g. description and
    set the HTML editor to off
    This you need to adjust also everywhere where HTML editor is used.
    Last edited by Steffen Buschkemper; July 27, 2013 at 08:33 AM.

  6. #6
    Maybe you can use the plugin for verification code to insert your call to the script? Or use the full url call in the header to where your script is located on your server?

    //Morgan
    Free Advertising at Fyndklippet.se


  7. #7
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    That is right Morgan.
    It would be better to insert the script with verification code plugin.
    The advantage of this is, that the script can then only activated on this pages, where it is needed and you
    must not edit the header.tpl.

    But i think that could not solved the problem with the tinymce editor.
    I think the only way is to use the regular textarea.
    Of course, is also a disadvantage, because you have to renounce text formatting.
    Last edited by Steffen Buschkemper; July 27, 2013 at 08:39 AM.

  8. #8
    Quote Originally Posted by Morgan Bohman View Post
    Maybe you can use the plugin for verification code to insert your call to the script? Or use the full url call in the header to where your script is located on your server?

    //Morgan
    Thank you very much. The method of using the full url worked. Didn't know it's that simple. Can't thank you enough.
    Also thank Steffen for your supporting.
    You two are amazing.
    Have a good day

+ Reply to Thread