Posted By

wackysalut on 10/22/08


Tagged

object embed typoscript YouTube RTE param


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

maddesigns
rob-ot


How to enable the use of object, param, embed tags into normal Text w/Image boxes


 / Published in: TYPO3
 

This config allows the use of object tags into normal text boxes, allowing to embed your favourite YouTube clip into your page content.

  1. In the Template SETUP section:
  2.  
  3. lib.parseFunc.allowTags := addToList(object,param,embed)
  4. lib.parseFunc_RTE.allowTags := addToList(object,param,embed)
  5.  
  6.  
  7.  
  8. In the PAGE TSconfig:
  9.  
  10. RTE.default.proc.allowTags := addToList(object, param, embed)
  11. RTE.default.proc {
  12. allowTags := addToList(object, param, embed)
  13.  
  14. // CONTENT TO RTE
  15. RTE.default.proc.HTMLparser_rte.allowTags < RTE.default.proc.allowTags
  16.  
  17. // CONTENT TO DATABASE
  18. HTMLparser_db.allowTags < RTE.default.proc.allowTags
  19.  
  20. // Entry HTML parser
  21. entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
  22. }

Report this snippet  

You need to login to post a comment.