1. Balmmnd77
  2. Sherlock Holmes
  3. Commercial Templates
  4. Wednesday, 16 November 2016
  5.  Subscribe via email
hi, i am trying to use a booking system that embeds into a website but they are telling me to add a line of script to the header of every page. they say it goes somewhere in the template??

do you have any idea please?
am using j51_virtuoso
thanks
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You can add your code to the templates index.php (../templates/j51_virtuoso/index.php) You will recognise within this file, head and body tags similar to a normal HTML file.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
hi
iplaced <script src='https://www.bouncycastlenetwork.com/quick-book.js'></script></div>
</head>

still casused a problem.
if you clock book button before page loads the booking system loads outside the template.

if you wait til it loads template it is fine.... any ideas plase?
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Have you tried adding your code to the 'Body Custom Code' field? This will render your JS call at the end of each page, just before the closing body tag.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
thanks but it seems to have no effect..

this is hat the developer said just....

We would suggest that you put the script <script src='https://www.bouncycastlenetwork.com/quick-book.js'></script></div> towards the top of the page, ideally before the rest of the Javascript, rather than at the bottom of the page, or in a place that would make sure it loads first.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

As you have carried out what they have recommended I suspect this is more likely a script related issue. Have you tried contacting the script developer?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
hi i sent an email to you about this. did you get it please thanks?
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Sorry but I believe you misunderstood me. I meant sending an email to the developer of your quick-book.js extension. This is not a Joomla51 script.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
no i just need to know how to get their script above all the other scripts in that list please. do you lknow where in joomla files to put it as they do not know how to get he script to be on top.

thanks
  1. more than a month ago
  2. Commercial Templates
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Try placing your script before the following in your templates index.php (../templates/[YourTemplate])...

<jdoc:include type="head" /> 


This is where Joomla adds all it's head data.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
thank you Ciarán i will try this!
great support and templates as always
  1. more than a month ago
  2. Commercial Templates
  3. # 10
  • Page :
  • 1


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

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok