Embedding my own code into pages

I have some code for a Banckle chat widget that I need to place on every page of my site. With WordPress & BoxBilling I was able to place the code in the footer.tpl file, but such a file does not exist in the uni template of dolphin. Exactly what file do I need to place the code in?

Here is a sample of the code if it helps:

<!--Monitoring Code-->
<script type="text/javascript" async="async" defer="defer" src="https://chat.banckle.com/livechat/visitor.do?dep=08597d46-055a-4c9b-95ff-8cbd180d23e2"></script>

<!--Chat Link Code-->
<a href="javascript:;" onclick="blc_startChat()">
<img style='border:0px;' id="blc_chatImg" src='https://chat.banckle.com/livechat/onlineImg.do?d=08597d46-055a-4c9b-95ff-8cbd180d23e2'/>
</a>

Linux PC Plus
Quote · 25 Sep 2012

/templates/base/_footer.html

[edit] if you have 3rd party template.. /templates/tmpl_youspecial_template/_footer.html

<!--Monitoring Code-->
<script type="text/javascript" async="async" defer="defer" src="https://chat.banckle.com/livechat/visitor.do?dep=08597d46-055a-4c9b-95ff-8cbd180d23e2"></script>

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 25 Sep 2012

This may have to be put in the database manually, you enter that in an HTML block on the page you want to see the chat..

<!--Chat Link Code-->
<a href="javascript:;" onclick="blc_startChat()">
<img style='border:0px;' id="blc_chatImg" src='https://chat.banckle.com/livechat/onlineImg.do?d=08597d46-055a-4c9b-95ff-8cbd180d23e2'/>
</a>

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 25 Sep 2012

I only have the default templates installed at this time. The "base" directory exists on my server, but I cant get that template to show up in "Advanced Setting>>templates". The only template that appears is "uni". And on the server, there are no footer or header files. How do I get the base template to be avaialbel in my install?

Linux PC Plus
Quote · 25 Sep 2012

your going about this wrong, you cannot edit the footer in the admin panel.

 

your going to do in cPanel[edit] File Manager or SSH

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 25 Sep 2012

under /templates/base/

we all have several files here including the header..

_footer.html

_header.html

_sub_footer.html will allow just above the bottom links....

and so on...

 

play around with these since your testing

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 25 Sep 2012

The base directory doesn't show up as a template in your settings. The UNI is the basic, default template. The base directories and files are like a "gateway" template. Other templates, including the UNI draw from the base template for many of the settings, but it isn't an actual template all its own so you will never see it in your template listings.

 

You should also never edit the base files, or the UNI template for that matter, because every update can rewrite your changes making it a nightmare to upgrade your install. If you INSIST on making changes to the base files, make sure you keep immaculate detailed notes of every single change. It's preferable, however to make a template of your own for changes to the coding (ours is called UNI2) that is a copy of UNI and edit those files - the way the template system works is that it will call the settings from your particular template (in our case, UNI2) first and then anything that isn't set there is drawn from base. 

I only have the default templates installed at this time. The "base" directory exists on my server, but I cant get that template to show up in "Advanced Setting>>templates". The only template that appears is "uni". And on the server, there are no footer or header files. How do I get the base template to be avaialbel in my install?

 

Quote · 26 Sep 2012

Actually, it does not matter. I actually checked the Banckle Website & found a Banckle Module for Dolphin. It is installed and fully operational here: https://linuxpcplus.com/community

Linux PC Plus
Quote · 26 Sep 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.