Feature #17309

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

Added by Jo Hasenau over 12 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%

PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
PRC

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)

Associated revisions

Revision 096c9819 (diff)
Added by Georg Ringer about 3 years ago

[FEATURE] Get flexform data in getText()

It is now possible to access the content of a flexform property
in TypoScript.

Resolves: #17309
Releases: master
Change-Id: I80c68597908fc16083c52dc135abbebf94179e4c
Reviewed-on: https://review.typo3.org/49639
Tested-by: Bamboo TYPO3com <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Mathias Brodala <>
Reviewed-by: Stefan Neufeind <>
Tested-by: Stefan Neufeind <>
Reviewed-by: Jigal van Hemert <>
Tested-by: Jigal van Hemert <>

History

#1 Updated by Martin Kutschker over 12 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 over 6 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 over 6 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 over 6 years ago

  • Status changed from Needs Feedback to New

#5 Updated by Marc Bastian Heinrichs over 6 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 about 6 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 almost 5 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 over 4 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 over 4 years ago

  • Sprint Focus set to PRC

#10 Updated by Alexander Opitz over 4 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 about 3 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 about 3 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 about 3 years ago

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

#14 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF