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 allows you to copy the files that generate the html in an component, into your template.
And 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 overriden at your hearts content.
That includes frontend and backend.
- Template layout override
-
- Ninjaboard
/components/com_ninjaboard/views/person/tmpl/default.php
- Your template
/templates/yourtemplate/html/com_ninjaboard/person/default.php
- Stylesheet override
-
- Ninjaboard
/media/com_ninjaboard/css/site.form.css
- Your template
/templates/yourtemplate/css/com_ninjaboard/site.form.css
- Script override
-
- Ninjaboard
/media/com_ninjaboard/js/jquery/site.js
- Your template
/templates/yourtemplate/js/com_ninjaboard/jquery/site.js
- Image override
-
- Ninjaboard
/media/com_ninjaboard/images/forums/default.png
- Your template
/templates/yourtemplate/images/com_ninjaboard/forums/default.png
Thanks for reading! Download Ninjaboard now and give it a try.