[TYPO3-project-4-3] XML support in TS
Steffen Kamper
info at sk-typo3.de
Fri Mar 20 09:56:46 CET 2009
Hi,
if you have a field in DB where data is stored in XML it's not possible
to use this in TS.
Of course this is a special of Templavoila, but this extension is heavy
in use, also there are flexform data.
What do you think about Xpath support in TS?
There is a simple extension called best_getflexfield, which does this in
a few lines, that shows that it's not so complex. To give you a short
example how it's used here is one:
lib.flexcontent = CONTENT
lib.flexcontent {
table = tt_content
select {
pidInList = this
where = tx_templavoila_to IN(7)
max = 1
}
renderObj = USER
renderObj {
userFunc = tx_bestgetflexfield_pi1->getFieldValue
dbField = tx_templavoila_flex
flexField = field_xyz/el/field_abc
# default value is sDEF
sheetPointer = sDEF
# default value is lDEF
language = lDEF
# default value is vDEF
valueDef = vDEF
}
}
For sure this could be integrated in TV, but i think it could be useful
for core in generally.
vg Steffen
More information about the TYPO3-project-4-3
mailing list