Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3-german] Menüpunkt: Seiteninhalt anzeigen within the typo3-german@lists.netfielders.de forums, part of the TYPO3-Mailinglisten: DEUTSCH category; hallo, ich verwende ein foldoutmenu der gleichnamigen extension und möchte die menüstruktur so umgestalten, dass auf der 2ten ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
hallo,
ich verwende ein foldoutmenu der gleichnamigen extension und möchte die menüstruktur so umgestalten, dass auf der 2ten ebene der Seiteninhalt des zugehörigen parent-Menüpunkts angezeigt wird. Da es ein aufklappbares Menü ist, soll somit beim klick auf eines level1-menüpunkts der page content (content der ganzen seite, nicht einzelne content-elemente!) "herausgefahren" werden. hat jemand einen vorschlag, wie ich das bewerkstelligen kann? sitze schon 2 tage an dem menü ![]() mein typoscript für das menü sieht zur zeit folgendermaßen aus: ################################################## ############# includeLibs.foldoutmenu = fileadmin/scripts/foldoutmenu.php includeLibs.usermenu = fileadmin/scripts/menuFunc.inc temp.menu.foldoutMenu = COA temp.menu.foldoutMenu { 10 = HMENU 10 { special = userfunction special.userFunc = user_menuFunc->makeMenuArray #special.userFunc.table = tt_news_cat special.userFunc.select.pidInList = 26 wrap = <div id="menug"><ul>|</ul></div> } 10.1 = TMENU 10.1 { expAll = 1 itemArrayProcFunc = user_foldoutMenu->getIfSubUidList # This menu uses an extra PHP function to set the "onmousedown" action # on the link and change the HREF parameter to "javascript:;" # In order for rollovers on beforImg/afterImg to work # Only parameter is the menuprefix (same as in the TEXT object) IProcFunc = user_foldoutMenu->setOnMouseDown IProcFunc.prefix = gmenu NO { doNotShowLink = 1 RO = 1 beforeImg = GIFBUILDER beforeImg { XY = 308,27 10 = IMAGE 10.file = {$temp.menu.foldoutMenu.imgFolder}{$temp.menu.fold outMenu.buttonImg1} |*| {$temp.menu.foldoutMenu.imgFolder}{$temp.menu.fold outMenu.buttonImg2} 20 = TEXT 20.text.field = title 20.offset = 10,20 20.align = left 20.fontSize = 13 20.fontColor = #FFFFFF } beforeImgLink = 1 allWrap = <li>|</li> } CUR < .NO CUR = 1 IFSUB < .NO IFSUB = 1 IFSUB { subst_elementUid = 1 allWrap = <li>|<ul id="gmenu-{elementUid}" style="background-image:url({$temp.menu.foldoutMenu.imgFolder}{$temp .menu..foldoutMenu.buttonImg3});width:308px;margin-left:16px;"> wrapItemAndSub = |</ul></li> } CURIFSUB < .IFSUB CURIFSUB = 1 ACTIFSUB < .IFSUB ACTIFSUB = 1 ACTIFSUB.allWrap = <li>|<ul id="gmenu-{elementUid}" style="display:block;"> } 10.2 = TMENU 10.2 { expAll = 1 itemArrayProcFunc = user_foldoutMenu->getIfSubUidList # This menu uses an extra PHP function to set the "onmousedown" action # on the link and change the HREF parameter to "javascript:;" # In order for rollovers on beforImg/afterImg to work # Only parameter is the menuprefix (same as in the TEXT object) IProcFunc = user_foldoutMenu->setOnMouseDown IProcFunc.prefix = gmenu NO { doNotShowLink = 1 RO = 1 beforeImg = GIFBUILDER beforeImg { transparentBackground = 1 XY = 307,55 10 = TEXT 10 { text.field = title fontSize = 15 offset = 5,18 fontColor = #ee7900 } } } beforeImgLink = 1 allWrap = <li>|</li> } CUR < .NO CUR = 1 IFSUB < .NO IFSUB = 1 IFSUB { subst_elementUid = 1 allWrap = <li>|<ul id="gmenu-{elementUid}"> wrapItemAndSub = |</ul></li> } CURIFSUB < .IFSUB CURIFSUB = 1 ACTIFSUB < .IFSUB ACTIFSUB = 1 ACTIFSUB.allWrap = <li>|<ul id="gmenu-{elementUid}" style="display:block;"> } 20 = TEXT 20.data = register:ifSubUidList 20.postUserFunc = user_foldoutMenu->JSWrapper 20.postUserFunc.prefix = gmenu 20.postUserFunc.startFolded = 1 20.postUserFunc.autoFold = 1 20.postUserFunc.foldCurrent = 1 20.postUserFunc.enableCookie = 1 20.required = 1 } ################################################## ############# vielen herzlichen dank im voraus! gruss dee _______________________________________________ TYPO3-german mailing list TYPO3-german (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...o/typo3-german |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] Manü special: Nur ein Menüpunkt mit Bild | Dr. Susanna Künzl | typo3-german@lists.netfielders.de | 9 | 10.04.2007 15:49 |
| [TYPO3-german] Frontend Editing und versteckter Seiteninhalt | Benno Weinzierl | typo3-german@lists.netfielders.de | 4 | 09.02.2007 10:36 |
| [TYPO3-german] Seiteninhalt abhängig von Bereich anzeigen | Daniel Brockpähler | typo3-german@lists.netfielders.de | 5 | 16.12.2006 09:56 |
| [TYPO3-german] Menüpunkt farblich hinterlegen | Tom Zirngibl | typo3-german@lists.netfielders.de | 1 | 08.12.2006 01:21 |
| [TYPO3-german] Seiteninhalt Typ Bild mit mehrern Links | Lars Möller | typo3-german@lists.netfielders.de | 0 | 07.12.2006 09:59 |