This question about Configuration, Not sure...: More info required

Pick from a List in WebCreateNewTopic not working

When you create a new Topic in foswiki, you can choose a "Topic parent" by clicking on "Pick from a list" or by typing it in the text box.

Typing in works fine, but when i click on the link "Pick from a list" nothing happens. It worked in foswiki version 1.1.5, but I dont know since which date or after which action it is not working anymore. I tried it with IE and Firefox. I also can't see anything in debug.log, error.log or events.log.

What does actually happen, if i click on this link? Where could be the problem?

Here you can see the working function in the Sandbox Web: WebCreateNewTopic

In a already existing topic, I can click on "more topic actions" and then under "Set new topic parent" on "Pick from a list" here the list will be shown correctly.

-- KlausReithmaier - 09 Apr 2013

Click on the desired topic, that should highlight it. Then click the create button, which opens the editor. When you save the topic, it should now have a parent of the highlighted entry.

Clicking in the list doesn't actually do anything, other than cause the topicparent field to be set to the highlighted entry in the POST to the manage script when you click the "Create this Topic" button.

I just tried it on 1.1.8 and it seemed to work here. If the highlighted entry is not set as the parent, we'd need to get more information on how to recreate the issue.

-- GeorgeClark - 10 Apr 2013

I think, I have to describe it more clearly. Usually I have two ways to select a topic parent in the WebCreateNewTopic topic:
  1. I can type in a topic name in the text box below "Topic parent:" If i click on "Create this topic", my browser POSTs this string to foswiki.
  2. I can click on "Pick from a list". Then all available topics are shown in a the list instead of the text box. Then I have to select a topic. If I click on "Create this topic", my browser POSTs the selected item from the list as string to foswiki.
But the second way isn't working, because the list isn't shown. I also started debugging of foswiki:

The way it should be (I tried it with the foswiki installation on foswiki.org): The list loads in background when you open the topic "WebCreateNewTopic". If you click on "Pick from a list" this list is shown by the twisty-plugin. You can see the list items in in a wireshark dump or with any browser in debugging mode on foswiki.org, but not on my foswiki installation. The list isn't loaded there.

E.g. the list for the "Sandbox" web can be shown through the link: System/ParentList?section=select;web=Sandbox;cover=text;selected=

This link is working in foswiki.org and in my foswiki. I saw, that this link is generated by the javascript pub/System/JavascriptFiles/foswikiWebTopicCreator.js in foswiki.org. But in my foswiki installation, this javascript is not called, but it exists. My foswiki loads the script pub/System/PatternSkin/webtopiccreator.js instead.

Maybe the problem is there?

-- KlausReithmaier - 10 Apr 2013

Is this an upgraded Foswiki or a completely new install? If it's upgraded, check your configuration settings bin/configure under Extensions / JQuery tab, and make sure that the configured version of jquery is available on your system (Should be JQuery 1.8.2 on Foswiki 1.1.8) and the JQuery theme is set to Foswiki. If it's a new installation, then I'd expect these to be set correctly, but it's best to check anyway.

-- GeorgeClark - 10 Apr 2013

Hi George,

I'm seeing the same problem as Klaus in all three of our Foswiki installations (all upgrades to 1.1.8). JQueryVersion is set to "jquery-1.8.2" and JQueryTheme is set to "foswiki". My entire JQuery configuration is below. Any other suggestions would be greatly appreciated.

Many thanks, Devin


$Foswiki::cfg{Plugins}{JQueryPlugin}{Enabled} = 1;
$Foswiki::cfg{Plugins}{JQueryPlugin}{Module} = 'Foswiki::Plugins::JQueryPlugin';
$Foswiki::cfg{JQueryPlugin}{Debug} = 0;
$Foswiki::cfg{JQueryPlugin}{MemoryCache} = 1;
$Foswiki::cfg{JQueryPlugin}{IconSearchPath} = 'FamFamFamSilkIcons, FamFamFamSilkCompanion1Icons, FamFamFamFlagIcons, FamFamFamMiniIcons, FamFamFamMintIcons';
$Foswiki::cfg{JQueryPlugin}{NoConflict} = 0;
$Foswiki::cfg{JQueryPlugin}{DefaultPlugins} = '';
$Foswiki::cfg{JQueryPlugin}{JQueryVersion} = 'jquery-1.8.2';
$Foswiki::cfg{JQueryPlugin}{JQueryTheme} = 'foswiki';
$Foswiki::cfg{JQueryPlugin}{Plugins}{Autocomplete}{Enabled} = 0;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Bgiframe}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Button}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{BlockUI}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Chili}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Corner}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Cookie}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Cycle}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Debug}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Easing}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Farbtastic}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Focus}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Form}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Foswiki}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{FluidFont}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Gradient}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{HoverIntent}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{InnerFade}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{LiveQuery}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{LocalScroll}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{MaskedInput}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Masonry}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Media}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Metadata}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{PNotify}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{PopUpWindow}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{QueryObject}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Rating}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{ScrollTo}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{SerialScroll}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Shake}{Enabled} = 0;
$Foswiki::cfg{JQueryPlugin}{Plugins}{ShrinkUrls}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{SimpleModal}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Slimbox}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Superfish}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Supersubs}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Tabpane}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{TextboxList}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Themeswitcher}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Tooltip}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Treeview}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{UI}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Validate}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{WikiWord}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Base}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Flickr}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Lightness}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Redmond}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Smoothness}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{Foswiki}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Placeholder}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Nifty}{Enabled} = 0;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Tmpl}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Autocomplete'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Resizable'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Draggable'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Accordion'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Tabs'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Slider'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Dialog'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Button'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Datepicker'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{'UI::Progressbar'}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Plugins}{Loader}{Enabled} = 1;
$Foswiki::cfg{JQueryPlugin}{Themes}{PatternSkinTheme}{Url} = '$Foswiki::cfg{PubUrlPath}/$Foswiki::cfg{SystemWebName}/PatternSkinTheme/jquery-ui.css';
$Foswiki::cfg{JQueryPlugin}{Themes}{PatternSkinTheme}{Enabled} = 1;

-- DevinBougie - 08 Oct 2013

Same problem at http://trunk.foswiki.org/Main/WebCreateNewTopic

As far as I investigated the templates on foswiki/trunk, this is an error in PatternSkin. The WebCreateNewTopicTemplate uses the "script" TMPL to add javascript to the page. However this component was renamed to "head:script" for some reason. So the templates never load the javascript to initialize the application correctly.

-- MichaelDaum - 09 Oct 2013

Moving over from TWiki and working on the latest version of Foswiki (2.1.3), I'm missing this functionality as well, not so much when creating a new topic (which I usually do starting from the parent topic), but when using the "More topic actions" link, where the "Pick from a list" is also missing. Is there a workaround / solution?

-- StijnBousard - 13 Jun 2017

I just tried it on this topic. The dialog has changed from a "pick from list" which was extremely slow, pre-populated with all topics, to an ajax where it does a search as you pause in typing the topic name. I was able to change this topic's parent to FAQ, and then went back and changed it to SupportQuestions. If the topic already has a parent, the box is pre-filled with the current parent as a html "hint" - grey text. Just click and start typing over it with the first few characters of the desired parent's name.

-- GeorgeClark - 13 Jun 2017

OK, nice! But a hint next to the input field to tell the user it's an autocomplete field would be convenient as well.

-- StijnBousard - 13 Jun 2017
 

QuestionForm edit

Subject Configuration, Not sure...
Extension
Version Foswiki 1.1.8
Status More info required
Related Topics
Topic revision: r11 - 25 Jul 2019, StijnBousard
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy