Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

Item1074: Remove link from data form table in preview

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
Preview strips out links in the topic text, but leaves the links of the form. 'Click' and you're gone, leaving your fresh data behind.

Now stripping can't be done in Preview.pm, as the form template is rendered by Form.pm.

And Form.pm has the nasty habit to render the form topic name %A_TITLE% as broken link web.topic][topic that just needs a template to add the double brackets. But that makes it impossible to not have the link!

Culprit:

$text =~ s/%A_TITLE%/$this->{web}.$this->{topic}][$this->{topic}/g;

-- ArthurClemens - 14 Feb 2009

ItemTemplate edit

Summary Remove link from data form table in preview
ReportedBy ArthurClemens
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:2497
TargetRelease patch
ReleasedIn 1.0.1
Topic revision: r4 - 23 Feb 2009, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License