Adding Custom Script

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
Tentedg
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Apr 09, 2021 7:09 am

Adding Custom Script

Post by Tentedg » Fri Apr 09, 2021 7:47 am

Hi Everyone,

I need assistance, I do know Joomla a little but not close to expert level.

The website page I would like to add this too is:

https://tentedgetaways.com/index.php/th ... enberg-bay

There is a little script where I am able to add a date selector from a property management system (Nightsbridge) onto my website, I would like to do this into a custom module or even Article: I did install :

pluginaria.com/custom-html-advanced.html

But can't seem to get it working,

Here is the documentation I received to add desired script:

For the date picker widget this is the text which should be included on your website:

<script type="text/javascript" src="https://www.nightsbridge.co.za/bridge/jsp/widget/
searchbox?bbid=23858&nbid=957&layout=1&id=js_nightsbridge"></script> >

Where do I do the below:

Then, in addition, a <div> entry needs to be made showing NightsBridge where to inject the
HTML and other entries it uses to build the widget. They entry should have the
id'js_nightsbridge'. This serves as the target for the widget (the name 'js'_nightsbridge' can be
changed on the URL).
e.g. <div id="js_nightsbridge"></div>

The example you can see at:

http://www.knysnahouseboats.com/book.html

How would I go about adding the above to my website?

Thank you in advance.

User avatar
Pavel-ww
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 127
Joined: Tue Jun 30, 2020 12:17 pm

Re: Adding Custom Script

Post by Pavel-ww » Sat Apr 10, 2021 11:40 am

Hi. Script part add here
1.jpg
Html part add no the page, in place where you wona see it. Works well for me.
2.jpg
The script code in your post contains an additional angular bracket at the end - this is an error or typo in the post. It should not be in the code that you insert to the site.
You do not have the required permissions to view the files attached to this post.


Post Reply

Return to “General Questions/New to Joomla! 3.x”