Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 19.09.07, 13:43
Forum Newbie
 
Registriert seit: 04.09.07
Beiträge: 37
Gelöst - 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 08:20 Uhr).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 19.09.07, 13:44
Forum Newbie
 
Registriert seit: 04.09.07
Beiträge: 37

Ach ja, System:
- SuSE 10.1
- Typo 4.x
- MySQL 5
- PHP 5
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 19.09.07, 15:17
Benutzerbild von MistaD
TYPO3 Forum Team
Moderator
 
Registriert seit: 25.01.06
Beiträge: 1.455

Hallo,


hast du unter INCLUDE STATIC auch CSS-Styled-Content mit eingebunden?



__________________
Gruss
MD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #4  
Alt 19.09.07, 15:20
Forum Newbie
 
Registriert seit: 04.09.07
Beiträge: 37

Hi,
wie gesagt, ich bin relativ neu.

Kannst du mir bitte sagen wo und wie ich das hätte einfügen sollen?


danke für die schnelle Hilfe
gruss root
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #5  
Alt 19.09.07, 15:24
Benutzerbild von MistaD
TYPO3 Forum Team
Moderator
 
Registriert seit: 25.01.06
Beiträge: 1.455

Hallo,



auf deine Seite (root Seite) auf der dein TS eingefügt ist, dann links auf Template, so dass du dann rechts die Template Tools siehst. Dann im Jump Menü auf Info/Modify stellen und auf "Click here to edit whole template record" klicken und unter Include Static dann CSS- Styled-Content auswählen.




__________________
Gruss
MD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #6  
Alt 19.09.07, 15:27
Forum Newbie
 
Registriert seit: 04.09.07
Beiträge: 37

Ja, hab ich reingetan...

Aber das Problem besteht weiterhin.

gruss root
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #7  
Alt 24.09.07, 07:50
Forum Newbie
 
Registriert seit: 04.09.07
Beiträge: 37

Weiss da niemand sonst eine Lösung???

Gruss root
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #8  
Alt 24.09.07, 08:14
Forum Newbie
 
Registriert seit: 04.09.07
Beiträge: 37

Ich hab das Problem selbst gelöst...

Ich musste nur im TS das "subparts.content.get" mit "styles.content.get" ersetzen.

Gruss root
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are An


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Content wird nicht angezeigt der_Tom TYPO3 4.x Fragen und Probleme 4 23.05.08 21:03
Content wird nicht angezeigt foomga TYPO3 4.x Fragen und Probleme 4 01.11.06 08:09
Content wird im Backend nicht angezeigt snafu TYPO3 4.x Backend 1 24.04.06 14:36
Content wird nicht angezeigt Mauki TYPO3 3.x Fragen und Probleme 3 12.02.06 16:53
Content wird nicht angezeigt, stattdessen nur der Marker (###CONTENT###) Harry TYPO3 3.x Fragen und Probleme 13 13.12.05 08:38


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:00 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS