TWiki Skins | |||||||||||||||||||||||||||||||||||||||||||
Line: 66 to 66 | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Using Cascading Style Sheets | |||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||
< < |
The regular templates files currently do not use style sheets. Many skin developers choose to use them, it helps in separating style from content. | ||||||||||||||||||||||||||||||||||||||||||
> > |
Although work is underway at TWiki:Codev.CssClassNames, the regular templates files currently do not use style sheets. Many skin developers, however, choose to use them; it helps in separating style from content. | ||||||||||||||||||||||||||||||||||||||||||
Example: To use a style sheet for the broadcast message, add this to view.myskin.tmpl :
| |||||||||||||||||||||||||||||||||||||||||||
Line: 86 to 86 | |||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||
> > |
Attachment TablesControlling 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 ay as other tables. In a very few cases you may want to change the content of the table as well. The format of standard attachment tables is defined through the use of special TWiki template macros which by default are defined in thetemplates/twiki.tmpl template using the %TMPL:DEF macro syntax described in TWikiTemplates. These macros are:
ATTACH:row macros are expanded for each file in the attachment table, using the following special tags:
twiki.tmpl template file. However, to simplify upgrading, you should avoid doing this. Instead, write a skin-specific template file e.g. attach.myskin.tmpl and use %TMPL:INCLUDE{attach.myskin.tmpl}% to include it in each of your skin files. As long as it it included after twiki.tmpl, your macro definitions will override the defaults defined there.
| ||||||||||||||||||||||||||||||||||||||||||
Packaging and Publishing SkinsSee TWiki:Plugins/SkinPackagingHowTo and TWiki:Plugins/SkinDeveloperFAQ | |||||||||||||||||||||||||||||||||||||||||||
Added: | |||||||||||||||||||||||||||||||||||||||||||
> > |
Browsing Installed SkinsYou can try all installed skins in TWikiSkinBrowser. | ||||||||||||||||||||||||||||||||||||||||||
Activating SkinsA skin can be activated in two ways: | |||||||||||||||||||||||||||||||||||||||||||
Line: 103 to 138 | |||||||||||||||||||||||||||||||||||||||||||
The ?skin=name URL parameter overrides the SKIN Preference value.
| |||||||||||||||||||||||||||||||||||||||||||
Changed: | |||||||||||||||||||||||||||||||||||||||||||
< < |
-- PeterThoeny - 05 Jan 2003 | ||||||||||||||||||||||||||||||||||||||||||
> > |
-- TWiki:Main.PeterThoeny - 25 Jul 2004 -- TWiki:Main.CrawfordCurrie - 30 Jun 2004 |