[Resolved] Embed Script form

Home Forums Support [Resolved] Embed Script form

Home Forums Support Embed Script form

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #498324
    James Gallon

    Hello, good afternoon, We are having trouble inserting the CRM Bitrix24 form to our pages throughout that the script give to us. This start happening since the GP template installation. Would somebody there help us find solution for it. Thanks.

    #498606
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Where is the script being added to?

    What’s the exact issue? The form not displaying?

    #498897
    James Gallon

    Hello there, good morning. The real issue is that We added the script at our page section where I want to show it, but it doesn’t working. I meant doesn’t visualize the form. Thanks a lot for your help.

    #499266
    Tom
    Lead Developer
    Lead Developer

    You added it within the content of your page?

    I believe the WordPress editor strips script tags. Can you share the code with me?

    #500523
    James Gallon

    This is the script that we must insert at our page and it’s not working:

    <script id=”bx24_form_inline” data-skip-moving=”true”>
    (function(w,d,u,b){w[‘Bitrix24FormObject’]=b;w[b] = w[b] || function(){arguments[0].ref=u;
    (w[b].forms=w[b].forms||[]).push(arguments[0])};
    if(w[b][‘forms’]) return;
    var s=d.createElement(‘script’);s.async=1;s.src=u+’?’+(1*new Date());
    var h=d.getElementsByTagName(‘script’)[0];h.parentNode.insertBefore(s,h);
    })(window,document,’https://encargousa.bitrix24.es/bitrix/js/crm/form_loader.js&#8217;,’b24form’);

    b24form({“id”:”10″,”lang”:”la”,”sec”:”x4xyta”,”type”:”inline”});
    </script>

    #500799
    Tom
    Lead Developer
    Lead Developer

    WordPress won’t allow you to add scripts directly into your content.

    Instead, try using a plugin like this: https://wordpress.org/plugins/scripts-n-styles/

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.