Hallo liebe Community,
Ich arbeite jetzt schon seit knapp 2 Monaten mit Typo3.
Ich muss an für meinen Arbeitsplatz eine Webseite errichten und stieß diesmal
auf ein Problem das ich nicht so einfach beseitigen kann.
Derzeit funktioniert die Seite mit HTML Marker. Damit das Menü,
styles.contend.get und die Breadcrumb auch auf allen Seiten funktioniert musste
ich auf allen (bis auf eine die deutlich mehr Zeilen hat) einen kleinen teil
TypoScript hinzufügen. Auf den will ich jetzt verzichten da das für einen
Redakteur ohne Typo3 Erfahrung unzumutbar ist. Kann mir da wer helfen?
Also die Hauptausehen Seite kann von mir aus 999 Zeilen haben. Wichtig ist das
die darunterliegenden kein TypoScript mehr enthalten.
Vielen Dank im Voraus
amirb
Contend:
[HTML code]
<html>
<head>
<link href="stylesheet/visual.css rel="stylesheet" type="text/css"
/>
</head>
<body>
<div id="rahmen">
<div id="header">
<div class="title">
###TITLE###
</div>
</div>
<div id="menu">
<div id="lib.menu">
###MENU###
</div>
</div>
<div id="contentFrame">
<div id="spacer2">
<div id="breadcrumb">
###BREADCRUMB###
</div>
</div>
<div class="bildr">
###BILDR###
</div>
<div id="inhalt">
###INHALT###
</div>
<div id="spacer">
</div>
</div>
<div id="footer">
<a href="[[!!!DATENSCHUTZ!!!]]]" style="color:white;
background-color:transparent; text-decoration:none">© [[[!!!DATENSCHUTZ!!!]]]</a>
</div>
</div>
</body>
<style>
a:link {color:green; background-color:transparent;
text-decoration:none}
a:visited {color:green; background-color:transparent;
text-decoration:none}
a:hover {color:orange; background-color:transparent;
text-decoration:underline}
a:active {color:green; background-color:transparent;
text-decoration:underline}
</style>
</html>
[/HTML code]
TypoScript code der Hauptausehen Seite:
[TS code]
### Menü ###
lib.menu = COA
lib.menu {
wrap = <ul>|</ul>
10 = HMENU
10 {
special = list
special.value = 2
//special.range = 1|2
//excludeUidList = 26,27,28,29
1 = TMENU
1 {
NO.wrapItemAndSub = <li>|</li>
CUR = 1
CUR.wrapItemAndSub = <li class="current">|</li>
}
}
20 = HMENU
20.1 < .10.1
20.1.expAll = 1
20 {
2 = TMENU
2 {
expAll = 1
wrap = <ul class="level2">|</ul>
NO.wrapItemAndSub = <li>|</li>
NO.ATagParams = |*| |*|class="last"
ACT < .NO
ACT = 1
}
3 = TMENU
3 {
wrap = <ul class="level3">|</ul>
NO.wrapItemAndSub = <li>|</li>
ACT < .NO
ACT = 1
}
}
}
lib.breadcrumb = HMENU
lib.breadcrumb {
special = rootline
special.range = 1|-1
wrap = <p>Sie sind hier:�|</p>
1 = TMENU
1 {
NO.after = � > �
CUR = 1
CUR.after =
CUR.doNotLinkIt = 1
}
}
Haupttemplate = TEMPLATE
Haupttemplate {
template = FILE
template.file = fileadmin/Template/hauptausehen.html
marks.MENU < lib.menu
marks.BREADCRUMB < lib.breadcrumb
marks.TITLE < styles.content.getLeft
marks.INHALT < styles.content.get
marks.BILDR < styles.content.getRight
}
page.includeCSS {
file = fileadmin/Template/Stylesheet/visual.css
}
page = PAGE
page.10 < Haupttemplate
[/TS code]
TypoScript code der unterseiten (alle seiten unter hauptausehen)
(ewerterungstemplate) Seite:
[TS code]
Seitentemplate = TEMPLATE
Seitentemplate {
template = FILE
template.file = fileadmin/Template/hauptausehen.html
marks.MENU < lib.menu
marks.BREADCRUMB < lib.breadcrumb
marks.TITLE < styles.content.getLeft
marks.INHALT < styles.content.get
marks.BILDR < styles.content.getRight
}
page = PAGE
page.10 < Seitentemplate
[/TS code]
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german