Ich habe einen Onpager wo er die Inhalte aus den Unterseiten generiert:
lib.content = HMENU
lib.content {
special = directory
special.value = 261
1 = TMENU
1 {
expAll = 1
NO = 1
NO {
doNotLinkIt = 1
stdWrap.cObject = CONTENT
stdWrap.cObject {
table = tt_content
select {
pidInList.field = uid
where = colPos = 0
}
}
stdWrap2.wrap =
|
stdWrap2.insertData = 1
}
}
2 < .1
}
Soweit funktioniert auch alles, aber bei dem Menü habe ich noch Probleme.
Wenn ich folgendes eingebe bekomme ich immer die Domain von der vorigen ROOT-Seite angezeigt.
temp.titleSectionId = TEXT
temp.titleSectionId {
field = title
trim = 1
case = lower
replacement {
10 {
search.char = 32
replace = -
}
20 {
search = /(ä|Ä)/
useRegExp = 1
replace = ae
}
30 {
search = /(ö|Ö)/
useRegExp = 1
replace = oe
}
40 {
search = /(ü|Ü)/
useRegExp = 1
replace = ue
}
50 {
search = ß
replace = ss
}
60 {
search = /\/\\\.\:\;\,\&/
useRegExp = 1
replace =
}
}
}
lib.scrollSpyNavi = HMENU
lib.scrollSpyNavi {
wrap = <div id="topNavi">|</div>
1 = TMENU
1 {
wrap = <ul class="nav">|</ul>
NO = 1
NO {
doNotLinkIt = 1
linkWrap = <li class="link">|</li>
stdWrap >
stdWrap {
cObject = TEXT
cObject {
field = nav_title // title
typolink {
parameter = 1
section.cObject < temp.titleSectionId
}
}
}
}
}
}