On Tue, Apr 7, 2009 at 8:38 PM, Joko Nurjadi
<
fountain_melody@...> wrote:
> Hi,
>
> I want to display a content (eg. login box, image) in every page (at sidebar) of my website, I just can think the way to do this is add the same content (or insert record) manually in every page, is there any simpler way to do this, since I have many pages? Thanks.
1. Modify the DS / TO in TemplaVoila.
2. Add a new element to your DS.
3. Editing Type should be a "TypoScript Object Path", name it
something like: lib.mytestelement
4. Map it where you want to the element to be shown.
5. Add the content element and remember the UID of the content element.
6. Go into your template and add the following:
lib.mytestelement= COA
lib.mytestelement{
10 = RECORDS
10.tables = tt_content
10.source = [UID OF YOUR CONTENT ELEMENT]
}
Clear the cache et voilĂ :)
Cheers,
Andy
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english