Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.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
Typo3 Type3 9.5.4(带slug)忽略get参数';类型';_Typo3_Yaml_Typoscript_Slug_Typo3 9.x - Fatal编程技术网

Typo3 Type3 9.5.4(带slug)忽略get参数';类型';

Typo3 Type3 9.5.4(带slug)忽略get参数';类型';,typo3,yaml,typoscript,slug,typo3-9.x,Typo3,Yaml,Typoscript,Slug,Typo3 9.x,我想切换typo3网站的类型,例如xml或json输出,但系统忽略get参数类型。我不知道我做错了什么或者是否有bug 打字稿示例 testtype = PAGE testtype.typeNum = 13 testtype.10 = TEXT testtype.10.value = test testtype.config.disableAllHeaderCode = 1 我的站点配置 您使用PageType RouteHander,当它处于活动状态时,您必须映射您使用的所有页面类型。否则它

我想切换typo3网站的类型,例如xml或json输出,但系统忽略get参数类型。我不知道我做错了什么或者是否有bug

打字稿示例

testtype = PAGE
testtype.typeNum = 13
testtype.10 = TEXT
testtype.10.value = test
testtype.config.disableAllHeaderCode = 1
我的站点配置


您使用PageType RouteHander,当它处于活动状态时,您必须映射您使用的所有页面类型。否则它将从url中剥离

此外,PageType RouteEndhancer应该是您配置的最后一个增强器,因为它修改了现有的路由变体:

您使用PageType RouteHander,当它处于活动状态时,您必须映射您使用的所有页面类型。否则它将从url中剥离

此外,PageType RouteEndhancer应该是您配置的最后一个增强器,因为它修改了现有的路由变体:

我记得这是在闲谈中讨论过的。一旦定义了
PageType
enhancer,就必须在那里定义所有类型,否则它们将被忽略。因此,在那里添加
13
,它应该可以工作:)但是我们应该如何处理具有相同url/url后缀的多个页面类型呢?在调用
/path to site/?type=13
时,通常会对整个html文档使用
/path to site/
,并获取相应的ajax响应变量。我记得在Slack中讨论过这个主题。一旦定义了
PageType
enhancer,就必须在那里定义所有类型,否则它们将被忽略。因此,在那里添加
13
,它应该可以工作:)但是我们应该如何处理具有相同url/url后缀的多个页面类型呢?调用
/path to site/?type=13
时,通常会对整个html文档使用
/path to site/
,并获取相应的ajax响应变量。本主题也将在