| <<O>> Difference Topic FlexibleSkin (r1.7 - 26 Feb 2003 - AntonioTerceiro?) |
| Changed: | |
| < < |
|
| > > | |
| Added: | |
| > > |
|
| <<O>> Difference Topic FlexibleSkin (r1.6 - 12 Feb 2003 - AntonioTerceiro?) |
| Changed: | ||
| < < |
FlexibleSkin | |
| > > |
FlexibleSkin: A flexible skin to TWiki. | |
| Changed: | ||
| < < |
Pendências | |
| > > |
Goals | |
| Changed: | ||
| < < |
Rever:
| |
| > > | This project aims to build a flexible Skin to TWiki ... | |
| Added: | ||
| > > |
| |
| Changed: | ||
| < < |
Faltando adequar os templates para:
| |
| > > | Comments about design, bugs and other implementation stuff about FlexibleSkin must be put in FlexibleSkinDev?. | |
| Changed: | ||
| < < | Não vai rolar de revisar todos os templates, vai dar muito trabalho. | |
| > > |
Variables | |
| Changed: | ||
| < < |
Implementação da imitação da skin default do TWiki: | |
| > > | FlexibleSkin uses some variables (at global level -- -- for using FlexibleSkin globally, or at web level for using it on some web) to get some information for displaying. They are: | |
| Changed: | ||
| < < | ||
| > > |
Special topicsThese topics will serve as layout containers for the web: the content of each of them will be put at the final layout, each one in some predefined position. If the topic doesn't exist, no content will be put in that location of the layout. When referencing the current topic being seen at the layout-part topic, remember to use the %INCLUDINGTOPIC% TWiki variable instead of %TOPIC%. Let's see the defined special topics used by FlexibleSkin ...FlexibleSkinStyleSheetThis topic will be printed at the HTML result of a page view, in the place reserved to that page's CSS stylesheet. It must contain a CSS stylesheet specification. Is must begin and end with the verbatim tag (to prevent TWiki from putting HTML tags inside it), ant must have theSTARTINCLUDE and the STOPINCLUDE directives, to prevent TWiki to put the verbatim tag in topics that are including FlexibleSkinStyleSheet .
Example of the desired content of the FlexibleSkinStyleSheet topic:
<verbatim> %STARTINCLUDE% /* CSS classes definition ... */ %STOPINCLUDE% </verbatim> FlexibleSkinLeftBar?This topic will be included at the left side of the layout, as a left-menu. To change font, colors and other stuff you must set a CSS class at the FlexibleSkinStyleSheet topic namedTD.WebLeftBar .
FlexibleSkinRightBar?This topic will be included at the right side of the layout, as a right-menu. To change font, colors and other stuff you must set a CSS class at the FlexibleSkinStyleSheet topic namedTD.WebRightBar .
FlexibleSkinTopBarThis topic will be included at the top of the layout, as a top-menu. To change font, colors and other stuff you must set a CSS class at the FlexibleSkinStyleSheet topic namedTD.WebTopBar .
FlexibleSkinBottomBarThis topic will be included at the bottom of the layout, as a bottom-menu. To change font, colors and other stuff you must set a CSS class at the FlexibleSkinStyleSheet topic namedTD.WebBottomBar .
FlexibleSkinTopicHeader?This topic will be included at the begin of the current topic's content, as a page header. It will use the same CSS style as the content of the topic, i.e., the CSS classTD.WebContent .
FlexibleSkinTopicFooter?This topic will be included at the end of the current topic's content, as a page footer. It will use the same CSS style as the content of the topic, i.e., the CSS classTD.WebContent .
FlexibleSkinPrintingHeaderThis topic will be included at the end of the current topic's content, as a page footer, when it is shown with the FlexibleSkin's 'printable' skin(add a ?skin=globalFlexibleprint to the topic's URL if using FlexibleSkin globally, or ?skin=flexibleprint if using locally on some web). It will use the same CSS style as the content of the topic, i.e., the CSS classTD.WebContent .
FlexibleSkinPrintingFooterThis topic will be included at the end of the current topic's content, as a page footer, when it is shown with the FlexibleSkin's 'printable' skin(add a ?skin=globalFlexibleprint to the topic's URL if using FlexibleSkin globally, or ?skin=flexibleprint if using locally on some web). It will use the same CSS style as the content of the topic, i.e., the CSS classTD.WebContent .
Installing FlexibleSkin
Using Flexible SkinUsing FlexibleSkin globally with TWikiIf you want a flexible layout for your TWiki installation, and want it to be applied to all your webs, you can use this feature to do that. The instructions to do this setup are below. Choosing this option will make FlexibleSkin get the layout topics and the variables used by it from the TWiki web. FlexibleSkin provides default layout topics in the TWiki web, trying to mimic the default TWiki skin, but you can change them -- add the other possible layout topics -- if you want. The default topics are:
Using FlexibleSkin locally on one webThis choice will apply FlexibleSkin to one specific, overriding the global SKIN variable and global layout topics. FlexibleSkin will get the layout topics and variables used by it from the web where you use this option.Setting FlexibleSkin up
Avaliable Translated MessagesThere will be avaliable translated messages file versions, look for them at the attchments list at the end of this topic. To translate FlexibleSkin, download the translated messages file, rename it tomessages.flexible.tmpl, and put it in the place of that one in templates/ subdirectory of your TWiki installation directory.
CSS ExampleThese examples are for who needs a starting point on how to set CSS with FlexibleSkin. Some classes may appear a little redundant with all those element names, but experience with different browsers show that it's a good practice to do it, because CSS interpreting is not standard across the web browsers. As a recommended reading, see the CSS 2 recomendation, at http//www.w3c.org/TR/CSS2. Also, there are an enormous ammount of material about CSS in the internet, you can easily find a lot of tutorials on CSS. If you want to suggest some CSS example, please do it in FlexibleSkinDev?.Green links, nice font
| |
| Deleted: | ||
| < < | -- AntonioTerceiro? - 11 Jan 2003 | |
| <<O>> Difference Topic FlexibleSkin (r1.5 - 12 Feb 2003 - AntonioTerceiro?) |
| Changed: | |
| < < |
|
| > > |
|
| <<O>> Difference Topic FlexibleSkin (r1.4 - 11 Feb 2003 - AntonioTerceiro?) |
| Changed: | |
| < < |
|
| > > |
|
| Changed: | |
| < < |
|
| > > |
|
| Deleted: | |
| < < | Faltando rever cópias dos seguintes arquivos: |
| Changed: | |
| < < |
|
| > > |
Faltando adequar os templates para:
|
| Added: | |
| > > | |
| <<O>> Difference Topic FlexibleSkin (r1.3 - 14 Jan 2003 - Main.terceiro) |
| Changed: | |
| < < | |
| > > | %META:TOPICPARENT{name="WebHome"}% |
| Added: | |
| > > | TOC: No TOC in "TWiki.FlexibleSkin" |
| Added: | |
| > > |
Implementação da imitação da skin default do TWiki: |
| <<O>> Difference Topic FlexibleSkin (r1.2 - 12 Jan 2003 - Main.terceiro) |
| Changed: | |
| < < | Rever/escrever os templates para as ações: |
| > > |
Rever:
|
| <<O>> Difference Topic FlexibleSkin (r1.1 - 11 Jan 2003 - Main.terceiro) |
| Added: | |
| > > |
%META:TOPICINFO{author="terceiro" date="1042321246" format="1.0" version="1.1"}%
FlexibleSkinPendênciasRever/escrever os templates para as ações:
|
| Topic FlexibleSkin . { View | Diffs | r1.7 | > | r1.6 | > | r1.5 | More } |
|
Revision r1.1 - 11 Jan 2003 - 21:40 GMT - Main.terceiro Revision r1.7 - 26 Feb 2003 - 12:54 GMT - AntonioTerceiro? |
Copyright © 2003 by the contributing authors. All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback |