CW Custom Extended

Add a CW Custom Extended module to any page(s) on your site

  1. In the Joomla administrator, go to Extensions > Modules and click "New" to add a new module.
  2. Select the CW Custom Extended module type.

Parameters Explained

  • Content: Custom HTML content to be displayed in themodule.
  • Options Tab
    • Prepare Content: Select yes to prepare the content with Joomla content plugins. (Same as core custom HTML module)
    • Background Image: Select a background image for the module. (Same as core custom HTML module)
    • Display Image 1: Select an extra image to display.
    • Display Image 2: Select an extra image to display.
    • Display Image 3: Select an extra image to display.
    • Attributes: Enter as many attributes as you need as key/value pairs. In the pop-up window, click a green plus button to add a new attribute, or a red minus button to remove an attribute. You can access attributes in your template override for this module with $helper->getAttribute($key, $default_value);.
      • Key: Enter a custom key for the attribute. This can be any string.
      • Value: Enter a value for the attribute.

Creating a Template Override

If you want to override the standard layout, you have to create a template override as follows:

  1. Copy /modules/mod_cw_customextended/tmpl/default.php to /templates/{YOUR_TEMPLATE}/html/mod_cw_customextended/default.php *
  2. Modify as needed

* Note: If you want to have multiple template overrides, you can create multiple copies of default.php, but give it different names. Each new override will be available in as an option in the Alternate Layout parameter in the Advanced parameter tab in the module.