WebsiteBaker 2.13.7 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<?phpif(function_exists('register_frontend_modfiles')) { register_frontend_modfiles('css'); register_frontend_modfiles('js');} ?>
$module_description = 'Here comes the translated modul description';
.highlight { background-color: #D0D0D0;}
Upgrade from all other 2.6.x versions to 2.6.7Download the whole 2.6.7 package, delete the install folder and the config.php file from this package and copy all other files over your existing files.
In your case I think you need some javascript on a page.Just copy your template (name-js for example) and put your javascript in there and use that template where needed
I.e., a second template, differing only in the head section? Duh. I hadn't thought of that.
<?php if ($page_id == 14) { echo "<script type=\"text/javascript\" src=\"<?php echo TEMPLATE_DIR; ?>/scripts/general.js\"></script>\n";} ?>
<?php if ($page_id == 5) { echo "<script type=\"text/javascript\" src=\"/js/collapse.js\"></script>\n";} ?>