[TYPO3] htmlarea-settings in defaultPageTSconfig doesnt work
Tomas Havner
tomas.havner at kansli.lth.se
Tue Nov 20 09:32:45 CET 2007
The following code works perfectly in the tsconfig of a rootpage
RTE {
default {
contentCSS = fileadmin/template/lucss/rte.css
showTagFreeClasses = 1
hideButtons = class, textstylelabel, textstyle, formatblock, subscript,
superscript
toolbarOrder = bar, blockstylelabel, blockstyle, bar, bold, italic,
underline, bar, left, center, right, justifyfull, bar, orderedlist,
unorderedlist, outdent, indent, bar, insertcharacter, link, image, table,
bar, findreplace, bar, chMode, inserttag, removeformat, bar, copy, cut,
paste, bar, undo, redo, linebreak, toggleborders, bar, tableproperties,
bar, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit,
bar, columninsertbefore, columninsertafter, columndelete, columnsplit, bar,
cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit,
cellm
classesParagraph = newIconList3pil, newIconList3pdf, newIconList3doc,
newIconList3xls, newIconList3ppt, newIconList3dat
allowedClasses = newIconList3pil, newIconList3pdf, newIconList3doc,
newIconList3xls, newIconList3ppt, newIconList3dat
proc {
allowedClasses = newIconList3pil, newIconList3pdf, newIconList3doc,
newIconList3xls, newIconList3ppt, newIconList3dat
}
disableRightClick = 1
}
}
But since i have something like 30 websites in my installation i dont want
to the code in every rootpage.
But when i put the same code inside
$TYPO3_CONF_VARS['BE']['defaultPageTSconfig']= in localconf.php it doesnt
work.
What am i doing wrong? Is there a better way to do this. I dont want to hack
the sourcecode of htmlarea.
Regards
Tomas
More information about the TYPO3-english
mailing list