Feature #17309

Add a property to stdWrap.data to access values from flexforms

Added by Jo Hasenau about 14 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2007-05-14
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
Needs Decision

Description

It would be nice to have the option of accessing flexform fields directly from stdWrap.data.

Something like

10 = TEXT
10.data = flex:fieldname|sheetname|flexformfield|table

Where
fieldname = name of the flexform field out of the given sheet
sheetname = label of the sheet to use (if no sheet is set, use the default sheet)
flexformfield = fieldname of the DB field containing the flexform (if nothing is set, use tt_content.pi_flexform)
table = table to get the field from (can be pages or tt_content)

Do you think this is possible to do in a more or less logicall way?

(issue imported from #M5632)

#1

Updated by Martin Kutschker almost 14 years ago

I think it's possible, but you shouldn't be able to specify the table. IMHO this should simply work on the current row/data, whatever table it comes from.

#2

Updated by Alexander Opitz about 8 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

#3

Updated by Jo Hasenau about 8 years ago

AFAIK it's not yet possible to access flexform data the way it is described in the report.
So IMHO this would be a cool feature for 6.2 LTS

#4

Updated by Alexander Opitz about 8 years ago

  • Status changed from Needs Feedback to New
#5

Updated by Marc Bastian Heinrichs almost 8 years ago

  • Category set to TypoScript
  • Target version set to 6.2.0
  • TYPO3 Version changed from 4.1 to 6.2
  • PHP Version changed from 4.3 to 5.3

I have made a xclass for stdWrap "field" to access the flexform data quite some time ago.

Will try to push a patch before feature freeze :-)

#6

Updated by Ernesto Baschny over 7 years ago

  • Target version deleted (6.2.0)

Would have been a cool 6.2 feature indeed, but sadly no time for it anymore. Please consider it for future TYPO3 versions, this is not the last one. :)

#7

Updated by Mathias Schreiber over 6 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Mathias Schreiber

Is this done with #20767?

#8

Updated by Riccardo De Contardi about 6 years ago

@Mathias Schreiber umm...no I don't think it is the same thing

AFAIK at the present time, the only way to access flexforms data is using the extension EXT:cobj_xpath
http://docs.typo3.org/typo3cms/extensions/cobj_xpath/Tutorials/UsingXpathToReadFlexformValues/Index.html

#9

Updated by Susanne Moog almost 6 years ago

  • Sprint Focus set to PRC
#10

Updated by Alexander Opitz almost 6 years ago

  • Subject changed from Add a property to stdWrap.data to access values form flexforms to Add a property to stdWrap.data to access values from flexforms
  • Status changed from Needs Feedback to New
  • Assignee deleted (Mathias Schreiber)
#11

Updated by Gerrit Code Review almost 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49639

#12

Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49639

#13

Updated by Georg Ringer almost 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#14

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
#15

Updated by Benni Mack about 1 year ago

  • Sprint Focus changed from PRC to Needs Decision

Also available in: Atom PDF