Post-Übersicht

Forum » mh_branchenbuch » RTE extra css styles in Branchenbuch

Write a post ...

«« 1 »»

Author Message

kev

Offline Author

Level 1 (1 %)

 

Posts: 2

Hello
Is there a way to change or add to the "Block style" styles and the "Text styles" style found in the Companies Details RTE when making a new company record.
I use the "TSconfig" to change /added css styles to the default RTE, but I have no idea how to effect the RTE used in branchenbuch module.

Please can some tips / advice be given

Regards,
Kev

P.S. I can read german, but I can't write in german.


Posted: 16.12.09, 16:37

Quote

Martin Hesse

Offline Moderator

Level 9 (55 %)

 

Posts: 150

Hi Kev,

well .. this is a normal RTE-Field, you can add CSS-Classes, DIV-Elements and some other stuff .. all what you want.

Look at this Typoscript-Code:
http://www.typo3forum.net/forum/24846-post5.html

Hope it helps!


Posted: 16.12.09, 21:31

Quote

Guest/Gast

Offline

Level 1 (1 %)

 

Posts: 0

Hi Martin

Thanks for the quick reply. I have now tried various changes to the TS Code, but I still cannot get the RTE (only when adding a new company entry in branchenbuch) to save the “text styles” correctly. The "block style" and "text style" selection menus both display correctly in the RTE when in branchenbuch with the styles I have defined in the HTMLarea.css. When I save the entered text, the "text style" (span tags) are removed from the RTE. The P classes remain as they should

When I make a page content element in a standard Typo3 page using the RTE the “text styles” are saved and display on the front-end as normal (this using the same TS code as use in the branchenbuch section of the website).

After searching the web about the RTE setup and following the found tips/advice I am still not able to get RTE to save the text styles as normal. I have the TS code allowTags = span, etc
in all the correct places (as far as I know).

Is something extra needed in the page TS code that allows the span tags to be saved when working in the branchenbuch?

Happy New year.

Regards,
Kev


Posted: 01.01.10, 21:05

Quote


«« 1 »»

Powered by MH-Dev.-Board (c) 2009 MH-Dev. - Webdevelopment.