[TYPO3-mvc] Is there a general viewhelper for 10.value={text} 10.typolink.parameter={destination}?

Martin Bless m.bless at gmx.de
Tue Aug 28 11:51:56 CEST 2012


Hi Andreas [Kiessling],
hi Sebastian [Schreiber],

>So in your case, this should work
>
><f:cObject typoscriptObjectPath="lib.doTheWork" data="{dest1: dest1,
>more1: more1}" />
>
>Now you should be able to access the values from TS like from a regular
>cObject
>
>10 = TEXT
>10.field = more1
>10.typolink.parameter.field = dest1


Hhm, I must say that I'm in the fluid template of a
wec_contentelements(_demo) element. I don't understand the above.

Q: Where do I find information about that "data" parameter?

Q: Isn't "data" just presetting the real "data" of the content element
   cObject?

To remember, here's what I'm trying to do:

I'm looking for a replacement for:

  10 = TEXT
  10.value = {more1}
  10.typolink.parameter = {dest1}


'more' and 'dest1' are flexform values stored in

# ==================================================
# // tt_content.pi_flexform:
#
<T3FlexForms>
    <data>
        <sheet index="sDEF">
            <language index="lDEF">
                <field index="more1">
                    <value index="vDEF">read more ...</value>
                </field>
                <field index="dest1">
                    <value index="vDEF">157</value>
                </field>
            </language>
        </sheet>
    </data>
</T3FlexForms>
# --------------------------------------------------


Q: Is there a way to get those flexform values simply by TypoScript?


thanks and over!

Martin

-- 
Certified TYPO3 Integrator | TYPO3 Documentation Team Member

http://mbless.de


More information about the TYPO3-project-typo3v4mvc mailing list