[TYPO3] Problem adding header classes to rtehtml
Benjamin Todd
b.todd at emnet.co.uk
Tue Feb 27 10:22:02 CET 2007
Hi Brian,
You need to set the allowed classes using these lines:-
# Set the styles selectable in the RTE 'paragraph' dropdown
RTE.default.classesParagraph = [classes here] (not dots)
# Set the allowed classes
RTE.default.proc.allowedClasses = [classes here] (not dots)
HTH,
Ben :)
------------------------
Benjamin Todd
Linux Web Developer
b.todd at emnet.co.uk
EMNET, PO Box 559, Nottingham, NG1 3LB
Tel: +44 (0)115 956 8260
Fax: +44 (0)115 956 8264
www.emnet.co.uk
Company Registration No. 3144383 - VAT No. 694 620 609 - Registered
Office: Church House, 13-15 Regent Street, Nottingham NG1 5BS
www.emnetsolutions.co.uk
Company Registration No. 05384178 - VAT No. 856 671 781 - Registered
office: Church House, 13-15 Regent Street, Nottingham, NG1 5BS
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Brian
Bendtsen
Sent: 26 February 2007 01:47 PM
To: typo3-english at lists.netfielders.de
Subject: [TYPO3] Problem adding header classes to rtehtml
Hi
I have been trying to add some predefined classes to the rtehtml but
only one of them are available.
This is my TSconfig:
RTE.default.contentCSS = fileadmin/templates/css/content_rte.css
RTE.classes {
subheader-one.name = Kontakt overskrift
subheader-two.name = Bullit overskrift
}
and this is my stylesheet content_rte.css:
h1.subheader-one {
color: #000;
font-weight: bold;
width: 100%;
border-bottom: 1px solid #000;
margin: 0px;
font-size: 0.9em;
}
h1.subheader-two {
list-style-image: url('../images/arrow_grey.gif');
font-weight: bold;
color: #555;
font-size: 1em;
}
I can only choose "Kontakt overskrift" from the rtehtml, what am I doing
wrong?
/Brian Bendtsen
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Scanned for viruses by MailDefender
More information about the TYPO3-english
mailing list