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

We use a lot of form-based wiki pages for naive users, and want these naive users to be using WYSIWYG by default when editing new pages, so we have a lot of pages created by links to URLs like .../bin/edit?topicparent=X&templatetopic=Y&formtemplate=Z

So we need these parameters to be obeyed (they are not due to the way beforeCommonTagsHandler in WysiwygPlugin.pm work)


Reported earlier as Item869, Item949 & Item1410.

Is mentioned as a known issue in the wysiwyg editor page, listed bugs has some details on why (Cairo compatibility).

Would love to see this feature as well, but timing is not right. Deferring.

-- SP

Ok, as this is behavior is not acceptable in production use, I will try to find a workaround and post it here: have new topic creation revert to the standard text editor if topicparent, templatetopic, or formtemplate is defined as URL params (should be a quick-n-dirty hack stopgap optional patch to Cairo, waiting for a proper one for dakar)

-- CN

Done, the attached patch topic-creation-with-kupu-unless-templates.patch patches lib/TWiki/UI/Edit.pm of Cairo to allow

  • Editing of new topics via kupu is %COMPOSER% is set to kupu (per site, web or per user)
  • unless if formtemplate, templatetopic or topicparent was specified in the URL
This behavior is then quite satisfactory for us, we can wait for a proper solution.

-- CN

CN, could you update this patch against SVN? I'm afraid I can't see where it fits.

-- SP


Undeferred, post Dakar CC
  • Fixed templatetopic in SVN 8779
  • formtemplate and topicparent already worked as expected

CC

ItemTemplate
Summary On editing non existing topics, obey topictemplate and formtemplate as url parameters
ReportedBy TWiki:Main.ColasNahaboo
Codebase

SVN Range Fri, 27 Jan 2006 build 8562
AppliesTo Extension
Component WysiwygPlugin
Priority Urgent
CurrentState Closed
WaitingFor

TargetRelease major
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch topic-creation-with-kupu-unless-templates.patch r1 manage 0.7 K 2006-01-30 - 11:51 UnknownUser allow new topic creation via kupu, except if template was specified
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r10 - 2006-02-14 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback