[TYPO3] Jp_pageteaser and graphical heading

Øyvind Frøland oyvind at uniweb.no
Tue Jan 17 11:12:11 CET 2006


Hi.

I am running Typo3 3.8.0 and I am using CSS Styled Content. I have 
installed Page Teaser (jp_pageteaser), and I am currently trying to make 
the graphical headings work. I have therefore created a template file in 
my template storage (SysFolder) containing the appropriate code 
(according to the documentation - see below) and am trying to call this 
from my MAIN-template (see below). I am, however, not capable of making 
this work. Does this relate to the fact that I am running CSS Styled 
Content?

Snippets:


ext:Teaser Headline

plugin.tx_jppageteaser_pi1 {
headline.NO = IMAGE
headline.NO.file = GIFBUILDER
headline.NO.file {
    XY = [5.w]+5,22
    backColor = #000000
    5 = TEXT
    5 {
        text = {tx_jppageteaser_pi1:headline}
        antiAlias = 1
        offset = 0,16
        align = left
        fontSize = 14
        fontFile =
        fontColor= #FFFFFF
        spacing = 0
    }
}

#At the moment you have to define all options for the normal state and 
the rollover state.
#The from Typo3 known copy command "<" doesn't work at the moment.

headline.RO = IMAGE
headline.RO.file = GIFBUILDER
headline.RO.file {
XY = [5.w]+5,22
backColor = #000000
5 = TEXT
5 {
        text = {tx_jppageteaser_pi1:headline}
        antiAlias = 1
        offset = 0,16
        align = left
        fontSize = 14
        fontFile =
        fontColor= #FF0000
        spacing = 0
        }
    }
}

----------------------------------------------------------------------------------------------------------

ext: Main TEMPLATE cObject

# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
...
#Substitute the ###tx-jppageteaser-pi1-headline### subpart
subparts.tx-jppageteaser-pi1-headline < plugin.tx_jppageteaser_pi1
...
}



More information about the TYPO3-english mailing list