Initial commit
This commit is contained in:
112
fileadmin/templates/typoscript/menues.setup.ts
Normal file
112
fileadmin/templates/typoscript/menues.setup.ts
Normal file
@@ -0,0 +1,112 @@
|
||||
# Hauptmenue
|
||||
temp.menue_navbutton < temp.menu
|
||||
temp.menue_navbutton {
|
||||
1 {
|
||||
stdWrap.wrap = <ul class="nav">|</ul>
|
||||
|
||||
IFSUB = 1
|
||||
IFSUB.wrapItemAndSub = <li class="hatsub"> | </li>
|
||||
IFSUB.stdWrap.htmlSpecialChars = 1
|
||||
|
||||
ACTIFSUB = 1
|
||||
ACTIFSUB < .IFSUB
|
||||
}
|
||||
}
|
||||
|
||||
temp.menue_navbutton.wrap = <div class="navbutton">Info | </div>
|
||||
|
||||
# Footermenue links
|
||||
lib.footermenue_links < temp.menu
|
||||
lib.footermenue_links {
|
||||
special = directory
|
||||
special.value = 9
|
||||
1 {
|
||||
NO {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
ACT {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
CUR {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Footermenue Mitte
|
||||
lib.footermenue_mitte < temp.menu
|
||||
lib.footermenue_mitte {
|
||||
special = directory
|
||||
special.value = 10
|
||||
1 {
|
||||
NO {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
ACT {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
CUR {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Footermenue rechts
|
||||
lib.footermenue_rechts < temp.menu
|
||||
lib.footermenue_rechts {
|
||||
special = directory
|
||||
special.value = 11
|
||||
1 {
|
||||
NO {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
ACT {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
CUR {
|
||||
stdWrap.field = nav_title // title
|
||||
stdWrap.htmlSpecialChars = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#################
|
||||
# Mobiles Menue #
|
||||
#################
|
||||
lib.mobilemenue = COA
|
||||
lib.mobilemenue {
|
||||
10 < temp.menue_navbutton
|
||||
10 {
|
||||
1 {
|
||||
stdWrap.wrap = |
|
||||
|
||||
IFSUB.wrapItemAndSub = <li> | </li>
|
||||
ACT.wrapItemAndSub = <li class="Selected"> | </li>
|
||||
CUR.wrapItemAndSub = <li class="Selected"> | </li>
|
||||
}
|
||||
|
||||
2 {
|
||||
stdWrap.wrap = <ul> | </ul>
|
||||
ACT.wrapItemAndSub = <li class="Selected"> | </li>
|
||||
CUR.wrapItemAndSub = <li class="Selected"> | </li>
|
||||
}
|
||||
|
||||
3 {
|
||||
stdWrap.wrap = <ul> | </ul>
|
||||
ACT.wrapItemAndSub = <li class="Selected"> | </li>
|
||||
CUR.wrapItemAndSub = <li class="Selected"> | </li>
|
||||
}
|
||||
|
||||
wrap = |
|
||||
}
|
||||
|
||||
stdWrap.wrap = <nav id="mobilemenu"><ul> | </ul></nav>
|
||||
}
|
||||
Reference in New Issue
Block a user