- Timestamp:
- 11/30/08 17:20:31 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PatternSkin/data/System/PatternSkinCustomization.txt
r1080 r1089 85 85 viewtopbar 86 86 %TWIKIWEB%.WebTopBar 87 view leftbar87 viewsidebar 88 88 %WEB%.WebLeftBar 89 89 viewtopicactionbuttons … … 227 227 228 228 <pre> 229 %<nop>TMPL:INCLUDE{"page"}% 229 %<nop>TMPL:INCLUDE{"view"}% 230 %<nop>TMPL:INCLUDE{"viewtopicactionbuttons"}% 230 231 %<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"}% 236 233 </pre> 237 234 … … 263 260 ---++ Left bar 264 261 265 ---+++ I want to hide the leftbar262 ---+++ I want to hide the side bar 266 263 267 264 *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% 265 Omit =%<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% 272 268 </verbatim></blockquote> 273 269 274 270 *Using style sheets:* %BR% 275 271 See PatternSkinCssCookbookNoLeftBar 276 277 ---+++ I want to make the left bar wider278 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 299 272 300 273
Note: See TracChangeset
for help on using the changeset viewer.
