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

Feature #3428

Configuration via flexform

Added by Susanne Moog about 4 years ago. Updated over 2 years ago.

Status:New Start date:2009-05-22
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

Currently just configuration by TS is possible. Should be possible via flexform, too.

Associated revisions

Revision 24787
Added by Bernd Schönbach over 3 years ago

[Bug 3428] PHP warning during the OpenImmo import,r=oliver

Revision 24790
Added by Bernd Schönbach over 3 years ago

[Bug 3428] PHP warning during the OpenImmo import,r=oliver

History

Updated by Steffen Müller almost 4 years ago

Q1: What configurations did you think of?

The TS has only two options ATM:

actions.index {
  maxItems = 5 
  sortBy = firstname
}

Q2: Where to put the locallang labels of the FF?
piBase style would be to use locallang_db.xml. But personally I don't like this. I'd add a new file locallang_flexforms.xml or better locallang_ff.xml. What do you think? Are there any drawback? Does this fit into typo3.org translation processes?

Q3: What naming convention to use for the items inside the locallang file?
  1. flexform_indexAction_maxItems
  2. flexform_actions_index_maxItems
  3. flexform_index_maxItems
  4. indexAction_maxItems
  5. actions_index_maxItems
  6. index_maxItems
  7. ?

For example:


# flexform_ds.xml
<maxItems>
  <TCEforms>
    <label>LLL:EXT:addresses/Resources/Private/Language/locallang_ff.xml:indexAction_maxItems</label>
(...)

# locallang_ff.xml
<label index="indexAction_maxItems">Maximum items</label>

Q4: Do you know any docs with reference to naming conventions?

Updated by Susanne Moog almost 4 years ago

Steffen Müller wrote:

Q1: What configurations did you think of?

Well of course it's not really much at the moment, but later I want to have a selectbox for single addresses or addressgroups to be displayed, the current ts options as well as additional/custom html templates for the different views.

Q2: Where to put the locallang labels of the FF? piBase style would be to use locallang_db.xml. But personally I don't like this. I'd add a new file locallang_flexforms.xml or better locallang_ff.xml. What do you think? Are there any drawback? Does this fit into typo3.org translation processes?

I don't know about typo3.org translation processes, that would be something Dmitry should know, but I'd also use a custom locallang for flexforms, it's simply more clear (and I'm actually using custom locallangs in pibase extension, too).

Q3: What naming convention to use for the items inside the locallang file?

I would use indexAction_maxItems, but I think this should be discussed/decided on the mvc mailinglist (or perhaps it's already decided and we just don't know).

Q4: Do you know any docs with reference to naming conventions?
Unfortunately not, actually the only doc I found until now is the one listed at http://wiki.typo3.org/Fluid#Other_resources (the PDF doc).

Also available in: Atom PDF