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
--
JohnChong - 09 Aug 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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