CW Whatever is whatever you want it to be. No really. This component and module do absolutely nothing in the best way possible.
It is the best way to add your own custom scripts to Joomla, using Joomla's built-in MVC template override system. Simply override the default CW Whatever component or module output in your template, and add whatever html, javascript, or php script you want to add. The sky is the limit!
Use CW Whatever for:
Step 1: Create a template override
The first thing you want to do is create a template override for the whatever component's whatever view. Here's how you do that:
/templates/{YOUR_TEMPLATE}/html
, create a folder called com_cw_whatever
.com_cw_whatever
folder you just created, create a folder called whatever
. This folder will contain your template override files.whatever
folder you just created, create a PHP file and name it whatever you want to name it.$this->whatever
in your PHP script.Step 2: Create a CW Whatever menu item
Step 1: Create a template override
The first thing you want to do is create a template override for the whatever module. Here's how you do that:
/templates/{YOUR_TEMPLATE}/html
, create a folder called mod_cw_whatever
.mod_cw_whatever
folder you just created, create a PHP file and name it whatever you want to name it.$whatever
in your PHP scriptStep 2: Add a CW Whatever module to any page(s) on your site
That's all there is to it. This component and module were designed to do as little as possible and be as simple as possible to enable you to add your own custom PHP scripts.
Need help? Check out our documentation.
Pre sales questions? Email sales@corywebbmedia.com