我有這樣的Typo腳本:Typo3基本標記?
page = PAGE
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/templates/index.html
page.10.marks{
# Marker TITLE
TITLE = TEXT
TITLE.field = title
}
而且在我的模板:
<html>
<head>
<title>Here goes the title</title>
<meta charset="utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="headertitle">###TITLE###</div>
</body>
</html>
知道爲什麼這是行不通的? 我的意思是我看到頁面顯示的模板,但不是冠軍,我得到### TITLE ###所示
我沒有收到任何消息。我添加了一個模板文件,位於:fileadmin/templates/index.html –
Nothing red?奇怪。您是否已將默認的靜態模板添加到您的typoscript模板中?它可以是content_style或css_content_style。 – Bytemain
不,包括靜態我可以選擇只是CSS文件,Fluid,Clickenlarge,DEFAULT TS(表單)。我沒有包括他們中的任何一個。 –