Hallo,
ich habe eine ganze weile mit der 3.6.o'er gearbeitet (Dieser Quickstart-Kram mit Apache, MySQL, etc..) weil ich schnell eine Website erstellen musste und daher keine Zeit hatte grossartig was zu updaten/upgraden.
Jetzt allerdings moechte ich die ganzen Sachen aus 3.6.0 in die aktuelle 3.8.0 haben. Die Daten usw. sind alle implementiert,
Ordner kopiert, usw., also meine 3.8'er sieht vom Inhalt und Aufbau her genauso aus wie meine 3.6'er.
Theoretisch sollte alles funktionieren.. tut es natuerlich NICHT! #angry# #angry# #angry#
Ich habe auch alle benoetigten Extensions importiert, Template-Scripte durchgeschaut, etc, aber es funktioniert einfach nicht.
Wenn ich meine Website im Browser aufrufe, dann wird einfach eine leere Seite aufgerufen, lediglich der Header ist korrekt, ansonsten ist nichts zu sehen.
Hier mal etwas um eure traffic-Kosten hochzujagen:
main-Template
(Setup)
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with dynamic menu:
subparts.menu_1 < temp.menu_1
# Substitute the ###content### subpart with normal-content:
subparts.content < styles.content.get
# Substitute the ###right_content### subpart with right-content
# subparts.right_content < styles.content.getRight
marks.ROOTLINEMENU < temp.ROOTLINEMENU
}
temp.content.getRight = CONTENT
temp.content.get {
table = tt_content
select.orderBy = sorting
select.where = colPos=2
select.languageField = sys_language_uid
renderObj < tt_content
renderObj.stdWrap.wrap = <div id="Contentbox"> | </div>
# renderObj.stdWrap.wrap = <div> | </div>
}
subparts.right_content < temp.content.getRight
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
temp.CLICKPATH = HMENU
temp.CLICKPATH.special = rootline
temp.CLICKPATH.special.range = 1|-1
temp.CLICKPATH.special.targets.3 = page
temp.CLICKPATH.1 = TMENU
temp.CLICKPATH.1.target = _top
temp.CLICKPATH.1.wrap = <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><font color="{$cSet.color2}" size="1">Sie befinden sich hier:</font></td></tr><tr bgcolor="{$cSet.color3}"><td><font color="{$cSet.color2}" size="1"><font color="{$cSet.color3}"> </font> | </font></td></tr></table>
temp.CLICKPATH.1.NO {
linkWrap = | >
}
subparts.CLICKPATH < temp.CLICKPATH
(Der CSS Styled Content ist includet!)
In dem main-Template sind folgende Templates includet:
ext: Auto-parser plugin
(Setup)
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/Amsbet/template.htm
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/Amsbet/
}
ext: Menu 1
(Setup)
temp.menu_1 = HMENU
#temp.menu_1.entryLevel = 0
temp.menu_1.excludeUidList = 42, 43, 76, 84, 81, 83, 82, 85, 86, 87, 74, 75, 44
temp.menu_1.1 = GMENU
temp.menu_1.1.expAll = 1
temp.menu_1.1.NO{
noLink = 1
XY = 149, 50
backColor = white
5 = IMAGE
5.file = fileadmin/template/amsbet/images/left.jpg
5.file.height = 50
5.file.width = 100
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/fonts/timesi.ttf
10.fontSize = 18
10.fontColor = black
10.niceText = 1
10.offset = 10, 45
}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
# Normal state properties
NO.allWrap = <p><div class="menu1-level2-no"> | </div></p>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <p><div class="menu1-level2-act"> | </div></p>
}
# Third level menu-object, textual
temp.menu_1.3 = TMENU
temp.menu_1.3 {
# Normal state properties
NO.allWrap = <div class="menu1-level3-no"> | </div>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <div class="menu1-level3-act"> | </div>
}
# Third level menu-object, textual
temp.menu_1.4 = TMENU
temp.menu_1.4 {
# Normal state properties
NO.allWrap = <div class="menu1-level4-no"> | </div>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <div class="menu1-level4-act"> | </div>
}
# Rootline-Menu
temp.ROOTLINEMENU = HMENU
temp.ROOTLINEMENU {
entryLevel = 0
special = rootline
special.range = 2| -1
1 = TMENU
1.target = _self
1.wrap = Sie befinden sich hier: |
1.NO {
#allWrap = | » |*| » | |*| |
allWrap = » |
doNotLinkIt = 0 |*| 0 |*| 1
}
}
(Jajaja ich weiss.. fehlerhaft *hrhr* aber am Menue sollte es doch wohl nicht liegen, dass ueberhaupt GARNICHTS angezeigt wird!?)
Also:
Wieso bekomme ich eine leere weisse Seite ausgegeben?
Danke
#angry# #angry# Headbanger an die macht! #angry# #angry#