Hallo zusammen,
ich habe bei meinem neuen Project folgende Probleme:
zum ersten hab ich das Problem wenn ich die Seite aufrufe ist das menü noch zu. Das möchte ich aufgeklappt haben aus dem Grund weil sich das Menü sonst um ein paar Pixel nach oben verschiebt was ziemlich unschön finde.
zum anderen kann ich den Content irgentwie nicht formtieren obwohl ich den Quellcode von einem anderen Project von mir kopiert habe und dort hat er wunderbar funktioniert.
Mein drittes Problem ist eher eine anfrage wie ich sowas relisieren kann.
Ich habe einen MEnüpunkt der heist Standorte dort sind die Filialen von der Seite aufgelistet dazu habe ich eine Newsbox ich möchte es so hinbekommen wenn ich auf eine Filiale klicke das dann die News von dem Standort in der Box angezeigt werden ist das möglich ich sag dazu das ich erst vor 4 Wochen mit Typo3 angefangen habe.
##################TEMPLATE LADEN
seite = PAGE
seite {
typeNum = 0
meta.DESCRIPTION = xxx
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/xxx/index.htm
10.marks {
################## HAUPTMENUE
HAUPTMENUE = HMENU
#HAUPTMENUE.special = directory
#HAUPTMENUE.special.value = 1068
HAUPTMENUE.entryLevel = 1
HAUPTMENUE.1 = GMENU
HAUPTMENUE.1.expAll=1
HAUPTMENUE.1.NO {
XY = [10.w]+20,20
#XY = 95,20
#XY = 90, 20 || 90,19
backColor = | #0069b3 |
transparentBackground = 1
10 = TEXT
10.text.field = title
#10.text.field = || title || title || title || title || title
10.fontColor = #FFFFFF
10.fontWeight = 1
10.fontFile = fileadmin/fonts/Calibri.ttf
10.fontSize = 13
10.offset = -13,16
10.align = right
10.niceText = 1
wrap = <img src="fileadmin/xxx/img/abstand.jpg" width="5px" height="16px" alt="" />
}
#################### UNTERMENUE
SUBMENUE = HMENU
SUBMENUE {
entryLevel = 2
#special = directory
#special.value = 1038,1037,1036,1035,1034,1033
1 = GMENU
1.expAll = 1
1.NO {
#1.NO.linkWrap = <div>|</div>
XY = [10.w]+20,20
backColor = | #0069b3 |
transparentBackground = 1
10 = TEXT
10.text.field = || title || title || title || title || title
10.fontColor = #FFFFFF
10.fontWeight = 1
10.fontFile = fileadmin/fonts/Calibri.ttf
10.fontSize = 10
10.offset = -17,16
10.align = right
10.niceText = 1
}
}
####### CONTENT
CONTENT >
CONTENT = CONTENT
CONTENT {
table = tt_content
select {
orderBy = sorting
# Spalte RECHTS
where=colPos=0
languageField = sys_language_uid
}
}
CONTENT.stdWrap.ifEmpty.cObject = CONTENT
CONTENT.stdWrap.ifEmpty.cObject {
table = tt_content
select{
# ID der Seite mit Default-Inhalt
# pidInList = 1013
orderBy = sorting
# Spalte, aus der der Inhalt entnommen wird, hier NORMAL
where=colPos=0
# max. 3 Datensätze Anzeigen
max = 3
languageField = sys_language_uid
}
}
lib.stdheader >
lib.stdheader = CASE
lib.stdheader {
key.field = header_layout
1 = TEXT
1.field = header
1.wrap = <font face="Calibri Fett" size="15" color="ff0000" ><b> | </b></font><br>
default < .1
}
tmp_tt_content_text < tt_content.text
tt_content.text >
tt_content.text = COA
tt_content.text.10 < lib.stdheader
tt_content.text.20 = TEXT
tt_content.text.20 {
field = bodytext
fieldRequired = bodytext
wrap = <font face="Calibri" size="5">|</font><br>
parseFunc < tmp_tt_content_text.20.parseFunc
editIcons < tmp_tt_content_text.20.editIcons
}
}
}
Grüsse
Nephiria