Quick Question

Trying to get a site up and going and have duplicated the default template. However I am wanting to add a custom javascript to the head section. Is there a way to add that to just the new template and not globally. I was thinking that it may need to go into the scripts/BxTemplConfig.php within the new template directory but I am not seeing anything documented.

Thanks in advance.

Quote · 31 Aug 2009

I am not sure what you mean by globally. But to cover one template, but be provided for each page using that template you would put the code in.

templates/tmpl_YourTemplateName/base/_header.html

https://www.deanbassett.com
Quote · 31 Aug 2009

But what if I want to add it to the head section since the templates/tmpl_YourTemplateName/base/_header.html inherits its head section from the base _header.html file.

Quote · 1 Sep 2009

I did say base

templates/tmpl_YourTemplateName/base/_header.html

https://www.deanbassett.com
Quote · 1 Sep 2009
 
 
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.