DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Disable The RTE For Fertenews

07.13.2006
| 3802 views |
  • submit to reddit
        // description of your code here


### Javascript configuration for HTMLArea
### Change this in your typoscript template to reconfigure rte

plugin.tx_fertenews_pi1 {
 templateFile = {$plugin.tx_fertenews_pi1.file.template}
 newsTemplateFile = {$plugin.tt_news.file.templateFile}
 storagePID = {$plugin.tx_fertenews_pi1.storagePID}
 newsPID = {$plugin.tx_fertenews_pi1.newsPID}
 mailAdmin = {$plugin.tx_fertenews_pi1.mailAdmin}
 queuePublish = {$plugin.tx_fertenews_pi1.queuePublish}
}

### Allowing news to show tables and other html formating

plugin.tt_news.general_stdWrap.parseFunc.allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6,table,td,tr,tbody
plugin.tt_news.content_stdWrap.allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6,table,td,tr,tbody