CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #7173

TS-setting for separator of checkbox/radiobutton-output

Added by Michael Bakonyi about 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2010-04-08
Priority:Could have Due date:
Assignee:Reinhard Führicht % Done:

0%

Category:View
Target version:Beta 5 (v0.9.8)
Votes: 0

Description

Currently the array-elements of checkbox- and radiobuttons get "glued" with a comma before they get output in the View.

Would be nice to have the possibility to set an userdefined symbol or tag for separating the the array-elements of the checkbox- and radiobuttons-values.

patch_9.9.7-formhandler_valueSeparator.diff (763 Bytes) Michael Bakonyi, 2010-04-08 14:46

History

Updated by Reinhard Führicht about 3 years ago

  • Status changed from New to Accepted
  • Assignee set to Reinhard Führicht
  • Target version set to Beta 5 (v0.9.8)

Seems acceptable.
I will integrate it after having finished the current tests.

Updated by Michael Bakonyi about 3 years ago

Reinhard Führicht wrote:

Seems acceptable. I will integrate it after having finished the current tests.

Hm, I've realized now that there's a problem with my patch: when adding a tag like "br" as separator this tag gets shown in the plaintext-mails aswell. I think we need a different handling for HTML- and plaintext-output here, like two TS-settings for plain and HTML. I don't know where to best check for the template-mode, as I'm not so deep into programming yet.

Updated by Reinhard Führicht almost 3 years ago

  • Status changed from Accepted to Resolved

Just committed changes to trunk.

plugin.Tx_Formhandler.settings {
  arrayValueSeparator = ,
  finishers.1 {
    class = Finisher_Mail
    config {
      admin {
        plain.arrayValueSeparator = |
        html.arrayValueSeparator = <br />
      }
      user {
        plain.arrayValueSeparator = |
        html.arrayValueSeparator = <br />
      }
    }
  }
}

Updated by Michael Bakonyi almost 3 years ago

Reinhard Führicht wrote:

Just committed changes to trunk.

[...]

Great, thx!

Also available in: Atom PDF