Changeset 522 for branches/Release04x02/data/TWiki
- Timestamp:
- 11/10/08 13:52:10 (4 years ago)
- Location:
- branches/Release04x02/data/TWiki
- Files:
-
- 1 deleted
- 12 edited
- 1 copied
-
. (modified) (1 prop)
-
DefaultPreferences.txt (modified) (1 prop)
-
InstantEnhancements.txt (modified) (2 diffs)
-
MainFeatures.txt (modified) (1 diff)
-
MetaData.txt (modified) (1 prop)
-
PresentationTemplates.txt (deleted)
-
ShortcutMacros.txt (modified) (1 prop)
-
SkinTemplates.txt (copied) (copied from trunk/core/data/TWiki/SkinTemplates.txt)
-
TWikiDocumentation.txt (modified) (1 diff)
-
TWikiGlossary.txt (modified) (1 diff)
-
TWikiJavascripts.txt (modified) (1 diff)
-
TWikiReferenceManual.txt (modified) (1 diff)
-
TWikiSkins.txt (modified) (4 diffs)
-
UserAuthentication.txt (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/Release04x02/data/TWiki
- Property svn:mergeinfo changed
/trunk/core/data/TWiki merged: 521
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/DefaultPreferences.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/DefaultPreferences.txt merged: 521
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/InstantEnhancements.txt
r491 r522 36 36 ---+++ Set Page Background Color 37 37 38 Without getting into the [[ presentation templates]] system yet, you can easily edit the ==view.tmpl== (in the =templates= directory). In the HTML at the top, the body tag has the page background hardcoded to white ==bgcolor="#ffffff"==. You can change that color value to new variable. First, define a new preferences variable in the site-level [[%LOCALSITEPREFS%]], e.g. =* Set =PAGEBGCOLOR = #d0d0d0=, then edit the ==view.tmpl== template file and change ==bgcolor="#ffffff"== to ==bgcolor="%<nop>PAGEBGCOLOR%"==. If you want, you can set the page background color individually per web, simple add a =* Set =PAGEBGCOLOR = #d0d0d0= bullet to the WebPreferences to overload the site-level preferences. (Without font color control, you'll have to stick to light colors.)38 Without getting into the [[skin templates]] system yet, you can easily edit the ==view.tmpl== (in the =templates= directory). In the HTML at the top, the body tag has the page background hardcoded to white ==bgcolor="#ffffff"==. You can change that color value to new variable. First, define a new preferences variable in the site-level [[%LOCALSITEPREFS%]], e.g. =* Set =PAGEBGCOLOR = #d0d0d0=, then edit the ==view.tmpl== template file and change ==bgcolor="#ffffff"== to ==bgcolor="%<nop>PAGEBGCOLOR%"==. If you want, you can set the page background color individually per web, simple add a =* Set =PAGEBGCOLOR = #d0d0d0= bullet to the WebPreferences to overload the site-level preferences. (Without font color control, you'll have to stick to light colors.) 39 39 40 40 ---+++ Titles-Only Topic List - !WebTopicList … … 174 174 ---++ Add Your Favorite <nop>JavaScript Features 175 175 176 You're no doubt familiar or better with HTML, JS, and "webmastering". Without getting into the [[ presentation templates]] system yet, you can easily edit the ==view.pattern.tmpl== (if you are using default pattern skin) (in the =templates= directory) for some dramatic effects. The top of the template is mostly regular HTML with some variables. Open up some space in the ==<head>== area, and you can drop in reliable <nop>JavaScripts - a pop-up window script, for example - or tag it as an external script.176 You're no doubt familiar or better with HTML, JS, and "webmastering". Without getting into the [[skin templates]] system yet, you can easily edit the ==view.pattern.tmpl== (if you are using default pattern skin) (in the =templates= directory) for some dramatic effects. The top of the template is mostly regular HTML with some variables. Open up some space in the ==<head>== area, and you can drop in reliable <nop>JavaScripts - a pop-up window script, for example - or tag it as an external script. 177 177 178 178 * %T% Obviously, you can do the same - place a link to an external stylesheet as well. If you set values for standard HTML tags, you can control a good deal of the type size, style and color with out adding CSS tags. __example__ -
branches/Release04x02/data/TWiki/MainFeatures.txt
r496 r522 15 15 * *Variables:* Use [[TWikiVariables][variables]] to dynamically compose your pages. This allows you for example to dynamically build a table of contents, include other pages, or show a search result embedded in a page. 16 16 * *TWiki plugins:* Easily install program enhancements using external [[TWikiPlugins][plug-in modules]]. Developers can create plug-ins in Perl using the TWiki Plugin API. 17 * *Templates and skins:* A flexible [[ PresentationTemplates][templating system]] separates program logic and presentation. [[Skins]] overwrite template headers and footers; page content is unaffected.17 * *Templates and skins:* A flexible [[SkinTemplates][templating system]] separates program logic and presentation. [[Skins]] overwrite template headers and footers; page content is unaffected. 18 18 * *Managing pages:* Individual pages can be renamed, moved and deleted through the browser. 19 19 * *Managing users:* Web-based [[TWikiRegistration][user registration]] and [[ChangePassword][change of password]]. -
branches/Release04x02/data/TWiki/MetaData.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/MetaData.txt merged: 521
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/ShortcutMacros.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/ShortcutMacros.txt merged: 521
- Property svn:mergeinfo changed
-
branches/Release04x02/data/TWiki/TWikiDocumentation.txt
r519 r522 63 63 [[#PageTop][Back to top]] 64 64 ------ 65 %INCLUDE{" PresentationTemplates"}%65 %INCLUDE{"SkinTemplates"}% 66 66 67 67 [[#PageTop][Back to top]] -
branches/Release04x02/data/TWiki/TWikiGlossary.txt
r496 r522 15 15 | Site: | A TWiki installation consisting of one or more _webs_. [[TWikiSite][Details...]] | 16 16 | Skin: | Skins overlay regular _templates_ with alternate header/footer layout of _pages_; topic text is not affected. Skins are typically enabled site-wide or per _web_. [[TWikiSkins][Details...]] | 17 | Templates: | (1) Regular templates define header/footer layout of _pages_; topic text is not affected. (2) Template topics set the default content for new _topics_. [[ PresentationTemplates][Details...]] |17 | Templates: | (1) Regular templates define header/footer layout of _pages_; topic text is not affected. (2) Template topics set the default content for new _topics_. [[SkinTemplates][Details...]] | 18 18 | Topic: | The content of a TWiki _page_, consisting of text, an optional _form_ and optional _attachments_. It has a WikiName that's unique within its _web_. [[TopicsAndWebs][Details...]] | 19 19 | TWiki: | A web-based collaboration platform targeting the corporate world. Contraction of "TakeFive Wiki". By chance, also happens to be the name of the AI robot star of the Buck Rogers 1979 movie and TV series. Features include browser based editing, automatic linking of text (based on ideas of the original <nop>WikiWikiWeb), revision control, file _attachments_, _form_ handling, _preferences_ settings, access control and more. [[http://TWiki.org/][Details...]] | -
branches/Release04x02/data/TWiki/TWikiJavascripts.txt
r486 r522 1 1 ---+ Javascripts 2 2 3 This topic contains javascript files that are included by presentation templates, and may be used by skin templates and in topics.3 This topic contains javascript files that are included by skin templates, and may be used by skin templates and in topics. 4 4 5 __Related Topics:__ PresentationTemplates, [[Skins]]5 __Related Topics:__ SkinTemplates, [[Skins]] 6 6 7 7 * Set ALLOWTOPICCHANGE = %USERSWEB%.AdminGroup -
branches/Release04x02/data/TWiki/TWikiReferenceManual.txt
r519 r522 20 20 1. [[FileAttachment][File Attachment]] 21 21 1. [[TWikiForms][TWiki Forms]] 22 1. [[ Presentation Templates]]22 1. [[Skin Templates]] 23 23 1. [[TWikiSkins][TWiki Skins (visual layout)]] 24 24 1. [[MetaData]] -
branches/Release04x02/data/TWiki/TWikiSkins.txt
r491 r522 9 9 ---++ Overview 10 10 11 TWiki uses [[ presentation templates]] as the basis of all the screens it uses to interact with users. Each screen has an associated template file that contains the basic layout of the screen. This is then filled in by the code to generate what you see in the browser.11 TWiki uses [[skin templates]] as the basis of all the screens it uses to interact with users. Each screen has an associated template file that contains the basic layout of the screen. This is then filled in by the code to generate what you see in the browser. 12 12 13 13 TWiki ships with a default set of template files that give a very basic, CSS-themable, look-and-feel. TWiki also includes support for _skins_ that can be selected to give different, more sophisticated, look and feels. A default TWiki installation will usually start up with the PatternSkin already selected. Skins may also be defined by third parties and loaded into a TWiki installation to give more options. To see how TWiki looks when *no* skin is selected, [[%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?skin=not_a_skin][view this topic with a non-existant skin]]. … … 32 32 You may want to define your own skin, for example to comply with corporate web guidelines, or because you have a aesthetic vision that you want to share. There are a couple of places you an start doing this. 33 33 34 The [[ presentation templates]] used for skins are located in the =twiki/templates= directory and are named according to the skin: ==<scriptname>.<skin>.tmpl==. Skin files may also be defined in TWiki topics - see PresentationTemplates for details.35 36 To start creating a new skin, copy the default presentation templates (like =view.tmpl=), or copy an existing skin to use as a base for your own skin. You should only need to copy the files you intend to customise, as TWiki can be configured to fall back to another skin if a template is not defined in your skin. Name the files as described above (for example =view.myskin.tmpl=.34 The [[skin templates]] used for skins are located in the =twiki/templates= directory and are named according to the skin: ==<scriptname>.<skin>.tmpl==. Skin files may also be defined in TWiki topics - see SkinTemplates for details. 35 36 To start creating a new skin, copy the default skin templates (like =view.tmpl=), or copy an existing skin to use as a base for your own skin. You should only need to copy the files you intend to customise, as TWiki can be configured to fall back to another skin if a template is not defined in your skin. Name the files as described above (for example =view.myskin.tmpl=. 37 37 38 38 If you use PatternSkin as your starting point, and you want to modify the layout, colors or even the templates to suit your own needs, have a look first at the topics PatternSkinCustomization and PatternSkinCssCookbook. … … 182 182 Controlling the look and feel of attachment tables is a little bit more complex than for the rest of a skin. By default, the attachment table is a standard TWiki table, and the look is controlled in the same way as other tables. In a very few cases you may want to change the _content_ of the table as well. 183 183 184 The format of standard attachment tables is defined through the use of special _TWiki template macros_ which by default, are defined in the =attachtables.tmpl= template using the =%TMPL:DEF= macro syntax described in PresentationTemplates. These macros are:184 The format of standard attachment tables is defined through the use of special _TWiki template macros_ which by default, are defined in the =attachtables.tmpl= template using the =%TMPL:DEF= macro syntax described in SkinTemplates. These macros are: 185 185 | *Macro* | *Description* | 186 186 | =ATTACH:files:header= | Standard title bar | … … 221 221 TWiki uses a _skin search path_, which lets you combine skins additively. The skin path is defined using a combination of TWikiVariables and URL parameters. 222 222 223 TWiki works by asking for a template for a particular function - for example, 'view'. The detail of how templates are searched for is described in PresentationTemplates, but in summary, the templates directory is searched for a file called <code>view.</code><i>skin</i><code>.tmpl</code>, where _skin_ is the name of the skin e.g. =pattern=. If no template is found, then the fallback is to use =view.tmpl=. Each skin on the path is searched for in turn. For example, if you have set the skin path to =local,pattern= then =view.local.tmpl= will be searched for first, then =view.pattern.tmpl= and finally =view.tmpl=.223 TWiki works by asking for a template for a particular function - for example, 'view'. The detail of how templates are searched for is described in SkinTemplates, but in summary, the templates directory is searched for a file called <code>view.</code><i>skin</i><code>.tmpl</code>, where _skin_ is the name of the skin e.g. =pattern=. If no template is found, then the fallback is to use =view.tmpl=. Each skin on the path is searched for in turn. For example, if you have set the skin path to =local,pattern= then =view.local.tmpl= will be searched for first, then =view.pattern.tmpl= and finally =view.tmpl=. 224 224 225 225 The basic skin is defined by a =SKIN= setting: -
branches/Release04x02/data/TWiki/UserAuthentication.txt
- Property svn:mergeinfo changed
/trunk/core/data/TWiki/UserAuthentication.txt (added) merged: 521
- Property svn:mergeinfo changed
Note: See TracChangeset
for help on using the changeset viewer.
