[TYPO3] Filtering typo3 output
Tyler Kraft
headhunterxiii at yahoo.ca
Wed Jan 10 19:54:52 CET 2007
mmm... I think you just need to have the classes set up in the RTE
Make sure the below things are set correctly in your rte:
RTE {
## Define labels and styles to be applied to class selectors in the
interface of the RTE. The examples included here make partial re-use of
color scheme and frame scheme from CSS Styled Content extension
classes {
align-left {
name = align-left
class = align-left
}
align-center {
name = align-center
class = align-center
}
align-right {
name = align-right
class = align-right
}
align-jusity{
name = align-justify
class = align-justify
}
align-normal{
name = inline
class = align-normal
}
}
default {
classesImage = align-left, align-center, align-right, align-normal
classesImage.default = align-normal
proc {
allowedClasses = external, internal, download, mail, align-left,
align-center, align-right, align-inline, align-justify
entryHTMLparser_db = 1
entryHTMLparser_db {
tags {
img >
}
}
}
}
}
And then make sure both your live css stylesheet, and the one for your
rte have:
img.align-left{}
img.align-right{}
hth
dieter orens wrote:
> yes, that was my intention, but the rte doesn't same to save the classes
> :-(
>
> Tyler Kraft schreef:
>> ...and one step further if done through the RTE you can then just set
>> up a few simple classes to handle the positioning of it... thus
>> reducing the html AND css. :-)
>>
>>
>>
>> Christopher Torgalson wrote:
>>> Hello,
>>>
>>> On 1/10/07, dieter orens <reddesertvandriver at gmail.com> wrote:
>>>> thanks, you've been a great help so far.
>>>> Maybe I'll just leave the text with image-element.. just too bad you
>>>> can't just include an image in the new RTE of the 'text-element'.. I
>>>> recall this was possible with the earlier version of typo3?
>>>
>>>
>>> Yes you can. You have to turn it on though. Go to the extension
>>> manager and click on the htmlarearte extension's name and look through
>>> the options--there's a checkbox for enabling images.
>>>
>>>
More information about the TYPO3-english
mailing list