mysqldumper
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 24.09.2007, 23:29   #1
TP-Junior
 
Registriert seit: Sep 2007
Ort: FL
ScubaBen macht alles soweit korrekt

Probleme mit der Zuweisung von Inhalt


[cObject].CONTENT.select
# Configuring the Auto Parser:

plugin.tx_automaketemplate_pi1 {
#Read the Template file:
content = FILE
content.file = fileadmin/template/main/template_1.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

DIV.all = 1
}

#Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/main/
}


# Menue 1 cObject
temp.menu_1 = HMENU
# First Level menue-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
#Normal state properties
NO.allWrap = <div class="menu1-level1-no"> | </div>
# Enable active stats 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 stats and set properties
ACT = 1
ACT.allWrap = <div class="menu1-level2-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 BODY Tags
workOnSubpart = DOCUMENT_BODY

#Substitue the ###menue_1### subpart with dynamic menu:
subparts.menu_1 < temp.menu_1

#Substitute the ###content### subpart with dynamic content
subparts.content < styles.content.get


#Substitute the ###news### subpart with dynamic content
subparts.news < styles.content.get

}

# Main Template cObjects 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
}
Moinmoin!
Mein Problem ist diesem 2 Spaltigen CSS Template einen unterschiedlichen Content in der linken Spalte zuzuweisen. Die linke Spalte ist NEWS. Wer kann helfen?



# 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
ScubaBen ist offline   Mit Zitat antworten


Alt 24.09.2007, 23:38   #2
TP-Junior
 
Registriert seit: Sep 2007
Ort: FL
ScubaBen macht alles soweit korrekt
MoinMoin!
Irgendwie haben sich da die ersten Zeilen verabschiedet.
Also nochmal: Ich möchte die linke und mittlere Inhaltstablle meines HTML Layouts mit Inhalt füllen. Ich arbeite mit den Supartmarkern news (linke Spalte) und content (mittelspalte)
Kann mir jemand helfen? Ich habe schon viel ausprobiert aber ich verstehe mich mit TypoScript nich so gut.

Vielen Dank im Vorraus.
ScubaBen ist offline   Mit Zitat antworten
Alt 25.09.2007, 00:54   #3
TP-Special Mod
 
Benutzerbild von steffenk
 
Registriert seit: Feb 2005
Ort: Haan / NRW
steffenk lebt für das TP und seine Usersteffenk lebt für das TP und seine Usersteffenk lebt für das TP und seine Usersteffenk lebt für das TP und seine Usersteffenk lebt für das TP und seine Usersteffenk lebt für das TP und seine Usersteffenk lebt für das TP und seine Usersteffenk lebt für das TP und seine User
Code:
#Substitute the ###content### subpart with dynamic content
subparts.content < styles.content.get


#Substitute the ###news### subpart with dynamic content
subparts.news < styles.content.getLeft
Schau nochmal in mein Tutorial, wie man die Inhalte der Spalten definiert.
Ausserdem wäre es schön, wenn Du die Code-Boxen benutzt.
__________________

Typo3 · MySQLDumper · dislabs
·
manche Mühlen mahlen schneller ...
"Ich habe Rücken"
Horst Schlämmer
steffenk ist offline   Mit Zitat antworten
Alt 25.09.2007, 19:38   #4
TP-Junior
 
Registriert seit: Sep 2007
Ort: FL
ScubaBen macht alles soweit korrekt

THX a lot


Danke! Ich hab mir gedacht, dass das so einfach ist.
..und fürs nächste mal benutzt ich eine Codebox!
ScubaBen ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > Typo3
Probleme mit der Zuweisung von Inhalt Probleme mit der Zuweisung von Inhalt
« realurl und google news | Firefox treibt mich in den Wahnsinn »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine 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
Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:25 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



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

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