test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • brenot Friend
    #760346

    Hi,

    i need help tp translate the Joomla Contacts Form placeholders…..

    http://187.45.187.131/~forum/_final/index.php/contato

    Can somebody help me?

    thanks

    Pankaj Sharma Moderator
    #760523

    Hi
    Go to this file templatesuberjsscript.js and change placeholder name

    // Add Placeholder form contact
            var formContact = $('.contact-form-1');
            if (formContact.length > 0) {
                $('#jform_contact_name', formContact).attr('placeholder','Name');
                $('#jform_contact_email', formContact).attr('placeholder','Mail');
                $('#jform_contact_emailmsg', formContact).attr('placeholder','Subject');
                $('#jform_contact_message', formContact).attr('placeholder','Write your message here');

    Hope it helps

    brenot Friend
    #760696

    Yep, It will be a great help… But help more with you send me the complete path of this file…
    Because I look at templates/uber/js and I cant found this file…

    Thanks

    Pankaj Sharma Moderator
    #761013

    Hi
    please apply changes here : It’s in languageen-GBen-GB.com_contact.ini.
    You can find all details to change the placeholder and change them as per needs .

    brenot Friend
    #761634

    I cant understand, I have my site translated to pt-br, and I have o file com_contact.ini already translated. why the form is not translated….

    Thanks

    brenot Friend
    #761635

    I chage the language file, and nothing happen, i think that is the JS file..

    Pankaj Sharma Moderator
    #761638

    Hi Yes its in js file , but you said above u did not found , so i checked it directly on your site .
    Kindly check my first suggestion in this thread .
    Go to "/js/script.js" in template "uber".
    and find the code

        // Add Placeholder form contact
            var formContact = $('.contact-form-1');
            if (formContact.length > 0) {
                $('#jform_contact_name', formContact).attr('placeholder','Name');
                $('#jform_contact_email', formContact).attr('placeholder','Mail');
                $('#jform_contact_emailmsg', formContact).attr('placeholder','Subject');
                $('#jform_contact_message', formContact).attr('placeholder','Write your message here');
    

    screenshot from your site > > > http://prntscr.com/9bcozt

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum