简体   繁体   English

TYPO3 7.6:正文文本html输出有错字?

[英]TYPO3 7.6: bodytext html output with typoscript?

After I upgraded TYPO3 from 6.2.9 to 7.6.15 the bodytextfield isn't parsed as HTML anymore. 将TYPO3从6.2.9升级到7.6.15后,bodytextfield不再解析为HTML。 My typoscript creates XML output and I need the bodytext as HTML output. 我的打字稿创建XML输出,我需要将正文作为HTML输出。

...
  10 = CONTENT
  10 {
    table = tt_content
    select {
      where = colPos=0
      orderBy = sorting
      selectFields = image,header,bodytext
      languageField = sys_language_uid
  }

  wrap = <items>|</items>


  renderObj = COA
  renderObj {

    wrap = <item>|</item>


    10 = TEXT  
    10 {
      wrap = <title>|</title>
      field=header
    }

    20 = TEXT  
    20 {
      wrap = <text><![CDATA[ | ]]></text>
      field = bodytext
      parseFunc = < lib.parseFunc_RTE
    }
...

I think the lib.parseFunc_RTE is not working anymore? 我认为lib.parseFunc_RTE不再工作了吗?

Using =< you are referencing to lib.parseFunc_RTE. 使用= <可以引用lib.parseFunc_RTE。 If it gets deleted somewhere in your Typoscript, the reference will be lost. 如果它在您的Typoscript中的某处被删除,则引用将丢失。 Check out the Template -> Typoscript if lib.parseFunc_RTE is still present in your Typoscript. 如果lib.parseFunc_RTE仍然存在于您的Typoscript中,请查看模板-> Typoscript。

You also can try to not reference it by just copying it 您也可以尝试通过仅复制它而不引用它

parseFunc < lib.parseFunc_RTE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM