• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I need to split up the left bar in a separate patternLeftBarPersonal div and a remaining patternLeftBar (the rest of the left bar below the personal side bar) to be able to give patternLeftBarPersonal its own margins.

Old scenario:

  • twiki.pattern.tmpl inside %TMPL:DEF{"leftbar"}% does an include of %WEB%.WebLeftBar (inside div patternLeftBarContents)
    • WebLeftBar does an include of WebLeftBarLogin (if context can_login)
      • WebLeftBarLogin does an include of the personal left bar (%MAINWEB%.%WIKINAME%LeftBar - derived from WebLeftBarPersonalTemplate)
      • the personal left bar sits inside div patternLeftBarPersonalContent

New scenario:

  • twiki.pattern.tmpl inside %TMPL:DEF{"leftbar"}% does an include of =WebLeftBarLogin= (outside of div patternLeftBarContents) (if context can_login)
    • stays the same: WebLeftBarLogin does an include of the personal left bar (%MAINWEB%.%WIKINAME%LeftBar - derived from WebLeftBarPersonalTemplate)
  • twiki.pattern.tmpl one line later continues to include %WEB%.WebLeftBar

So the main code change is that WebLeftBarLogin (if context can_login) is moved from WebLeftBar to twiki.pattern.tmpl.

SVN 6976 and 6979.

AC


I have reverted the changes to each web can have its own web left bar without login part.

SVN 7084. AC

ItemTemplate
Summary WebLeftBarPersonalTemplate inclusion needs to be restructured for layout reasons
ReportedBy ArthurClemens
AppliesTo Engine
Priority Low
CurrentState Closed
WaitingFor

Checkins 7084
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-10-17 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback