Documentation

Powered by Minitek FAQ Book

Template overrides

  Important

Template overrides are not recommended as there are frequent updates and changes in the front-end template files. Updates may introduce new features or changes that break template overrides from older versions.

If you still want to use template overrides, make sure that you update the overriden files on every module update. Always check the changelog of the extension when updating.

To create a template override for the module:

  1. Create a directory mod_responsive_grid_for_articles inside the html directory of your website template.

  2. Copy the files

    default.php
    default_elegant.php
    default_fancy.php
    default_minimal.php
    

    from

    PATH_TO_JOOMLA/modules/mod_responsive_grid_for_articles/tmpl/

    to

    PATH_TO_JOOMLA/templates/TEMPLATE_NAME/html/mod_responsive_grid_for_articles/
  3. Rename the new files, using the same base name; for example

    override.php
    override_elegant.php
    override_fancy.php
    override_minimal.php
    
  4. In the field Advanced > Layout, select the new layout.

  5. If you have selected the Elegant theme, you must customize the file override_elegant.php. If you have selected the Fancy theme, you must customize the file override_fancy.php. If you have selected the Minimal theme, you must customize the file override_minimal.php.

Check out this article for more info on template overrides.

Was this helpful?
Loading...
1