Skip to content

Commit

Permalink
Item1545: qualified link for Set (VIEW|EDIT)_TEMPLATES is needed
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x00@4186 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
AndreUlrich authored and AndreUlrich committed Jun 17, 2009
1 parent 0bf1e43 commit 4135229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/data/System/SkinTemplates.txt
Expand Up @@ -100,8 +100,8 @@ For example, the =example= template file will be searched for in the following p
I. =%SYSTEMWEB%.ExampleTemplate=

Template names are usually derived from the name of the currently executing script; however it is also possible to override these settings in the =view= and =edit= scripts, for example when a topic-specific template is required. Two [[%SYSTEMWEB%.PreferenceSettings][preference settings]] can be used to override the skin templates used:
* =VIEW_TEMPLATE= sets the template to be used for viewing a topic
* =EDIT_TEMPLATE= sets the template for editing a topic.
* =VIEW_TEMPLATE= sets the template to be used for viewing a topic. (full qualified link with web needed: =Web.TopicName=)
* =EDIT_TEMPLATE= sets the template for editing a topic. (full qualified link with web needed: =Web.TopicName=)
If these preferences are set locally (using _Local_ instead of _Set_) for a topic, in WebPreferences, in [[%LOCALSITEPREFS%]], or [[%SYSTEMWEB%.DefaultPreferences]] (using _Set_), the indicated templates will be chosen for =view= and =edit= respectively. The template search order is as specified above.

---++ TMPL:INCLUDE recursion for piecewise customisation, or mixing in new features
Expand Down

0 comments on commit 4135229

Please sign in to comment.