Feature #3428
Configuration via flexform
| 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
[Bug 3428] PHP warning during the OpenImmo import,r=oliver
[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?
- flexform_indexAction_maxItems
- flexform_actions_index_maxItems
- flexform_index_maxItems
- indexAction_maxItems
- actions_index_maxItems
- index_maxItems
- ?
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).