Feature #5250

Custom Fields may allow full text transformation

Added by Vincent-Xavier JUMEL over 7 years ago. Updated about 4 years ago.

Status:ClosedStart date:2010-04-06
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Custom fields
Target version:-
Resolution:Duplicate

Description

It would be interesting to allow administrators to define custom fields that transform the input in a link. That would be quite useful to link to another external resource.


Related issues

Related to Redmine - Feature #5794: URL custom fields Closed 2010-07-01
Related to Redmine - Feature #1179: Optionally allow Text and Long Text custom fields support... Closed 2008-05-05
Related to Redmine - Feature #1358: Link_to for Custom Field Closed 2008-06-03
Duplicated by Redmine - Feature #10398: Add a new custom field type with tags replacements Closed

History

#1 Updated by Emmanuel Charpentier over 7 years ago

  • % Done changed from 0 to 20

Here is a way to turn all custom fields into textiled fields:

[source:trunk/app/helpers/issues_helper.rb#L82], change simple_format_without_paragraph into textilizable.

This displays all custom fields as wiki fields.

Making it optional is probably more complex... But having it for all should be all right, at least as a start, no?

#2 Updated by Jean-Baptiste Henry over 7 years ago

Hi, i have the same demand.
But in the 0.9.3 version, the source of issues_helper.rb is not the same at all.
I can't find simple_format_without_paragraph.

I've search in all helpers files:

Search "simple_format_without_paragraph" (2 hits in 2 files)
  \apps\redmine\app\helpers\wiki_helper.rb (1 hits)
    Line 54:     simple_format_without_paragraph(words.join(' '))
  \apps\redmine\app\helpers\application_helper.rb (1 hits)
    Line 475:   def simple_format_without_paragraph(text)

#3 Updated by Eric Davis over 7 years ago

  • Category set to Custom fields
  • Status changed from New to 7
  • Assignee set to Eric Davis
  • % Done changed from 20 to 0

I've been working on a few ideas to do this. I'm hoping to get it to a point where plugins can add their own.

Here's a prototype plugin where I'm working on for this exact problem: http://github.com/edavis10/redmine_url_custom_field

#4 Updated by Jean-Baptiste Henry over 7 years ago

I'm glad you've found another way to do this.

I am impatient to see the result.

#5 Updated by Eric Davis about 7 years ago

  • Assignee deleted (Eric Davis)

#8 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from 7 to New

Assigned issue with no assignee back to New status.

#9 Updated by Jean-Philippe Lang about 4 years ago

#10 Updated by Jean-Philippe Lang about 4 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

See #1358.

Also available in: Atom PDF