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

Item4128: Create default directive for non-view pages

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Initiated by TWiki:Codev.TemplateUnification.

Default skin is an exception, but skins tend to offer quite a different display for non-view templates. app.pattern.tmpl is a utility template for 'application pages' (pages that have single focus, like edit and attach) that is especially useful for add-ons that use topic templates.

So instead of

... and a redefined content DEF, he can use:
%TMPL:DEF{"appcontent"}% my contents %TMPL:END%

I propose to support this in the default templates as well by creating app.tmpl.

-- TWiki:Main/ArthurClemens - 24 May 2007

As Sven noticed, this is totally redundant as it can be set in twiki.tmpl.

-- TWiki:Main.ArthurClemens - 27 May 2007

Non-view pages now simply use:

%TMPL:DEF{"content"}% my content %TMPL:END%

-- TWiki:Main.ArthurClemens - 27 May 2007

I made a mistake in the topic css (to be included in templates). This should be templatestyle, in line with templatescript, and included in the html head.

Grrr, wrong item. Checkin should have been done in Item4142.

-- TWiki:Main.ArthurClemens - 09 Jun 2007

Edit | Attach | Watch | Print version | History: r26 < r25 < r24 < r23 < r22 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r26 - 2008-01-22 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback