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

Item4116: KupuContrib does not work when using custom VIEW_TEMPLATE (with patch)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension KupuContrib Normal Closed   n/a  

Edit Form Data

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


I'm working with TWiki Webs with personalized layout, defined changing the VIEW_TEMPLATE

The edit mode is getting all the page for edit, then i did a little change on the page twiki-dir/templates/edit.kupu.tmpl line 372:

<iframe id="kupu-editor" class="kupu-editor-iframe" frameborder="1"

The change was add the template=pattern on the URL.

-- TWiki:Main.AurelioAHeckert - 22 May 2007

I confirm this problem, but the sollution is to use template=view, and not template=pattern. Attached a patch that solves the problem.

-- TWiki:Main.AntonioTerceiro - 11 Jun 2007

Since I was having this problem in a server I had no control of, I found a workaround for it. In WebPreferences:

  • Set SKIN = xxx, pattern
  • Set VIEW_TEMPLATE = yyy

Then I renamed my YyyTemplate topic to XxxSkinYyyTemplate, and everything worked (AFAICT).

-- TWiki:Main.AntonioTerceiro - 11 Jun 2007

I applied Antonio's patch


Summary KupuContrib does not work when using custom VIEW_TEMPLATE (with patch)
ReportedBy TWiki:Main.AurelioAHeckert
Codebase 4.0.4, 4.1.2
SVN Range TWiki-4.1.2, Fri, 18 May 2007, build 13796
AppliesTo Extension
Component KupuContrib
Priority Normal
CurrentState Closed

Checkins TWikirev:14120 TWikirev:14121
TargetRelease n/a

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatdiff KupuContrib_VIEW_TEMPLATE.diff r1 manage 0.7 K 2007-06-11 - 21:48 UnknownUser forces template=view so custom VIEW_TEMPLATE does not break using KupuContrib
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-06-14 - TWikiUserMapping_CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback