Also, habe Deine .tmpl Datei bei mir in einen Ordner gelegt und
<td><!--###CONTENT### start -->CONTENT<!--###CONTENT### stop --></td>
mit
ersetzt.
Dann habe ich Deine Tempalte Datei in mein Setup gelegt und
mit
ersetzt. So funktioniert es.
Grüße aus Frankfurt
Also so dann:
page = PAGE
page.typeNum = 0
page.bodyTagMargins=0
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/epro/template/html_template.tmpl
workOnSubpart = DOCUMENT_BODY
marks.CONTENT < styles.content.get
marks.CONTENT.wrap = <font face="Arial" size="2">|</font>
}
Hab ich gemacht. Funktioniert leider auch nicht. Gleiches Phenmän, dass der Browser unendlich lädt....
Mal ne ganz andere Frage, wo läuft denn das ganze?
Da hab ich auch schon rumgerätselt. Es läuft auf nem IIS + PHP + MySQL.
Muss man bei dieser Konstellation was beachten?
Aber ich denke das es nicht am Server oder so liegt, da dies hier funktioniert:
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.bodyTagMargins=0
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/epro/template/html_template.tmpl
workOnSubpart = DOCUMENT_BODY
marks.CONTENT_AREA = TEXT
marks.CONTENT_AREA.value = Testausgabe
}
<!--###DOCUMENT_BODY### stop-->
schreib dafür mail:
<!--###DOCUMENT_BODY### end-->
Dies brachte leider auch keinen Erfolg.
Aber ich hab herausgefunden das PHP beim aufrufen der Seite einen Stackoverflow erzeugt...
fileadmin/epro/template/html_template.tmpl ?
versuchs doch mal mit einem .html template...sonst weiss ich auch nicht weiter
donvito schriebfileadmin/epro/template/html_template.tmpl ?
versuchs doch mal mit einem .html template...sonst weiss ich auch nicht weiter
Das wars leider auch nicht...so ein sch****
Hast Du denn schon irgendeinen Content erstellt, schau mal über PHPAdmin in die tt_content-Tabelle. Irgendwie klingt es nach einem Problem mit der MySQL-Datenbank. Welche Typo3 Version läuft? 3.5, 3.6 oder 3.7. Gehe mal in die Installation und vergleiche die Datenbankeinträge über COMPARE. Am Typo3 und der TMPL, bzw. Deinem Setup liegt es eher nicht, die habe ich testweise ja eingebunden und es geht.
Grüße aus Frankfurt
Hallo. Also die tt_content Tabelle hat was drin stehen. Ich habe das dummy-3.7.0.zip - Package installiert.
Es ist halt komisch immer bei dem Befehl
marks.CONTENT < styles.content.get bleibt er hängen sobald da Content drin steht. Nehm ich den Content raus, parst er alles ohne Probleme.
Gibt es eine andere Methode als marks.CONTENT < styles.content.get den Inhalt dynamisch einzubinden?
Gruss
Ja klar, aber versuche erstmal das hier, nenne Dein CONTENT mal INHALT, weil CONTENT ein reservierter Begriff ist, muss aber nicht klappen und dann kannst Du die Tabelle so ansprechen
marks.INHALT = CONTENT
marks.INHALT.table = tt_content
marks.INHALT.select {
pidInList = this
orderBy = sorting
where = colPos = 0
max = 1
}
Hallo. Vielen Dank für den Vorschlag. Aber es tritt hierbei das gleiche Phenomän auf:
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.bodyTagMargins=0
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/epro/template/html_template.html
workOnSubpart = DOCUMENT_BODY
marks.INHALT = CONTENT
marks.INHALT.table = tt_content
marks.INHALT.select {
pidInList = this
orderBy = sorting
where = colPos = 0
max = 1
}
}
Ich hab die Lösung fast gefunden. Und zwar liegt es an der Datenbank. Ich habe sie nämlich mal in eine DB auf einem anderen Server geladen und mir das ganze von dort aus angeschaut.
Da funktiniert alles wunderbar.
Weiss jemand woran es jetzt liegen kann?
Dort wo es nicht funktioniert trage ich als host 'localhost' und als benutzer 'root' + Passwort ein... (Hat es damit was zu tun?)
Gruss
Hallo.
Habe jetzt auch die aktuellste stable von MySQL installiert und PHP 4.3.9
Und immer noch zeigt er keine Inhalt an. Kann einer von euch mal ein einfaches Template + Setup posten, damit ich deises mal ausprobieren kann!
Das wäre super.
Gruss