TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 18.01.2007, 12:14
Asbjørn Morell
Gast
 
Beiträge: n/a
Standard [TYPO3] foldoutmenu start level.

Hello.

How do I make my submenu work together with my main menu? If page1 is
selected in the main menu, the sub menu should only show "Children".
Furthermore how do I hide a page from the submenu tree? I don't want the
user to see the result page for my submit form.

Best regards.
Asbjørn Morell



TypoScript:

includeLibs.foldoutmenu = typo3conf/ext/foldoutmenu/foldoutmenu.php

## Menu [Begin]
lib.mainMenu = HMENU
lib.mainMenu.entryLevel = 0

lib.mainMenu.1 = TMENU
lib.mainMenu.1.NO {
allWrap = <li>|</li> |*| <li>|</li> |*| <li class="last">|</li>
# allWrap = <li>|</li>
}

lib.mainMenu.1.ACT = 1
lib.mainMenu.1.ACT {
# allWrap = <li class="current">|</li>
allWrap = <li class="current">|</li> |*| <li class="current">|</li> |*|
<li class="last current">|</li>
}
## Menu [End]

# SubMenu with no image swap.
lib.subMenu = COA
lib.subMenu {
10 = HMENU
10.wrap = <ul>|</ul>
10.1 = TMENU
10.1 {
expAll = 1
itemArrayProcFunc = user_foldoutMenu->getIfSubUidList
NO {
allWrap = <li>|</li>
}
IFSUB < .NO
IFSUB = 1
IFSUB {
subst_elementUid = 1
doNotLinkIt = 1
linkWrap = <A onmousedown="amenu.foldMenu('amenu-{elementUid}');return
false;" style="cursor: pointer;">|</A>
allWrap = <li>|<ul id="amenu-{elementUid}">
wrapItemAndSub = |</ul></li>
}
}
10.2 < .10.1
10.3 < .10.1
10.4 < .10.1

20 = TEXT
20.data = register:ifSubUidList
20.postUserFunc = user_foldoutMenu->JSWrapper
20.postUserFunc.prefix = amenu
20.required = 1
}

page.10 < lib.subMenu


config.spamProtectEmailAddresses = 1

page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page


_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Sponsored Links
  #2  
Alt 18.01.2007, 20:52
Asbjørn Morell
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] foldoutmenu start level.

I found the answer:
http://lists.netfielders.de/pipermai...ry/019603.html
Thank you Stig.

If anyone know how to hide a page from the foldoutmenu please let me know.
e.g.

Level2
level3
level3
level3 <-- how do I hide this


Best regards.
Asbjørn Morell.


"Asbjørn Morell" <atmorell (AT) gmail (DOT) com> wrote in message
news:mailman.1.1169118881.23866.typo3-english (AT) lists (DOT) netfielders.de...
> Hello.
>
> How do I make my submenu work together with my main menu? If page1 is
> selected in the main menu, the sub menu should only show "Children".
> Furthermore how do I hide a page from the submenu tree? I don't want the
> user to see the result page for my submit form.
>
> Best regards.
> Asbjørn Morell
>
>
>
> TypoScript:
>
> includeLibs.foldoutmenu = typo3conf/ext/foldoutmenu/foldoutmenu.php
>
> ## Menu [Begin]
> lib.mainMenu = HMENU
> lib.mainMenu.entryLevel = 0
>
> lib.mainMenu.1 = TMENU
> lib.mainMenu.1.NO {
> allWrap = <li>|</li> |*| <li>|</li> |*| <li class="last">|</li>
> # allWrap = <li>|</li>
> }
>
> lib.mainMenu.1.ACT = 1
> lib.mainMenu.1.ACT {
> # allWrap = <li class="current">|</li>
> allWrap = <li class="current">|</li> |*| <li class="current">|</li> |*|
> <li class="last current">|</li>
> }
> ## Menu [End]
>
> # SubMenu with no image swap.
> lib.subMenu = COA
> lib.subMenu {
> 10 = HMENU
> 10.wrap = <ul>|</ul>
> 10.1 = TMENU
> 10.1 {
> expAll = 1
> itemArrayProcFunc = user_foldoutMenu->getIfSubUidList
> NO {
> allWrap = <li>|</li>
> }
> IFSUB < .NO
> IFSUB = 1
> IFSUB {
> subst_elementUid = 1
> doNotLinkIt = 1
> linkWrap = <A
> onmousedown="amenu.foldMenu('amenu-{elementUid}');return false;"
> style="cursor: pointer;">|</A>
> allWrap = <li>|<ul id="amenu-{elementUid}">
> wrapItemAndSub = |</ul></li>
> }
> }
> 10.2 < .10.1
> 10.3 < .10.1
> 10.4 < .10.1
>
> 20 = TEXT
> 20.data = register:ifSubUidList
> 20.postUserFunc = user_foldoutMenu->JSWrapper
> 20.postUserFunc.prefix = amenu
> 20.required = 1
> }
>
> page.10 < lib.subMenu
>
>
> config.spamProtectEmailAddresses = 1
>
> page = PAGE
> page.typeNum = 0
> page.10 = USER
> page.10.userFunc = tx_templavoila_pi1->main_page
>
>


