[TYPO3-ttnews] Help me plz !!! I have a trouble

Christian Lerrahn typo3 at penpal4u.net
Wed Mar 1 07:00:23 CET 2006


On Wed, 22 Feb 2006 18:49:21 -0800
Nguyen Duc Hung <duchung1111 at yahoo.com> wrote:

> I have HTML mark
>   +================================================+
>   |           |                    |               |
>   |           |                    |               |
>   |###RIGHT###|   ###CONTENT###    | ###LEFT###    |
>   |           |                    |               |
>   |           |--------------------|               |
>   |           |###ES###| ###NEWS###|               |
>   |           |        |           |               |
>   |           |        |           |               |
>    ------------------------------------------------+
>   |            ###BORDER_CONTENT###                |
>   |                                                |
>   +================================================+
> 
> 
> What can i define the mark ###NEWS### to contain tt_news in that . I Kno 
> w that i must define in TS setup but i dun kno how to define . Help me 
> plz . Considerate I want to display LIST NEWS . Help me plz !!!

If I understand correctly, you want tt_news to use this space all the
time, independent of what page people are on? In other words, the
template has a a tt_news element at that point all the time?

If you want to do this you have to set up a news element somewhere on
an invisible page and then use a code like
temp.newsPart = RECORDS
temp.newsPart {
  tables = tt_content
  source = XX
}
where XX is the id of the tt_news plugin you inserted above. (You get
this id by just moving the mouse over the icon of the plugin.)

Then copy the temp object to the relevant subpart like you do with
the other subparts, too:
...subparts.NEWS < temp.newsPart

Voilà! You're done!

Wasn't that easy? ;-)

Cheers,
Christian

-- 
    Jakob  sprach  zu  seinem Hause: Tut von euch die fremden Götter,
    die unter euch sind, und reinigt euch.
    
    1.Mose 35,2
    
    "Es war nahe das Passafest der Juden; und viele  aus  der  Gegend
    gingen  hinauf  nach  Jerusalem  vor  dem  Fest,  dass  sie  sich
    reinigten."
    
    Johannes 11,55
    



More information about the TYPO3-project-tt-news mailing list