[globalVar = GP:L = 1]
subparts.MENU.excludeUidList = 506
[global]
Das klappt bei mir nicht #paralyzed#
Was mache ich falsch ?
[globalVar = GP:L = 1]
subparts.MENU.excludeUidList = 506
[global]
Das klappt bei mir nicht #paralyzed#
Was mache ich falsch ?
schwer zu beurteilen, so aus der Ferne. Ein paar Möglichkeiten:
- globalVar steht innerhalb einer geschweiften Klammer
- die Verbindung zum page Objekt des subparts fehlt
- es gibt keine L=1
- globals sind "off"
- .....
Wahrscheinlich gibts noch ein paar mehr Möglichkeiten, aber so spontan würd ich auf Möglichkeit 1 tippen (Du hast die globalVar Anweisung innerhalb einer geschweiften Klammer stehen).
Viele Grüße
Niki
Das ist mein Code
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/briese/briese.css
page.bodyTag = <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="auto">
page.headerData.10 = TEXT
config.linkVars = L
config.sys_language_uid = 0
config_language = de
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config_language = en
[global]
[globalVar = GP:L = 1]
subparts.MENU.excludeUidList = 506
[global]
tt_content.image.20.spaceBelowAbove = 0
tt_content.image.20.noStretchAndMarginCells = 1
tt_content.textpic.20.spaceBelowAbove = 0
tt_content.textpic.20.noStretchAndMarginCells = 1
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/briese2.html
workOnSubpart = DOCUMENT_BODY
subparts.SPRACHE = CONTENT
subparts.SPRACHE >
subparts.SPRACHE = RECORDS
subparts.SPRACHE.tables = tt_content
subparts.SPRACHE.source = 2082
subparts.NEWS = CONTENT
subparts.NEWS >
subparts.NEWS = RECORDS
subparts.NEWS.tables = tt_content
subparts.NEWS.source = 2055
subparts.KONTAKT = CONTENT
subparts.KONTAKT >
subparts.KONTAKT = RECORDS
subparts.KONTAKT.tables = tt_content
subparts.KONTAKT.source = 2091
subparts.TEXT < styles.content.get
subparts.FLASH < styles.content.getBorder
subparts.KOPF < styles.content.getLeft
subparts.PRINTER=TEXT
subparts.PRINTER {
value = Print
postUserFunc = tx_make_printlink
postUserFunc {
include_post_vars = 1
target=_self
popup=0
windowparams=(
resizable=yes,toolbar=yes,scrollbars=yes,menubar=yes,width=700, height=500
)
aTagParams = class="footer"
windowname=printwindow
}
}
subparts.KLA = IMAGE
subparts.KLA.file = GIFBUILDER
subparts.KLA.file {
backColor = #ffffff
XY = 289,17
20 = TEXT
20.text.field = subtitle
20.offset = 0,14
20.niceText = 0
20.fontSize= 11
20.fontFile = fileadmin/verdana.ttf
20.fontColor = #1C73B8
}
subparts.MENU = HMENU
subparts.MENU.entryLevel = 0
subparts.MENU.collapse = 1
subparts.MENU.1 = GMENU
subparts.MENU.1{
expAll = 0
NO {
4 = IMAGE
4.file = fileadmin/briese/pfeil.gif
backColor = #A6C8ED
XY = 165, 19
wrap = | <br />
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/frutiger45.ttf
10.fontSize = 10
10.offset = 25,15
10.fontColor = #000000
10.niceText = 0
10.fontStyle = normal
}
CUR < .NO
CUR=1
CUR {
4 = IMAGE
4.file = fileadmin/briese/pfeil2.gif
backColor = #A6C8ED
}
}
subparts.MENU.2 = GMENU
subparts.MENU.2 {
NO {
4 = IMAGE
4.file = fileadmin/briese/pfeil11.gif
backColor = #A6C8ED
XY = 155, 15
wrap = | <br />
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/frutiger65.ttf
10.fontSize = 9
10.offset = 35,12
10.fontColor = #ffffff
10.fontStyle = bold
10.niceText = 0
}
CUR < .NO
CUR=1
CUR {
4 = IMAGE
4.file = fileadmin/briese/pfeil22.gif
backColor = #A6C8ED
}
ACT < .NO
ACT = 1
ACT {
4 = IMAGE
4.file = fileadmin/hartmannde/subpfeil.gif
}
}
}
tt_content.image.20.spaceBelowAbove = 0
tt_content.image.20.noStretchAndMarginCells = 1
plugin.tt_news {
templateFile = fileadmin/briese/tt_news_template.html
useMultiPageSingleView = 1
pageBreakToken = <break>
maxWordsInSingleView = 300
useParagraphAsPagebreak = 1
subheaderOnAllSViewPages = 0
appendSViewPBtoContent = 0
}
}
subparts.MENU in der globalVar Anweisung muss auf das page.10 Objekt bezogen werden
Viele Grüße
Niki
So wird es etwas deutlicher was in der vorherigen Antwort gemeint war.
[globalVar = GP:L = 1]
page.10.subparts.MENU.excludeUidList = 506
[global]