[TYPO3-templavoila] Can I use a field of page template in TS setup?
Matthias
mawe at typeofundefined.com
Thu Mar 28 09:07:54 CET 2013
Should be just this:
lib.menuMain {
10 = TEXT
10 {
data = field:field_stile
wrap = <div id="mainMenu" class="|">
}
Am Dienstag, 26. März 2013 um 10:04 schrieb Simone Paolinelli:
> Thanks a lot for your reply, and sorry for the missing code.
>
> Here is my code with some comments that are old tests. The problem is
> that i would use a TV field in a "classic" TS template...
>
>
> lib.menuMain {
> 10 = TEXT
> 10 {
> # data = register:tx_templavoila_pi1.parentRec.field_stile
> data = register:tx_templavoila_pi1.field_stile
> # data = TSFE:page|tx_templavoila_flex:field_stile
> wrap = <div id="mainMenu" class="|">
> }
> ...
>
>
>
>
> Il 26/03/2013 08:19, Matthias ha scritto:
> > Example code would be helpful in identifying what might be wrong.
> >
> > But in general you should be able to do things like that easily (TS Setup):
> >
> > 10 = TEXT
> > 10.field = field_your_templavoila_field
> >
> > Works for me.
> >
> >
> > Am Montag, 25. März 2013 um 12:00 schrieb Simone Paolinelli:
> >
> > > Hi to all,
> > >
> > > I have a problem retriving a value of a page template field and use it
> > > for specify a class in a HMENU defined in TS setup.
> > >
> > > How can I use a field of page template in TS setup?
> > >
> > > Thanks in advance.
> > > Simone
> > > _______________________________________________
> > > TYPO3-project-templavoila mailing list
> > > TYPO3-project-templavoila at lists.typo3.org (mailto:TYPO3-project-templavoila at lists.typo3.org)
> > > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
> >
>
>
>
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.typo3.org (mailto:TYPO3-project-templavoila at lists.typo3.org)
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
More information about the TYPO3-project-templavoila
mailing list