You are here: Foswiki>Tasks Web>Item13629 (10 Oct 2015, GeorgeClark)Edit Attach

Item13629: Hide "Title" field in natedit when unused.

pencil
Priority: Urgent
Current State: Closed
Released In: 2.0.2
Target Release: patch
Applies To: Extension
Component: NatEditPlugin
Branches: master
Reported By: KennethLavrsen
Waiting For:
Last Change By: GeorgeClark
I am testing the Foswiki 2.0 and there is a thing I have run into that I know will cause pain if we upgrade using NatEditPlugin

The edit page shows a Title field in the top of the edit window.

You can put some text there. By default I see the topic name.

I have several issues with it

  • People will think it is the topic name. They will think they can rename the topic by changing the default text
  • In any Foswiki topic being part of a structured data application we always have a Title or Headline or Summary field. And people will be confused. They will edit this Title field instead of the real Headline field and they will not understand why the text does not appear later when they view topics listing the topics and showing the Headline

without NatEditSkin this field adds confusion and it seems to not be of any use in a default out of the box Foswiki 2.0

That field should not be there unless it is used and you should be able to turn it off.

I love the NatEdit feature so I would really hate having to diable the whole thing or start hacking the templates (which will be overwritten each time I upgrade)

-- KennethLavrsen - 21 Aug 2015

See also Development.TopicDisplayName

-- MichaelDaum - 24 Aug 2015

OK. So the only use at the moment is the TOPICTITLE

I hope you understand the UI problem when dealing with dataforms.

You actually tailored this task web to show the Summary field instead of Topic Title. So we have the problem right here in Task web and had to deal with it.

If I could either configure the use of the field to any existing form field (must be text field) or turn it off when need with a simple preference then it would solve the problem.

-- KennethLavrsen - 24 Aug 2015

How about a preference setting TOPICTITLE_FIELD. The Title area will only be displayed when this setting is set to some formfield name. For the QuestionForm app on F.O this has to be set to "TopicTitle". For the Tasks web this is going to be "Summary".

The TopicTitle field will be permanently visible once Development.TopicDisplayName is fully implemented.

-- MichaelDaum - 01 Sep 2015
 

ItemTemplate edit

Summary Hide "Title" field in natedit when unused.
ReportedBy KennethLavrsen
Codebase 2.0.1, 2.0.0, trunk
SVN Range
AppliesTo Extension
Component NatEditPlugin
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:bd824876d6f2
TargetRelease patch
ReleasedIn 2.0.2
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:bd824876d6f2
ItemBranchCheckins
Release01x01Checkins
Topic revision: r8 - 10 Oct 2015, GeorgeClark - This page was cached on 25 Aug 2016 - 04:05.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License