Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/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
Templates typo3默认根模板显示每页第一页的内容_Templates_Typo3 - Fatal编程技术网

Templates typo3默认根模板显示每页第一页的内容

Templates typo3默认根模板显示每页第一页的内容,templates,typo3,Templates,Typo3,当前设置 StartSite页面(也可参见)是主页 我添加了另一个testx页面并添加了phonenumber,如图所示: 我在testx中添加的任何东西都是无用的。它仍然显示主页上的电话号码。若我在主页上更改手机,那个么home和testx上的手机都会更改 我想每个页面都有不同的手机。有办法解决这个问题吗 常数.ts: <INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/ge

当前设置

StartSite页面(也可参见)是主页

我添加了另一个testx页面并添加了phonenumber,如图所示:

我在testx中添加的任何东西都是无用的。它仍然显示主页上的电话号码。若我在主页上更改手机,那个么home和testx上的手机都会更改

我想每个页面都有不同的手机。有办法解决这个问题吗


常数.ts:

<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/general-constants.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/question/ts/constants.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/contactform/ts/constants.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/newsletter/ts/constants.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/appointment/ts/constants.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/ts/root-constants.ts">
# -----------------------------------------------------------------------------


#styles.content.imgtext.maxW = 408
#styles.content.imgtext.maxWInText = 220
styles.content.imgtext.maxW = 1200
styles.content.imgtext.maxWInText = 900

sourceopt.formatHtml = 1
current.title = Dentalsplace - Zahnärztliche Praxis XXXXXXXXXXXXX

# -----------------------------------------------------------------------------
#styles.content.imgtext.maxW=408
#style.content.imgtext.maxWInText=220
style.content.imgtext.maxW=1200
style.content.imgtext.maxWInText=900
sourceopt.formatHtml=1
current.title=Dentalsplace-Zahnärztliche Praxis xxxxxxxx
setup.ts:

<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/question/ts/setup.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/contactform/ts/setup.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/newsletter/ts/setup.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/appointment/ts/setup.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/ts/root-setup.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/question/ts/conversion.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/contactform/ts/conversion.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/sub_templates/formhandler/appointment/ts/conversion.ts">
# -----------------------------------------------------------------------------

plugin.tx_scriptmerger.javascript.parseBody = 1
#plugin.tx_scriptmerger.css.mergedFilePosition = </body>

[globalVar = TSFE:id=7]
page.headerData.10.field = keintitel
page.headerData.10.noTrimWrap >
page.headerData.10.wrap = <title>{$current.title}</title>
[global]


##Cookie Consent
page.headerData.2021 = TEXT
page.headerData.2021.value (
     <!-- Begin Cookie Consent plugin by Silktide - http://silktide.com/cookieconsent -->
<script type="text/javascript">
    window.cookieconsent_options = {"message":"Wir möchten Ihnen den bestmöglichen Service bieten. Dazu speichern wir Informationen über Ihren Besuch in sogenannten Cookies. Durch die Nutzung dieser Webseite erklären Sie sich mit der Verwendung von Cookies einverstanden. Detaillierte Informationen über den Einsatz von Cookies auf dieser Webseite erhalten Sie durch Klick auf.","dismiss":"OK","learnMore":"Mehr Informationen","link":"https://www.dentalsplace.de/datenschutz.html","theme":"dark-bottom"};
</script>

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.10/cookieconsent.min.js"></script>
<!-- End Cookie Consent plugin -->
<style>
.cc_banner-wrapper .cc_container .cc_btn, .cc_container .cc_btn:visited{
background-color:#7D337C;
color: #fff;
z-index:999;

}
.cc_banner-wrapper .cc_container a.cc_more_info{
color:#7D337C;
}
.cc_banner-wrapper .cc_container a.cc_more_info:hover{
color:#fff;
}

</style>

)

# -----------------------------------------------------------------------------
plugin.tx_scriptmerge.javascript.parseBody=1
#plugin.tx_scriptmerge.css.mergedFilePosition=
[globalVar=TSFE:id=7]
page.headerData.10.field=keintitel
page.headerData.10.noTrimWrap>
page.headerData.10.wrap={$current.title}
[全球]
##饼干同意书
page.headerData.2021=文本
page.headerData.2021.value(
window.cookieconsent\u选项={“消息”:“最好的莫格利什服务是什么?索根甜饼干的信息是什么?我们的网站是什么?我们的网站是什么“确定”,“学习更多”:“人力资源信息”,“链接”:https://www.dentalsplace.de/datenschutz.html“,”主题“:”暗底“};
.cc_banner-wrapper.cc_container.cc_btn、.cc_container.cc_btn:已访问{
背景色:#7D337C;
颜色:#fff;
z指数:999;
}
.cc_banner-wrapper.cc_容器a.cc_更多信息{
颜色:#7D337C;
}
.cc_banner-wrapper.cc_容器a.cc_更多信息:悬停{
颜色:#fff;
}
)
由于字符限制,在pastebin中添加了root-setup.ts 我想我有了。 是吗

page.10.1变量{
homevarhomevar.select.pidInList=7能否发布呈现FE输出的打字脚本?这可能是重要的问题。不知道如何编辑该问题。这是模板常量和安装程序删除标识数据!请插入有关系统的更多信息(版本号和使用的扩展名)。您的问题下方的编辑链接应该是浅灰色的
edit
(而不是我删除的误导性标签)相关的打字脚本不在您的数据中,因为它在包含的文件中,最重要的部分可能在
fileadmin/templates/ts/root setup.ts
中。另一方面,我还可以想象一个错误的流体模板,您可能会在其中插入起始页的一列。@Bernd Wilke,我明白了。一位朋友告诉我这可能是相关的在内容继承到其他页面的位置滑动到内容。
page.10.variables {
    homevar < styles.content.get
    homevar.select.pidInList = 7 <<< This means you only get content from page with UID 7

    phone < .homevar <<< Here you copy that part into phone
    phone.select.where = colPos = 125