• 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.

Add viewplain template so popups windows can be styled in current skin

To get a topic without any side and top stuff we call template view.plain.tmpl with ?cover=view.plain. This suggests view.plain is a skin, which it isn't.

There is an alternative: change view.plain.tmpl to viewplain.tmpl and call the template with ?template=viewplain.

The same argument goes for view.print.tmpl vs. viewprint.tmpl.

SVN 9052 adds an additional template parameter to launchTheWindow. Example:

launchTheWindow("%SCRIPTURLPATH{"view"}%/", inWeb, inTopic, "", "viewplain" );

AC

I am OK with adding a new mode for plain view, but we should not remove the plain skin. This will break existing apps out there that depend on the plain skin. The plain skin is a real skin, just one without any page decoration.

PTh

Ah, I see that the PlainSkin is still there. smile

I fixed the summary to reflect that.

PTh

It should be there for backwards compatibility. But I see the doc should be updated.

AC

Updated the skin page.

AC

ItemTemplate
Summary Add a ?template=viewplain template for plain view
ReportedBy TWiki:Main.ArthurClemens
Codebase ~twiki4
SVN Range Wed, 01 Mar 2006 build 9022
AppliesTo Engine
Component

Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:9052 TWikirev:13892 TWikirev:13895 TWikirev:13902
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r13 - 2008-01-22 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback