Extend for templates configuration

Goal

Define replacement conditions for each template from template-extension (template called "replacer").

"original template" from ./template/yoga (or any other than yoga) will be replaced by a "replacer" if the replacer is linked to this "original template" (and optionally, when the requested URL contains an "optional URL keyword").

"Optional URL keywords" are those you can find after the module name in URLs.

Therefore "Optional URL keywords" can be an active "permalink" (see permalinks in our documentation for further explanation).

Read: `Warning` usage conditions.

What are template extensions?

This configuration tool is powerfull for beginners and advanced users. By FTP, in the template-extension folder, the Webmaster can duplicate a lot of the distributed .tpl files ("original template") with a different name ("replacer"). "Original templates", current original supported templates are:

Where can I find "original templates"?

Distributed original templates are in template/yoga/ (don't edit them in place for upgrade perspectives). So with "original templates", any webmaster can create his "replacers (customized templates)".

Where should I save "replacers"?

Replacers (customized templates) must be placed in the template-extension folder (or its subfolders). Replacers can have any filename with the .tpl extension. For example: template-extension/my-extension/video.tpl.

How can I activate my "replacers"?

An original template should be assigned to each replacer (customized templates) to activate the related replacements. This is the goal of "Extend for templates" in the Configuration Administration menu.

If you select an optional URL keyword then replacements will be operate only on pages with this keyword. For example: index.php?/most_visited

Advanced users will use permalinks as optional URL keyword.

How can I deactivate my "replacers"?

Warnings