How to Add Custom Javascript to Wright

Are you looking to add custom Javascript to the Wright framework?

What are the requirements?

The minimum requirements are: Joomla 3, PHP 5.6 and newer, and MySQL 5.1 and newer at the time of writing this article.

Wright vs Other Template Frameworks

If you are familiar with how to work with Joomla templates already, then there are only a few things we've done to simplify or add additional functionality to the template.

Automatic Updates for the Wright Framework

You can update Wright easily from backend as you do with regular extensions.

RTL Support

Starting from version 3.3, Wright has a better RTL support. This means websites in languages with text oriented from right to left like Hebrew and Arabic, will look better.

Template Structure

If you look at the template structure, it is almost the same as a typical template. There are some key differences though, and they are listed here.

Wright Tags

Inside of our templates you won't see any <jdoc:include ../> tags. We have replaced them with <w:.../> tags, which do more than their predecessors.

Safely Customizing CSS in Wright

You can easily customize your CSS files without alterting the core files, and have them load automatically.

Safely Customizing HTML in Wright

Altering the default template is fine, but in some cases you might want to alter the template without changing the default version. You can do that easily with Wright.

Adding custom PHP

We provide a way to easily add PHP into your template without it filling up your template file.