From df29ffbde72e88635f454d5d6d84c5a7209460f3 Mon Sep 17 00:00:00 2001 From: vdigital Date: Mon, 14 Jul 2008 21:42:40 +0000 Subject: Feature template-extension based on 2006 chrisaga's idea. chrisaga wrote: "If you want to make some template customization without building a brand new template, you should use ..." git-svn-id: http://piwigo.org/svn/trunk@2434 68402e56-0260-453c-a942-63ccdbb3a9ee --- language/en_UK/help/extend_for_templates.html | 98 +++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 language/en_UK/help/extend_for_templates.html (limited to 'language/en_UK/help') diff --git a/language/en_UK/help/extend_for_templates.html b/language/en_UK/help/extend_for_templates.html new file mode 100644 index 000000000..8e2c7ac6b --- /dev/null +++ b/language/en_UK/help/extend_for_templates.html @@ -0,0 +1,98 @@ +

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

+ \ No newline at end of file -- cgit v1.2.3