How to Override NinjaBoard HTML, JS, CSS, and Images
Ben Hornedo on 30 August, 2010
This article gives a brief introduction on layout overrides, and explains the additional assets overrides support found in Ninjaboard.
All Joomla! 1.5 native components and modules supports something called template layout overrides.
Template layout overrides allow you to copy the files that generate the HTML in a component, into your template. The component will then use the files found in your template instead of its own.
There are times when you just want to load another image, change a little bit of css or customize a piece of javascript.
So you don't want or need to override an entire PHP file just for doing that.
Good news is that Ninjaboard supports overrides by path for all of its assets.
Every image, css file, js script and php layout can be overridden at your hearts content.
That includes front-end and back-end.
Template Layout Override
Ninjaboard:/components/com_ninjaboard/views/person/tmpl/default.phpYour template:
/templates/yourtemplate/html/com_ninjaboard/person/default.php
Stylesheet Override
Ninjaboard:/media/com_ninjaboard/css/site.form.cssYour template:
/templates/yourtemplate/css/com_ninjaboard/site.form.css
Javascript Override
Ninjaboard:/media/com_ninjaboard/js/jquery/site.jsYour template:
/templates/yourtemplate/js/com_ninjaboard/jquery/site.js
Image Override
Ninjaboard:/media/com_ninjaboard/images/forums/default.pngYour template:
/templates/yourtemplate/images/com_ninjaboard/forums/default.png
Thanks for reading! Download Ninjaboard now and give it a try.
Blog