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


/ Published in: TYPO3
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.