[TYPO3-templavoila] create default content

Dmitry Dulepov typo3 at fm-world.ru
Mon Jan 2 09:19:08 CET 2006


Michael Perkhofer wrote:
> For some of my pages, the client wants to add 'teaser images' to the
> page. Till now, I solved this using the 'Media' Field of the 'Extended
> Page Type' and this Typoscript code:
> lib.teaserimage = IMAGE
>    lib.teaserimage {
>       file = fileadmin/template/images/teaser_img.jpg
>       file.import.data = levelmedia: -1, "slide"
>       file.import = uploads/media/
>       file.import.listNum = 0
>       file.import.override.field = media
> }
> Now I would like to make the same using TemplaVoila. Its easy to add a
> content element using the wizards for an image, which I can access using
> the TV Page module. But in this case, I have to add an image on every
> page. As you can see on the TypoScript snippet above, I would like to
> have the possibility for a default image, if none is specified and - if
> one is given, it should be used down the actual pagetree.
> I liked the TV solution, because its much easier for my clients to add
> images, than to go into 'edit page header', switch to 'Extended', etc..
> Perhaps you have an indea,

Does TypoScriptObjectPath field type solve this problem?


More information about the TYPO3-project-templavoila mailing list