CW Quick Blocks is the easiest way to create a page of module positions, or simply to load a module position within another module. With the component, you no longer have to hide the component output in your template on pages where you just want to display modules. With the module, you can easily nest module positions within a module, creating tabs, sliders, accordions, or any other layout you can come up with.
Use CW Quick Blocks to:
The tabs below are rendered with the CW Quick Blocks module.
Need help? Check out our documentation.
Create a CW Quick Blocks menu item
Parameters Explained
default.php
, you don't have to select an override here because the system uses your template override automatically.blocks_1_1
.Creating a Template Override
If you want to override the default layout, you have to create a template override as follows:
/components/com_cw_quickblocks/views/blocks/tmpl/default.php
to /templates/{YOUR_TEMPLATE}/html/com_cw_quickblocks/blocks/default.php
** 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 Template Override parameter in the menu item.
Add a CW Quick Blocks module to any page(s) on your site
Parameters Explained
Creating a Template Override
If you want to override any of the 4 standard layouts, you have to create a template override as follows:
/modules/mod_cw_quickblocks/{FILENAME}.php
to /templates/{YOUR_TEMPLATE}/html/mod_cw_quickblocks/{FILENAME}.php
** Note: If you want to have multiple template overrides, you can create multiple copies of {FILENAME}.php
, but give it different names. Each new override will be available in as an option in the Alternate Layout parameter in the module.