[TYPO3-templavoila] create default content
Michael Perkhofer
michael.perkhofer at uibk.ac.at
Fri Dec 30 13:46:22 CET 2005
Hi!
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,
Michael.
More information about the TYPO3-project-templavoila
mailing list