Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 04.06.06, 10:47
Benutzerbild von Asd2003
Forum Newbie
 
Registriert seit: 04.06.06
Ort: Hannover
Alter: 19
Beiträge: 14
Asd2003 eine Nachricht über ICQ schicken Asd2003 eine Nachricht über MSN schicken

Templates Einbinden


hallo leute
wie kann ich ein html und css desing in typo 3 einbinden =???

was muss ich da alles machen gibt es da ein leichetes tut
ich weiß das es die bücher modern template building 1-3 gibt
gibt es noch ne andere möglichkeit =???


Mfg im Voraus Asd2003
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 05.06.06, 16:39
Benutzerbild von humpun
Forum Stammgast
 
Registriert seit: 29.09.05
Ort: Ostfriesland
Alter: 22
Beiträge: 327

Hallo Asd2003,

CSS EInbinden:
Typoscript-Code:
1:
2:
3:
page.headerData.10.value (
<link rel="stylesheet" type="text/css" href="fileadmin/template/css/style.css">
)

Dein Template File einbinden:
Typoscript-Code:
1:
2:
3:
4:
5:
page.10 {
template=FILE
template.file=fileadmin/template/layout.html
workOnSubpart = BEREICH
... - ERROR: Line 4: Object Name String, "..." was not preceeded by any operator, =<>({;Line 4: The script is short of 1 end brace(s)

Das steht auch alles in den Dokumenationen modern template building. Das sind keine Bücher, die kannst du dir bei typo3.org kostenlos lesen.

humpun
__________________
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 06.08.08, 15:08
Forum Zuschauer
 
Registriert seit: 06.08.08
Beiträge: 10

Hey sry nochmal das ich das hier durchkauen will^^

aber folgendes Problem ist meines.

Wo kommt der Code da oben rein?
und
hab ich dann meine Homepage als Layout ?

hab eben mal ein wenig was ausprobiert aber lande immer wieder vor nem weißen Fenster.

Hoffe ihr könnt mir weiterhelfen=)
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 07.08.08, 12:10
Forum Newbie
 
Registriert seit: 01.08.08
Beiträge: 22

Na ja, du musst wohl eine komplette Seite (PAGE) im Setup definieren. Ich zeige dir mal mein Newbie-Typoscript, das (bis auf Layout-Probleme im IE) funktioniert:

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:
aulcss = PAGE
aulcss {
typeNum = 0
bodyTag = <body>
stylesheet = fileadmin/aul/aul.css
meta.AUTHOR = Heinrich Krobbach
   # TEMPLATE
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/aul/aul.html
       # workOnSubpart = HAUPT
marks {
INHALT = CONTENT
INHALT {
table = tt_content
select {
where = colPos = 0
orderBy = sorting
languageField = sys_language_uid
}
}

               # Textmenu
MENU_LINKS = HMENU
MENU_LINKS {
1 = TMENU
1 {
NO {
ATagParams = class="navi"
}
CUR = 1                    
CUR {
ATagParams = class="navi_cur"
}

} # Ende 1                    

2 = TMENU
2 {
NO {
ATagParams = class="subnavi"                  
}
CUR = 1                    
CUR {
ATagParams = class="subnavi_cur"
}
} # Ende 2                      
} # Ende MENU_LINKS

} # ENDE marks
} # Ende 10  
} # Ende aulcss
Ach ja, und die marks (hier: "INHALT" und "MENU_LINKS") müssen so
###INHALT###
###MENU_LINKS###
noch in deine Template-html an die Stelle, wo's ausgegeben werden soll.
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
Extension Templates einbinden amandine TYPO3 4.x Fragen und Probleme 0 29.02.08 08:37
Templates Ronaldo TYPO3 4.x Installation und Updates 2 24.08.07 16:27
Wie kann ich html TEMPLATES dynamisch einbinden? istan TYPO3 4.x Fragen und Probleme 1 18.07.07 15:59
Templates in Extensions einbinden caflismaurus Extension modifizieren oder neu erstellen 1 21.10.06 14:57
templates jenny79 TYPO3 3.x Fragen und Probleme 6 04.08.06 20:57


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:12 Uhr.


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