[TYPO3-templavoila] How to configure a TV-field to be of type
Ron Hall
ronslists at busynoggin.com
Sun Feb 27 17:04:57 CET 2011
Hello Žiga,
> However, TV-Page BE module does not display any content. (If I set element preset back to Page-content elements, it displays content, but does not use the lib.field_content code I have in my main site template.)
>
> The question is - is it possible to have the best of both worlds? :)
Not that I am aware of. If you want to place content elements in the field it must be of the type "Page-content elements." In that case if you need to modify the output you would write TypoScript in the TypoScript tag in that field within the XML of the data structure. You cannot bring the TS from outside in that scenario.
The "Typoscript Object path" type for the field will bring in TypoScript external to the DS but you cannot use it to place content elements in the page module.
Thanks,
Ron Hall
Busy Noggin, Inc.
a web development agency
www.busynoggin.com
templavoila.busynoggin.com
Twitter: busynoggin (general web tweets)
Twitter: typo3ron (for TYPO3 specific tweets)
Facebook: Keep track of Busy Noggin, Inc. by clicking "like" on our Facebook page:
http://www.facebook.com/BusyNogginInc
On Feb 27, 2011, at 8:28 AM, Žiga Dolhar wrote:
> Hello list,
>
> In my template and DS, I have "field_content", which holds and displays main content of my website. However, as I wanted to "outsource" the typoscript to main TS-template, I changed its "element preset" from "Page-content elements" to "Typoscript Object path" and set object path to "lib.field_content".
>
> This works as it should (or, as I expected it to work ;)).
>
> However, TV-Page BE module does not display any content. (If I set element preset back to Page-content elements, it displays content, but does not use the lib.field_content code I have in my main site template.)
>
> The question is - is it possible to have the best of both worlds? :)
>
> Thank you,
>
> Žiga Dolhar
> _______________________________________________
> TYPO3-project-templavoila mailing list
> 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