[TYPO3] Funky Heading

serge vleugels serge.vleugels at uniway.be
Thu Oct 19 12:16:32 CEST 2006


Susanne Moog wrote:
> Scotty C schrieb:
>> - Take the text from the Left column and place it in
>> #heading1#
> 
> I have a solution, but only if it is enough to write "head offices" 
> there and not the whole content from the left column.
> 
>>>>
>>>> subparts.TOPHEADING < styles.content.getLeft
>>>> subparts.TOPHEADING.1 = TEXT
>>>> subparts.TOPHEADING.1 {
>>>> offset = 100,1
>>>>      fontSize = 15
>>>>      fontColor = black
>>>>      fontFile = fileadmin/fonts/ARCHITRN.TTF
>>>> }
>>>>
> 
> subparts.TOPHEADING = IMAGE
> subparts.TOPHEADING {
> 
>     file = GIFBUILDER
> 
>   file {
> 
>     XY = 120, 50
> 
>     transparentBackground = 1
> 
>     10 = TEXT
> 
>     10 {
> 
>       text = Head Offices
> 
>       fontSize = 15
> 
>       fontFile = fileadmin/fonts/ARCHITRN.TTF
> 
>       fontColor = black
> 
>       offset = 10,10
> 
>     }
> 
>   }
> 
> }
> 
> If you have the marker on every site you have to wrap all of this into a 
> condition (see TSref -> conditions), so that it only appears on the 
> contact page.
> 
> HTH,
> 
> Susanne
> 
> 
another suggestion is to use the advanced setting of a page and use the 
description field of that page and use that field to dynamically 
generate the page header.

then use:
  text.data = page:description // page:title
in this case it will use page description and if this one is empty, it 
will use page title.

Hope this helps,

Serge Vleugels



More information about the TYPO3-english mailing list