_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 18.01.2007, 21:49
Asbjørn Morell
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] foldoutmenu start level.

doh!
Just had to click hide page in the page properties! form still works and
displays the result page when submitted.




"Asbjørn Morell" <atmorell (AT) gmail (DOT) com> wrote in message
news:mailman.1.1169149970.2645.typo3-english (AT) lists (DOT) netfielders.de...
>I found the answer:
> http://lists.netfielders.de/pipermai...ry/019603.html
> Thank you Stig.
>
> If anyone know how to hide a page from the foldoutmenu please let me know.
> e.g.
>
> Level2
> level3
> level3
> level3 <-- how do I hide this
>
>
> Best regards.
> Asbjørn Morell.
>
>
> "Asbjørn Morell" <atmorell (AT) gmail (DOT) com> wrote in message
> news:mailman.1.1169118881.23866.typo3-english (AT) lists (DOT) netfielders.de...
>> Hello.
>>
>> How do I make my submenu work together with my main menu? If page1 is
>> selected in the main menu, the sub menu should only show "Children".
>> Furthermore how do I hide a page from the submenu tree? I don't want the
>> user to see the result page for my submit form.
>>
>> Best regards.
>> Asbjørn Morell
>>
>>
>>
>> TypoScript:
>>
>> includeLibs.foldoutmenu = typo3conf/ext/foldoutmenu/foldoutmenu.php
>>
>> ## Menu [Begin]
>> lib.mainMenu = HMENU
>> lib.mainMenu.entryLevel = 0
>>
>> lib.mainMenu.1 = TMENU
>> lib.mainMenu.1.NO {
>> allWrap = <li>|</li> |*| <li>|</li> |*| <li class="last">|</li>
>> # allWrap = <li>|</li>
>> }
>>
>> lib.mainMenu.1.ACT = 1
>> lib.mainMenu.1.ACT {
>> # allWrap = <li class="current">|</li>
>> allWrap = <li class="current">|</li> |*| <li class="current">|</li> |*|
>> <li class="last current">|</li>
>> }
>> ## Menu [End]
>>
>> # SubMenu with no image swap.
>> lib.subMenu = COA
>> lib.subMenu {
>> 10 = HMENU
>> 10.wrap = <ul>|</ul>
>> 10.1 = TMENU
>> 10.1 {
>> expAll = 1
>> itemArrayProcFunc = user_foldoutMenu->getIfSubUidList
>> NO {
>> allWrap = <li>|</li>
>> }
>> IFSUB < .NO
>> IFSUB = 1
>> IFSUB {
>> subst_elementUid = 1
>> doNotLinkIt = 1
>> linkWrap = <A
>> onmousedown="amenu.foldMenu('amenu-{elementUid}');return false;"
>> style="cursor: pointer;">|</A>
>> allWrap = <li>|<ul id="amenu-{elementUid}">
>> wrapItemAndSub = |</ul></li>
>> }
>> }
>> 10.2 < .10.1
>> 10.3 < .10.1
>> 10.4 < .10.1
>>
>> 20 = TEXT
>> 20.data = register:ifSubUidList
>> 20.postUserFunc = user_foldoutMenu->JSWrapper
>> 20.postUserFunc.prefix = amenu
>> 20.required = 1
>> }
>>
>> page.10 < lib.subMenu
>>
>>
>> config.spamProtectEmailAddresses = 1
>>
>> page = PAGE
>> page.typeNum = 0
>> page.10 = USER
>> page.10.userFunc = tx_templavoila_pi1->main_page
>>
>>

>


_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 22.01.2007, 08:23
Katja Lampela
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] foldoutmenu start level.

Hide page hides the page altogether, you can use "not in menu" page type
or activate "hide in menu" to get the page hidden from menus but still
be available on the site.
Katja

Asbjørn Morell wrote:
> doh!
> Just had to click hide page in the page properties! form still works and
> displays the result page when submitted.
>
>
>
>
> "Asbjørn Morell" <atmorell (AT) gmail (DOT) com> wrote in message
> news:mailman.1.1169149970.2645.typo3-english (AT) lists (DOT) netfielders.de...
>> I found the answer:
>> http://lists.netfielders.de/pipermai...ry/019603.html
>>
>> Thank you Stig.
>>
>> If anyone know how to hide a page from the foldoutmenu please let me
>> know.
>> e.g.
>>
>> Level2
>> level3
>> level3
>> level3 <-- how do I hide this
>>
>>
>> Best regards.
>> Asbjørn Morell.
>>
>>
>> "Asbjørn Morell" <atmorell (AT) gmail (DOT) com> wrote in message
>> news:mailman.1.1169118881.23866.typo3-english (AT) lists (DOT) netfielders.de...
>>> Hello.
>>>
>>> How do I make my submenu work together with my main menu? If page1 is
>>> selected in the main menu, the sub menu should only show "Children".
>>> Furthermore how do I hide a page from the submenu tree? I don't want
>>> the user to see the result page for my submit form.
>>>
>>> Best regards.
>>> Asbjørn Morell
>>>
>>>
>>>
>>> TypoScript:
>>>
>>> includeLibs.foldoutmenu = typo3conf/ext/foldoutmenu/foldoutmenu.php
>>>
>>> ## Menu [Begin]
>>> lib.mainMenu = HMENU
>>> lib.mainMenu.entryLevel = 0
>>>
>>> lib.mainMenu.1 = TMENU
>>> lib.mainMenu.1.NO {
>>> allWrap = <li>|</li> |*| <li>|</li> |*| <li class="last">|</li>
>>> # allWrap = <li>|</li>
>>> }
>>>
>>> lib.mainMenu.1.ACT = 1
>>> lib.mainMenu.1.ACT {
>>> # allWrap = <li class="current">|</li>
>>> allWrap = <li class="current">|</li> |*| <li class="current">|</li>
>>> |*| <li class="last current">|</li>
>>> }
>>> ## Menu [End]
>>>
>>> # SubMenu with no image swap.
>>> lib.subMenu = COA
>>> lib.subMenu {
>>> 10 = HMENU
>>> 10.wrap = <ul>|</ul>
>>> 10.1 = TMENU
>>> 10.1 {
>>> expAll = 1
>>> itemArrayProcFunc = user_foldoutMenu->getIfSubUidList
>>> NO {
>>> allWrap = <li>|</li>
>>> }
>>> IFSUB < .NO
>>> IFSUB = 1
>>> IFSUB {
>>> subst_elementUid = 1
>>> doNotLinkIt = 1
>>> linkWrap = <A
>>> onmousedown="amenu.foldMenu('amenu-{elementUid}');return false;"
>>> style="cursor: pointer;">|</A>
>>> allWrap = <li>|<ul id="amenu-{elementUid}">
>>> wrapItemAndSub = |</ul></li>
>>> }
>>> }
>>> 10.2 < .10.1
>>> 10.3 < .10.1
>>> 10.4 < .10.1
>>>
>>> 20 = TEXT
>>> 20.data = register:ifSubUidList
>>> 20.postUserFunc = user_foldoutMenu->JSWrapper
>>> 20.postUserFunc.prefix = amenu
>>> 20.required = 1
>>> }
>>>
>>> page.10 < lib.subMenu
>>>
>>>
>>> config.spamProtectEmailAddresses = 1
>>>
>>> page = PAGE
>>> page.typeNum = 0
>>> page.10 = USER
>>> page.10.userFunc = tx_templavoila_pi1->main_page
>>>
>>>

>>

>

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] sr_feuser setting start & stop automatically to d & d+365 Kristian Sogaard typo3-english@lists.netfielders.de 3 05.01.2007 21:35


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:02 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103