[TYPO3-english] Upgraded to 4.2, having problems with RTE changes.

Typo Three typo3 at pitsolutions.com
Mon Jan 18 10:43:50 CET 2010


Hi,

  Try the following code above page = PAGE in your code
temp.headTemplate = TEXT
temp.headTemplate.value = <link rel="stylesheet" type="text/css" href=" path of your needed css file" />

Regards,
typo three
http://www.pitsolutions.ch/



----- Original Message ----
From: Cameron <themselves at gmail.com>
To: typo3-english at lists.typo3.org
Sent: Mon, January 18, 2010 12:17:24 PM
Subject: [TYPO3-english] Upgraded to 4.2, having problems with RTE changes.

Hi everyone, I've got a site that's been upgraded to 4.2, and I followed the
instructions on webempoweredchurch.com, and for the most part it has worked
perfectly, except for the RTE.

If you have a look at:
http://webempoweredchurch.com/no_cache/support/classes/upgradingypo342/?tx_wecknowledgebase_pi1[tt_news]=380

you'll see it mentions "Immediately below the last line that starts with
"page.headerData.1" add these lines to include the additional RTE styles
file in your template:

page.headerData.2 = TEXT
page.headerData.2.data = path:EXT:rtehtmlarea/res/
contentcss/default.css
page.headerData.2.wrap = <link rel="stylesheet" type="text/css" href="|" />"


Well, I don't have a page.headerData.1, or anything like it, it's all loaded
in an external TS file. So looking in there, I find something like this:

page = PAGE
page {
        typeNum = 0
        headerData.10 < temp.headTemplate
        10 < temp.mainTemplate

        config.doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

        htmlTag = <html xmlns="http://www.w3.org/1999/xhtml">
        bodyTag = <body>
        # bodyTag
        bodyTag >

        bodyTagCObject = TEXT
        bodyTagCObject.field = uid
        bodyTagCObject.wrap = <body id="page-|">
}

And try as I might, I can't seem to work out how to get the headerData stuff
above to work with this code below. I know I suck at TS, but this one is
driving me crazy - am I even in the right place? Am I doing it all wrong?
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list