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 component update. Always check the changelog of the extension when updating.

To create a template override:

  1. Create a folder com_miniteklivesearch inside the html folder of your website template.

  2. Create a folder search inside the com_miniteklivesearch folder.

  3. Copy the files

    default.php
    default_form.php
    default_results.php
    default_result.php
    

    from

    PATH_TO_JOOMLA/components/com_miniteklivesearch/tmpl/search/

    to

    PATH_TO_JOOMLA/templates/TEMPLATE_NAME/html/com_miniteklivesearch/search/
  4. Rename the new files, using the same base name; for example

    override.php
    override_form.php
    override_results.php
    override_result.php
    
  5. Go to Minitek Live Search > Search Forms, open your search form and select the new template in the field Form > Alternative Layout.

Was this helpful?
Loading...
1