Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

javascript code in page using sp pagebuilder

Featured Lock Resolved Issue
Hello,

I want to integrate some js-code snippet on a site using the SP page builder. I do not see a proper element for this in page builder.

Are there any other solutions?

8 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
1) Custom JS script is not supported by us, so it's on your hands only. Support Policy.
2) In SPPB documentation > How To Tips > How to use Custom JavaScript
3) @Chris, thanks, but this time you're wrong!, Raw HTML never was for Javascript - read the description under text field!
JavaScript =/=HTML



html.jpg

Attachments (1)

  • html.jpg
    html.jpg 31.3 KB

Chris

More than a month ago #Permalink
Add it in a Raw HTML add-on?

gemini

More than a month ago #Permalink
Add it in a Raw HTML add-on?
- i have done this already.. this does not work!

gemini

More than a month ago #Permalink
Hi,
1) Custom JS script is not supported by us, so it's on your hands only. Support Policy.
2) In SPPB documentation > How To Tips > How to use Custom JavaScript
3) @Chris, thanks, but this time you're wrong!, Raw HTML never was for Javascript - read the description under text field!
JavaScript =/=HTML



[attachment]html.jpg[/attachment]



Any suggestion how I can integrate using an extention or something like this?

Paul Frankowski - Staff

More than a month ago #Permalink
read point (2)

Chris

3 weeks ago #Permalink
Ok, what I have done on other sites is create a standard Joomla custom module and add the JS in there, then place this module on the required pages.

I've used this to set a specific Facebook tracking pixel on a form-thank-you page for example. You never see the module on the page, so it doesn't affect the layout.

Possible you may be able to add this as a Joomla Module add-on within a PB page though I have never tried.

Paul Frankowski - Staff

3 weeks ago #Permalink
Form Builder has an option "Enable Redirect" to another site/page after successful form submission.
So adding tracking script for a separate page (article, whatever) is childish simple.
And you don't have to use hacks.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 112
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 97
Toufiq

Toufiq

Total Accepted Answers: 89
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 2
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

295806

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us