kochlip.de, typo3 and first typoscript
handgestrickt is very proud of the first complex typoscript using automaketemplate, a barrier-free complex tree-menu called cron_accessiblemenus and the HTTPS-enforcer https_enforcer. this template is still very simple, but already providing a lot of great functionality. i wrote it for my customer kochclip.de. the designer is using dreamweaver and the HTML-templates are made, using the barrier-free-features of it plus the JavaScript-spryMenu. this typoscript is using all the naming conventions of dreamweaver. and it works well! in the next weeks, i want to have a look at templavoila.
config {
locale_all = de_DE
language = de
htmlTag_langKey = de
doctype = xhtml_strict
metaCharset = iso-8859-1
xhtml_cleaning = all
simulateStaticDocuments = 1
simulateStaticDocuments_addTitle = 1
noPageTitle = 2
}
meta {
keywords.field = keywords
description.field = description
language = de
}
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/templates/h131f.html
elements {
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
HEAD.rmSingleTags = meta
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
DIV.all = 1
}
relPathPrefix = fileadmin/templates/
}
temp.head_menu = HMENU
temp.head_menu {
entryLevel = 1
special = directory
special.value = 35
1 = TMENU
1 {
IProcFunc = user_cronaccessiblemenus->makeAccessible
IProcFunc.accessKeys = 1
IProcFunc.dfn = 1
IProcFunc.dfn.inATag = 1
IProcFunc.appendWrap = <span class=accesskey> (ALT-|).</span>
IProcFunc.dfn.start = 1
IProcFunc.dfn.stdWrap.noTrimWrap = || |
IProcFunc.dfn.menuSet = mainmenu
wrap = <ul id="MenuBar1" class="MenuBarHorizontal">|</ul>
expAll = 1
NO {
ATagTitle.field = title
ATagParams.insertData = 1
ATagParams = tabindex = {register:count_MENUOBJ}
wrapItemAndSub = <li>|</li>
}
IFSUB=1
IFSUB{
ATagTitle.field = title
ATagParams.insertData = 1
ATagParams = tabindex = {register:count_MENUOBJ} class = MenuBarItemSubmenu
wrapItemAndSub = <li>|</li>
}
}
2 < .1
2.wrap = <ul>|</ul>
3 < .2
4 < .2
5 < .2
6 < .2
7 < .2
8 < .2
9 < .2
10 < .2
}
temp.foot_menu = HMENU
temp.foot_menu {
entryLevel = 1
special = directory
special.value = 36
1 = TMENU
1 {
IProcFunc = user_cronaccessiblemenus->makeAccessible
IProcFunc.accessKeys = 1
IProcFunc.dfn = 1
IProcFunc.dfn.inATag = 1
IProcFunc.appendWrap = <span class=accesskey> (ALT-|).</span>
IProcFunc.dfn.start = 1
IProcFunc.dfn.stdWrap.noTrimWrap = || |
IProcFunc.dfn.menuSet = mainmenu
wrap = <ul>|</ul>
expAll = 1
NO {
ATagTitle.field = title
ATagParams.insertData = 1
ATagParams = tabindex = {register:count_MENUOBJ}
wrapItemAndSub = <li>|</li>
}
}
2 < .1
3 < .2
4 < .2
5 < .2
6 < .2
7 < .2
8 < .2
9 < .2
10 < .2
}
temp.content_normal = CONTENT
temp.content_normal {
table = tt_content
select {
pidInList = this
orderBy = sorting
where = colPos = 0
}
}
temp.content_left = CONTENT
temp.content_left {
table = tt_content
select {
pidInList = this
orderBy = sorting
where = colPos = 1
}
}
temp.content_right = CONTENT
temp.content_right {
table = tt_content
select {
pidInList = this
orderBy = sorting
where = colPos = 2
}
}
temp.headTemplate = TEMPLATE
temp.headTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
temp.bodyTemplate = TEMPLATE
temp.bodyTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.navigation < temp.head_menu
subparts.mainContent < temp.content_normal
subparts.sidebar1 < temp.content_left
subparts.sidebar2 < temp.content_right
subparts.footer < temp.foot_menu
}
page = PAGE
page {
typeNum = 0
10 < plugin.tx_httpsenforcer_pi1
20 < temp.bodyTemplate
headerData {
10 < temp.headTemplate
20 = TEXT
20.insertData=1
20.wrap = <title>|</title>
20.value = {leveltitle:0} - {field:title}
30 = TEXT
30.value = <script language="JavaScript" type="text/javascript" src="fileadmin/templates/js/frame_hijacking.js"></script>
}
includeCSS {
file1 = fileadmin/templates/css/kochclip_admin.css
file1.title = styles provided by the system administrator and typoscript writer
file1.media = screen
}
bodyTagAdd = class = thrColFixHdr
}

