Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ajax/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ajax 类型3-Extbase引导->;运行忽略内容元素';s记录存储页_Ajax_Typo3_Storage_Record_Extbase - Fatal编程技术网

Ajax 类型3-Extbase引导->;运行忽略内容元素';s记录存储页

Ajax 类型3-Extbase引导->;运行忽略内容元素';s记录存储页,ajax,typo3,storage,record,extbase,Ajax,Typo3,Storage,Record,Extbase,我有一个扩展,它添加了一个名为“Products”的自定义内容元素。 我正在尝试进行ajax分页。当我尝试使用styles.content.get获取产品列表时,产品被正确呈现,但是当我使用extbase方式时,我没有得到任何产品 自定义页面类型: ajaxProductList = PAGE ajaxProductList { typeNum = 6 config { disableAllHeaderCode = 1 additionalHea

我有一个扩展,它添加了一个名为“Products”的自定义内容元素。 我正在尝试进行ajax分页。当我尝试使用styles.content.get获取产品列表时,产品被正确呈现,但是当我使用extbase方式时,我没有得到任何产品

自定义页面类型:

ajaxProductList = PAGE
ajaxProductList {
    typeNum = 6

    config {
        disableAllHeaderCode = 1
        additionalHeaders = Content-type:text/html
    }

    # WORKING
    10 < styles.content.get
    10.where = CType='products_main'

    # NOT WORKING
    10 = USER
    10 {
        userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
        extensionName = Products
        pluginName = Main
        vendorName = Vendor
    }
}

您错过了
10=USER
示例中的
flexform
配置。您好,这里没有涉及flexform。我很确定您错了<代码>类型3 CMS不会神奇地添加设置;)
persistence.storagePid = 116