Tags:
create new tag
, view all tags

Question

I have a form that I created where I populate a select field with a list of users. This list of users is correctly populated in the form in regular EDIT mode, but not the WYSIWYG mode. In WYSIWYG mode I get the same error as Sean Stevens in BlogAddOnKupuCategoryProblem:

TWiki Installation Error Incorrect format of searchformat template (missing sections? There should be 4 %SPLIT% tags)

The form I'm using is shown below (I changed the user lookup to only look for names starting with Z to limit the number of hits returned):


| *Name* | *Type* | *Size* | *Values* | *Tooltip message* | *Attributes* | 
| Date | date | 10 | 26 Jul 2007 |  | M |
| Who | select | 1 | %SEARCH{"META:FORM.*[U]serForm" web="%MAINWEB%" topic="Z*" type="regex" casesensitive="on" nosearch="on" format="$topic" sort="topic" nofinalnewline="off" separator=", " excludetopic="Test*, TWiki*" nonoise="on"}% | Creator or Contributor | M |

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin, CommentPlugin, DatabasePlugin, EditTablePlugin, ImagePlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TagMePlugin, TwistyPlugin, WysiwygPlugin
Server OS: Windows XP Professional SP2
Web server: Apache 2.0.55
Perl version: ActiveState Perl v5.8.7
Client OS: Windows XP Professional SP2
Web Browser: Firefox 2.0.0.6
Categories: Plugins

-- JohnChong - 09 Aug 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Just wanted to say that I have the same problem. Does anybody have a solution for this?

-- ReneSchaffrath - 22 Aug 2007

My best advice is to upgrade WysiwygPlugin and install TinyMCEPlugin instead. I have not done any work on Kupu for some time, and am unlikely to have a chance in the near future either.

-- CrawfordCurrie - 22 Sep 2007

-- CrawfordCurrie - 22 Sep 2007

On my local install, I was able to work around this problem -- but be warned, I'm pretty new to TWiki, Kupu, and certainly the interaction of the two -- so I'm really just observing that this removed the symptom and hoping I didn't break anything else.

$ cd .../twiki/templates $ chmod u+w . $ cp searchformat.tmpl searchformat.kupu.tmpl $ chmod u-w .

I don't know what searchformat template the kupu skin was finding before; from what I can find I'd have thought it was falling back to searchformat.tmpl anyway, but apparently not... so if kupu was deliberately changing something in the searchformat template, then this fix may break it.

But, at least for the moment and unless/until I hear or find otherwise, this seems to work.

-- MarkAdelsberger - 17 Oct 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-10-17 - MarkAdelsberger
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.