Se afișează postările cu eticheta typo3. Afișați toate postările
Se afișează postările cu eticheta typo3. Afișați toate postările

miercuri, 21 iulie 2010

Typo3 tt_news singleView resize image

I had problems in resizing the image displayed in the single view of tt_news(3.0.1). Using the maxWidth function didn't make thinks better. It seems I had to write in the setup the following line:
plugin.tt_news.displaySingle.image.file.width = value

Of course, you will replace "value" with the desired size.

This may sound stupid, but it took me a while to figure it out.

vineri, 16 iulie 2010

Typo3 syntax highlighting

The new Typo3, Typo3 4.4, doesn't have the highlighting extension installed by default. I tried other extensions but in the end, what I should have done first actually, I looked in the sysext and found it there. T3editor.

luni, 12 iulie 2010

Typo3 Add Custom CSS Classes to the TYPO3 RTE

I unsuccessfully tried for a whole day to add new classes with the rte style sheet. It seems that the rte classes don't work anymore with Typo3 4.

So, this won't work

RTE {
default {
# link to site css stylesheet
contentCSS = fileadmin/templates/css/screen/content.css

# clear typical styling
classesAnchor >
classesLinks =
# set classes available to these properties. Paragraph is another name
# for block
classesCharacter := addToList(coding, note, important, warning)
classesParagraph := addToList(coding, note, important, warning, float_left, center, float_right)
classesTD := addToList(sub)
classesTable := addToList(full, fixed)

# list all available classes here, otherwise they're removed on RTE save
proc.allowedClasses := addToList(coding, note, important, warning, float_left, center, float_right, sub, full, fixed)
}
}


Luckily for me I speak German and found the solution on a German forum. It's easy, just change from rtehtmlarea to tinymce_rte. It has lots of other cool features, so, I highly recommend it.

Careful, don't take tinyrte. It's not being maintained anymore.