【发布时间】:2014-02-19 15:23:20
【问题描述】:
如何从 TYPO3 中的 Ajax 页面中删除 CSS Styled conted header 输出?
这是我的打字稿:
ajax = PAGE
ajax {
typeNum = 1234
# this solution is working, but then I don't have flexform values
# 10 < tt_content.list.20.myextension_pi1
10 < styles.content.get
10 {
select.where = colpos = 0
select.andWhere = list_type='myextension_pi1'
}
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:application/json
xhtml_cleaning = 0
admPanel = 0
debug = 0
no_cache = 1
}
}
这是我的 Ajax 结果 - Hello World 是 tt_content 标头:
<h2 class="csc-firstHeader">Hello World</h2>{"valid":false}
我已经尝试过了,但没有成功:
lib.stdheader >
lib.header >
这将影响所有页面类型,对于标准输出,我想保留 tt_content 标头输出。
【问题讨论】:
标签: typo3 typoscript