Einzelnen Beitrag anzeigen
  #1  
Alt 19.09.07, 14:43
root root ist offline
Forum Newbie
 
Registriert seit: 04.09.07
Beiträge: 37

Page Content wird nicht angezeigt


Hallo zusammen,
Ich arbeite jetzt erst seit 2-3 Wochen mit Typo3 und bin deshalb kein Profi.

Also Ich habe folgendes Problem:
Wenn ich in Typo3 ein neuer Page Content erstelle wird dann dieser nich im Webbrowser angezeigt.

Hier mal mein TS:
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:
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
    # Read the template file:
content = FILE
content.file = fileadmin/template/main/template_sc.html
    # 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/main/
}

# Menu 1 cObject
temp.menu_1 = HMENU
  # First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
    # Normal state properties
NO.allWrap = <div class="menu1-level1-no"> | </div>
    # Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
  # Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
    # Normal state properties
NO.allWrap = <div class="menu1-level2-no"> | </div>
    # Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </div>
}
  # 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>
    # Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level3-act"> | </div>
}

# 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 some example content:
subparts.content < styles.content.get
}

# 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
plugin.tx_indexedsearch = USER
plugin.tx_newloginbox_pi1 = USER
plugin.tx_newloginbox_pi3 = USER
plugin.feadmin.fe_users = USER


page.10 {
marks.SEITENTITEL = TEXT
marks.SEITENTITEL.value = {page:title}
marks.SEITENTITEL.insertData = 1
marks.SEITENTITEL.wrap = <div class="title"> | </div>
}
und mein HTML:
HTML-Code:
<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="#internalStyle" type="text/css"?> <!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Base template, header, menu, content and footer.</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <style type="text/css" id="internalStyle">
        /*<![CDATA[*/
        BODY {    margin: 0 0 0 0;}
        /*]]>*/


    </style> <link href="res/stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <table cellpadding="0" cellspacing="0"> <!-- Header image row: --> <tr> <!-- Feld mit Logo --> <td id="logo"> <img src="http://www.typo3forum.net/forum/images/logo.jpg" width="150px" height="45px" alt="a-lu logo"/> </td> <!-- Feld mit dynamischem Seitentitel --> <td id="pagetitle" background="background.png" width="1300px" > <!-- Titel jeder Seite --> <div class="title">###SEITENTITEL###</div> </td> </tr> <tr> <!-- Menu table cell: --> <td id="menu"> <table> <tr> <td id="menu_1"> <div class="menu1-state1-no"><a href="#">Menu item 1</a></div> <div class="menu1-state1-act"><a href="#">Menu item 2 (act)</a></div> <div class="menu1-state2-no"><a href="#">Level 2 item 1</a></div> <div class="menu1-state2-act"><a href="#">Level 2 item 2 (act)</a></div> <div class="menu1-state3-no"><a href="#">Level 3 item 1</a></div> <div class="menu1-state3-act"><a href="#">Level 3 item 2 (act)</a></div> <div class="menu1-state1-no"><a href="#">Menu item 3</a></div> </td> </tr> </table> </td> <!-- Page Content Area table cell: --> <td id="content"> </td> </tr> <!-- Footer row: --> <tr> <td colspan="2" id="footer"> <p> <center>
            Alcatel-Lucent Schweiz AG</br>
            Website updated by T.Sterchi &nbsp | &nbsp tobias.sterchi@alcatel-lucent.ch</center> </p> </td> </tr> </table> </body> </html>
Kann mir da jemand Helfen???

Gruss Root

Geändert von root (24.09.07 um 09:20 Uhr).
Mit Zitat antworten