Ignore:
Timestamp:
11/30/08 17:20:31 (3 years ago)
Author:
ArthurClemens
Message:

Item264: rename leftbar to sidebar (because the left bar can now be at the right too)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PatternSkin/data/System/PatternSkinCustomization.txt

    r1080 r1089  
    8585        viewtopbar 
    8686            %TWIKIWEB%.WebTopBar 
    87         viewleftbar 
     87        viewsidebar 
    8888            %WEB%.WebLeftBar 
    8989        viewtopicactionbuttons 
     
    227227 
    228228<pre> 
    229 %<nop>TMPL:INCLUDE{"page"}% 
     229%<nop>TMPL:INCLUDE{"view"}% 
     230%<nop>TMPL:INCLUDE{"viewtopicactionbuttons"}% 
    230231%<nop>TMPL:INCLUDE{"viewtopbar"}% 
    231 %<nop>TMPL:INCLUDE{"viewtoolbar"}% 
    232 %<nop>TMPL:INCLUDE{"viewleftbar"}% 
    233 %<nop>TMPL:INCLUDE{"viewrightbar"}% 
    234 %<nop>TMPL:INCLUDE{"viewtopicactionbuttons"}% 
    235 %<nop>TMPL:INCLUDE{"viewbottombar"}% 
     232%<nop>TMPL:INCLUDE{"viewsidebar"}% 
    236233</pre> 
    237234 
     
    263260---++ Left bar 
    264261 
    265 ---+++ I want to hide the left bar 
     262---+++ I want to hide the side bar 
    266263 
    267264*Using templates:* %BR% 
    268 Omit =%<nop>TMPL:INCLUDE{"viewleftbar"}%= to hide the left bar, or in a custom template clear it using 
    269 <blockquote><verbatim> 
    270 %TMPL:DEF{"leftbar"}%%TMPL:END% 
    271 %TMPL:DEF{"leftbardimensions"}%%TMPL:END% 
     265Omit =%<nop>TMPL:INCLUDE{"viewsidebar"}%= to hide the side bar, or in a custom template clear it using 
     266<blockquote><verbatim> 
     267%TMPL:DEF{"sidebar"}%%TMPL:END% 
    272268</verbatim></blockquote> 
    273269 
    274270*Using style sheets:* %BR% 
    275271See PatternSkinCssCookbookNoLeftBar 
    276  
    277 ---+++ I want to make the left bar wider 
    278  
    279 *Using templates:* %BR% 
    280  
    281 The left bar is 12 em wide by default. 
    282  
    283 *Using templates:* %BR% 
    284 Using either a template or a topic template, copy this definition in your custom template: 
    285  
    286 <blockquote> 
    287 <verbatim> 
    288 %TMPL:DEF{"leftbardimensions"}%#patternOuter { 
    289         margin-left:12em; 
    290 } 
    291 #patternLeftBar { 
    292         width:12em; 
    293         margin-left:-12em; 
    294 }%TMPL:END% 
    295 </verbatim> 
    296 And change the number from 12em to a different value (3 occurrences). 
    297 </blockquote> 
    298  
    299272 
    300273 
Note: See TracChangeset for help on using the changeset viewer.