Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

Templavoila-videotutorial-files

From TYPO3Wiki
Jump to: navigation, search

HTML FILE maintemplate.html

PHP script:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>
<div id="pagewrapper">
	<div id="header">
	</div>
	<div id="leftmenu">
		<ul>
			<li>Item 1 </li>
			<li>Item 2 </li>
			<li>Item 3 </li>
		</ul>
	</div>

	<div id="contentcontainer">
		<div id="breadcrump">
		your breadcrump here
		</div>
		<div id="content">Your Content goes here
		</div>
	</div>
	<div id="adblock">
		your add here
	</div>
	<div class="clearer"></div>
	<div id="footer">
		<div id="copyright"> 
			your copyright tag here
		</div>
		<div id="footermenu">
				<a>Item 1 </a>
				<a>Item 2 </a>
				<a>Item 3 </a>
		</div>
	</div>	
	<div class="clearer"></div>
</div>
</body>
</html>

CSS file style.css

CSS styles:
/* CSS Document */

#pagewrapper{
	width:998px;
}
#header{
	height:150px;
}
#leftmenu{
	width:150px;
	float:left;
}
#breadcrump{
	height:20px;
	line-height:20px;
}
#contentcontainer{
float:left;
width:600px;
}
#content{
}
#adblock{
	float:right;
	width:248px;
}
#footer{

}
#copyright{
	float:left;
	width:250px;
}
#footermenu{
	width:748px;
	float:left;
}

.clearer{clear:both; float:none;}

TYPOSCRIPT

TypoScript SETUP
TS TypoScript:
#Config of your Site
config{

#Set the html-Params here - validate W3C 
htmlTag_setParams=xmlns="http://www.w3.org/1999/xhtml"
htmlTag_langKey = en 
#define your doctype
doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
doctypeSwitch = 1 

#When using RealURL, disable Simulate Static Documents
# simulateStaticDocuments = 0
#BaseUrl of ur Website
baseURL = http:/placeururlhere/
#Enable Indexing for Indexed Search
index_enable = 1
#enable RealUrl 
#tx_realurl_enable = 1

##SPAMPROTECT your emails. @will be (at)
spamProtectEmailAddresses = 2 
spamProtectEmailAddresses_atSubst = (at) 

#display Pagetitle before Websitetitel. Good for Searchengines
pageTitleFirst = 1

#Place your own (additional) headercomment
headerComment(

This TYPO3 is made by:

Place YOUR Signature here
)

}