Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Getting Started > Templates > Typo3 Over riding settings in RTE
Total Posts: 2 - Pages (1): [1]
Author: David Reed
Posted: Jun 26 2008 - 10:20 AM
Subject: Typo3 Over riding settings in RTE
Hi all,

For some reason, TYPO3 appears to be overriding settings in the RTE on pages. An example is here:

http://ctkconnection.org/contact/

The contact information is centered in the RTE, but when published it always justifies left. I have cleared caches, and attempted to center several times, all with the same result.

Has anyone run into this problem before?
Author: Jeff Segars
Posted: Jun 30 2008 - 03:00 PM
Subject: re: Typo3 Over riding settings in RTE
David,
It looks like TYPO3 4.2 had some RTE changes that we didn't properly account for in the Starter Package. In the past, the RTE generated inline styles for the various paragraph alignments, but it now sets a paragraph class instead. Since our default stylesheets don't include this class, it doesn't end up doing much good

The solution is to reference the RTE's stylesheet that does actually include definitions for these classes. You can do this by adding the following to the setup portion of the Typoscript page template on the main page of your site.

CODE:

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="|" />


Hope that helps!
Jeff
Total Posts: 2 - Pages (1): [1]
You must login to post a message to this conference.