[TYPO3-dev] Problem with selected records in pi_flexform
JoH asenau
info at cybercraft.de
Fri Sep 25 15:23:06 CEST 2009
> Sebastian Gebhard schrieb:
>> Somewhere the correct uids must be stored, but where?
> I found the uids. They are stored in tx_tagpack_tags_relations_mm.
>
> So, when someone ever tries anything similar:
> You can't get the tag uids with $this->pi_getFFvalue() but you have
> to query them from tx_tagpack_tags_relations_mm like this:
This is the case for any Flexform field of the type group/db that is using
MM tables.
You will just find the number of relations as the field value.
In this case you could still get the tags you want with the function(s)
offered by the tagpack API:
Usually this one should do the job:
getAttachedTagsForElement($elementUid, $elementTable)
HTH
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
TYPO3 workshops: http://workshops.eqony.com
More information about the TYPO3-dev
mailing list