我的 header 中的 jQuery 是从哪里来的?

Where do the jQuery includes in my header come from?

不知何故,我的 jQuery 包含被旧版本覆盖,这使得我的 .on 函数导致错误(至少我是这么认为的)。我找不到包含的来源。
我想删除它并从我的 root-templates 和我的扩展 setup.txt 中控制我的包含。
我注释掉了我 root-template 中的所有内容,只保留了这个位置(在 here 上找到):

page = PAGE
page.includeJS >
page.includeJSlibs >
page.includeJSFooter >
page.includeJSFooterlibs >
page.jsInline >
page.jsFooterInline >

这是我 header 中的结果:

<link rel="shortcut icon" href="/fileadmin/icons/lc_icon.png" type="image/png; charset=binary">
<link rel="icon" href="/fileadmin/icons/lc_icon.png" type="image/png; charset=binary">
<title>Home</title>
<meta name="generator" content="TYPO3 CMS">


<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_15e5175da3.css?1468240242" media="all">






<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" type="text/css" media="all" />
    <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
</head>

有人知道我如何追踪所有这些脚本和 link 标签的来源吗?

编辑: 我在之前不知道的模板分析器中找到了它(我先安装了它,但后来意识到它已经在那里了,因为安装后我的 select 中突然有两个条目 "Template Analyzer") .

这就是 jQuery 包含的来源:

EXT:fluid/Configuration/TypoScript

2379: [GLOBAL]
2380:  # includes jQuery library and default styles for Fluid Autocomplete Widget
2381: page.headerData.998 = TEXT
2382: page.headerData.998.value (
2383:   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
2384:   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
2385:   <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" type="text/css" media="all" />
2386:   <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
2387: )

除了您已经排除的选项外,头部数据可以通过

包含
page.headerData

(see reference)

在模板分析器中查找它以了解是否以及哪个确切模板包含它。如果您也可以排除这种情况,则它可能是扩展 class 中的包含。找到它的最简单方法是在命令行上 运行 a grep

grep -Ri "ajax.googleapis.com" /typo/root/folder

如果您无法移除模板,您可以将其放入您自己的错字中:

page.headerData.998 >