Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 27.03.08, 20:49
Forum Newbie
 
Registriert seit: 09.01.08
Alter: 19
Beiträge: 23

Problem bei der Einbindung des HTML Templates


Hallo,

habe zuvor ein wenig mit Templavolia herumgespielt und hab mich schlussendlich dazu entschlossen, die Templating auf die normal Art und Weise zu machen.

Da ich noch relativ am Anfang bin und nur ein wenig herumprobiere ist bereits jetzt ein Problem aufgetaucht.

HTML-Code:
<div id="content"> <table width="100%" border="0"> <tr><!-- ###CONTENT### start --> <td class="content">&nbsp;</td> </tr><!-- ###CONTENT### stop --> <tr> <td><div align="center"><span class="footer">Konzeption | Programmierung | Design - xsicht.net<br /> &copy;2008 ferienwohnung frank-voegele.at | Alle Rechte vorbehalten</span></div></td> </tr> </table> </div>
so sieht der Abschnitt in meiner HTML Datei aus.
Das Problem ist, dass es die CSS Formatierung nicht übernimmt.

http://www.frank-voegele.at/cms/file.../css/style.css

Vorher bei einem anderen Versuch hat es geklappt, ich weiß aber nicht, wieso es jetzt nicht mehr funktioniert.

Hoffe jemand kann mir weiterhelfen.

Vielen Dank im Voraus
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
page = PAGE
page.stylesheet = style*.css

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = template*.html
workOnSubpart = DOCUMENT_BODY


subparts.CONTENT <styles.content.get

}

Geändert von lechus (27.03.08 um 20:57 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 27.03.08, 22:01
Forum Aktivist
 
Registriert seit: 04.01.08
Beiträge: 98

template.file = template*.html ?

was macht denn der * in dem Dateinamen?

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:
#--------------------------------#
#     HEADER, P-OBJ              #
#--------------------------------#
page = PAGE
page.meta {
description = ...
keywords    = ...
author      = ...
copyright   = ...
}
page{
config.index_enable = 1
config.doctype = xhtml_trans
shortcutIcon = fileadmin/img/favicon.gif  
includeCSS {
file1 = fileadmin/css/styles.css
file1.media = screen,projection
file2 = fileadmin/css/rte.css
file2.media = screen,projection,print
file3 = fileadmin/css/print.css
file3.media = print
}  

headerData = COA
headerData{  
10 = TEXT
10.field = title
10.wrap = <title>SEITENNAME&nbsp;-&nbsp;|</title>
}

bodyTagCObject = TEXT
bodyTagCObject {
wrap =<body onload="">
}  

}

#--------------------------------#
#     TEMPLATE, SUBPARTS         #
#--------------------------------#
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/main.html
workOnSubpart = DOKUMENT

  #subpartstuff
subparts.CONTENT < styles.content.get
}

hab Dir mal ein bisschen was zusammen geschnipselt. Vielleicht hilft dir das ;)
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 28.03.08, 11:56
Forum Newbie
 
Registriert seit: 09.01.08
Alter: 19
Beiträge: 23

danke für deine vorlage, aber habe den teil von meinem script aus einem video2brain und funktioniert normal auch. es dreht sich nur um dass, dass es die CSS formatierung auf den content bereich nicht übernimmt
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

Lesezeichen

Themen-Optionen
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 hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-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
Mehrere html Templates Kalimero TYPO3 4.x Fragen und Probleme 3 11.12.07 10:07
unterschiedliche html Templates filterman TYPO3 4.x Fragen und Probleme 3 22.10.07 14:41
Wie kann ich html TEMPLATES dynamisch einbinden? istan TYPO3 4.x Fragen und Probleme 1 18.07.07 16:59
html templates erscheinen nicht so wie sie sollten RamX TemplaVoila 6 19.02.07 20:02
Auto-parse Template und mehrere HTML Templates burn Alle anderen Extensions 1 13.07.05 15:02


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:16 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0