Einzelnen Beitrag anzeigen
  #5  
Alt 03.03.06, 11:20
Tevsa Tevsa ist offline
Forum Stammgast
 
Registriert seit: 02.03.06
Beiträge: 132

Das Typo-Script:

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
config{
doctype = xhtml_trans
//simulateStaticDocuments_noTypeIfNoTitle = 1
xmlprologue = none
headerComment (
###################################################################################
Willkommen im Quelltext der Internetseite
###################################################################################
)
} //config

//Druckversion bereitstellen:
temp.PRINT = COA
temp.PRINT {
wrap = <a href="|" name="Drucken" title="Drucken" target="_blank" id="footerdruck">Drucken</a>

10 = TEXT
10.data = getIndpEnv:REQUEST_URI
10.listNum.splitChar = .
10.listNum = 0
10.wrap = |.98.html
}

[globalString = ENV:REQUEST_URI = *php?id*]
temp.PRINT.10 >
temp.PRINT {
10 = TEXT
10.data = getIndpEnv:REQUEST_URI
10.wrap = |&type=98
}
[GLOBAL]

print = PAGE
print {
typeNum = 98
stylesheet = fileadmin/template/style/druckstyle.css
bodyTag =<body bgcolor="#ffffff" id="drucken" onload="javascript:window.print()">
5 = TEXT
5.value = <div id="anschrift"> Adresse......</div>

6 = IMAGE
6.file = fileadmin/template/image/icons/logo.gif
6.linkWrap = <div id="logo">| </div>
9 = TEXT
9.value = <div id="linie"><hr></div>
10 < styles.content.getLeft
20 < styles.content.get
30 < styles.content.getRight
40 < styles.content.getBorder
}



seite = PAGE
seite{
typeNum = 0
stylesheet = fileadmin/template/style/style.css

//template anlegen:
10 = TEMPLATE
10{
template = FILE
template.file = fileadmin/template/designvorlage/designvorlage.htm
workOnSubpart = BEREICH

marks{

          // Ducken:
PRINT < temp.PRINT

MENU-OBEN = HMENU
MENU-OBEN.special = list
MENU-OBEN.special.value = 5, 6, 7, 8
MENU-OBEN.1 = TMENU
MENU-OBEN.1.NO = 1
   //MENU-OBEN.1.NO.ATagParams = style="background-color:green;"
MENU-OBEN.1.NO.linkWrap = <div class="knopfoben"><img src="fileadmin/template/image/icons/bu-pfeileoben.gif" style="margin:-3px;" />&nbsp;&nbsp;|</div>

SUBMENU = HMENU
SUBMENU.special = list
SUBMENU.special.value = 4, 3, 13, 12
SUBMENU.1 = TMENU
SUBMENU.1.NO = 1
SUBMENU.1.NO.linkWrap = <div class="knopf"> <img src="fileadmin/template/image/icons/bu-pfeile-links.gif" style="margin:-1px;" />&nbsp;&nbsp;|</div>


NEUEWEGE = HMENU
NEUEWEGE.special = list
NEUEWEGE.special.value = 8
NEUEWEGE.1 = TMENU
NEUEWEGE.1.NO = 1
NEUEWEGE.1.NO.linkWrap = <div class="knopf"><img src="fileadmin/template/image/icons/bu-pfeile-links.gif" style="margin:-1px;" />&nbsp;&nbsp;|</div>


DEPRES = HMENU
DEPRES.special = list
DEPRES.special.value = 15
DEPRES.1 = TMENU
DEPRES.1.NO = 1
DEPRES.1.NO.linkWrap = <div class="knopf"><img src="fileadmin/template/image/icons/bu-pfeile-links.gif" style="margin:-1px;" />&nbsp;&nbsp;|</div>

MALZER= HMENU
MALZER.special = list
MALZER.special.value = 14
MALZER.1 = TMENU
MALZER.1.NO = 1
MALZER.1.NO.linkWrap = <div class="knopf"><img src="fileadmin/template/image/icons/bu-pfeile-links.gif" style="margin:-1px;" />&nbsp;&nbsp;|</div>



FOOTER = HMENU
FOOTER.special = list
FOOTER.special.value = 2, 13, 12
FOOTER.1 = TMENU
FOOTER.1.NO = 1
FOOTER.1.NO.linkWrap =|&nbsp;|*| |&nbsp;|&nbsp;| |*|&nbsp; |

CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}// CONTENT
} //marks
} //10=TEMPLATE
}//seite

Geändert von Junior (03.03.06 um 11:46 Uhr).
Mit Zitat antworten