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 07.10.2007, 14:30
Gijs Epping
Gast
 
Beiträge: n/a
Standard [TYPO3] Tmenu seperated div per entrylevel

Hello,

I am having problems to create the following menu. The idea is that al
the submenu's are wraped in a seperate div and that the id of the div
corresponds with the head menu item's id. below the page structure. But
this can be unlimited. Another question i have is, if it is possible to
check if a page entry has content or not?


menu 1
menu 1.1
menu 1.2
menu 1.2.1
menu 1.2.2
menu 1.2.2.1
menu 1.2.2.2
etc
menu 1.2.3
menu 1.3




This is how the div structure should look like
<div id="menu 1">
<ul>
<li id="menu 1.1">1.1 menu item</li>
<li id="menu 1.2">1.2 menu item</li>
<li id="menu 1.3">1.3 menu item</li>
</ul>
</div>

<div id="menu 1.1">
<ul>
<li id="menu 1.2.1">1.2.1 menu item</li>
<li id="menu 1.2.2">1.2.2 menu item</li>
<li id="menu 1.2.3">1.2.3 menu item</li>
</ul>
</div>

<div id="menu 1.2">
<ul>
<li id="menu 1.2.1">1.2.1 menu item</li>
<li id="menu 1.2.2">1.2.2 menu item</li>
<li id="menu 1.2.3">1.2.3 menu item</li>
</ul>
</div>

<div id="menu 1.2.2">
<ul>
<li id="menu 1.2.2.1">1.2.2.1 menu item</li>
<li id="menu 1.2.2.2">1.2.2.2 menu item</li>
</ul>
</div>


etc etc


I am trying to re-create this menu
http://joehewitt.com/files/iphone/na...n.html#_albums

but so fare i have not succeeded, i am pretty new to typoscript so some
help would be appriciated.


Kind regards
Gijs
_______________________________________________
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!
  #2  
Alt 07.10.2007, 15:13
Tomas Mrozek
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Tmenu seperated div per entrylevel

My wild guess is that it's possible.
http://www.typo3wizard.com/en/snippe...ered-menu.html
http://www.typo3wizard.com/en/snippe...ered-menu.html

You would have to change it and include the numbers in the menu wraps.

You can start playing with the example or wait if someone generously
provides you with an exact solution.

Tomas Mrozek
_______________________________________________
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 08.10.2007, 12:59
Gijs Epping
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Tmenu seperated div per entrylevel

Thanks Thomas,

I tryed them and indeed it's like i want but i still can't figure out
how to seprate the menu tree's into div's

Regards Gijs

Tomas Mrozek schreef:
> My wild guess is that it's possible.
> http://www.typo3wizard.com/en/snippe...ered-menu.html
>
> http://www.typo3wizard.com/en/snippe...ered-menu.html
>
> You would have to change it and include the numbers in the menu wraps.
>
> You can start playing with the example or wait if someone generously
> provides you with an exact solution.
>
> Tomas Mrozek

_______________________________________________
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 08.10.2007, 15:07
Gijs Epping
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Tmenu seperated div per entrylevel

is there somebody who can give me an example of unested menu tree's?

i can't find any, but may be i'am just looking wrong.

regards Gijs


Gijs Epping schreef:
> Thanks Thomas,
>
> I tryed them and indeed it's like i want but i still can't figure out
> how to seprate the menu tree's into div's
>
> Regards Gijs
>
> Tomas Mrozek schreef:
>> My wild guess is that it's possible.
>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>
>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>
>> You would have to change it and include the numbers in the menu wraps.
>>
>> You can start playing with the example or wait if someone generously
>> provides you with an exact solution.
>>
>> Tomas Mrozek

_______________________________________________
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!
  #5  
Alt 08.10.2007, 20:05
Peter Klein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Tmenu seperated div per entrylevel

Hi Gijs.
Here's a TS snippet I made a couple weeks ago, trying to emulate the setup
of the menu at:
http://joehewitt.com/files/iphone/navigation.html

It uses the page ids for generating the CSS ids.
If a page has subpages, then the CSS id is added as section (#), otherwise
it just links to the page.

-- cut --
lib.iPhoneMenu = COA
lib.iPhoneMenu {

# Example TypoScript setup for creating a menu as un-nested lists.
# For use with the CSS/JS setup found at
http://joehewitt.com/files/iphone/navigation.html

wrap = <div class="iPhoneMenu"> | </div>
10 = HMENU
10.entryLevel = 0

# 1st level
10.1 = TMENU
10.1 {
stdWrap.dataWrap = <ul id="c{fieldid}" selected="true"> | </ul>
expAll = 1
NO {
linkWrap = <li>|</li>
}
IFSUB < .NO
IFSUB = 1
IFSUB.doNotLinkIt = 1
IFSUB.stdWrap.typolink.parameter.data = page:uid
IFSUB.stdWrap.typolink.section.field = uid
}

# 2nd level
20 < .10
20.1.stdWrap.dataWrap >
20.1.NO.doNotShowLink = 1
20.1.IFSUB.doNotShowLink = 1
20.2 < .10.1
20.2.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>

# 3rd level
30 < .20
30.2.stdWrap.dataWrap >
30.2.NO.doNotShowLink = 1
30.2.IFSUB.doNotShowLink = 1
30.3 < .10.1
30.3.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>

# 4th level
40 < .30
40.3.stdWrap.dataWrap >
40.3.NO.doNotShowLink = 1
40.3.IFSUB.doNotShowLink = 1
40.4 < .10.1
40.4.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>

}

page.123 < lib.iPhoneMenu
-- cut --

--
Peter Klein / Umloud Untd.

"Gijs Epping" <gijs.epping (AT) efocus (DOT) nl> wrote in message
news:mailman.1.1191848878.11546.typo3-english (AT) lists (DOT) netfielders.de...
> is there somebody who can give me an example of unested menu tree's?
>
> i can't find any, but may be i'am just looking wrong.
>
> regards Gijs
>
>
> Gijs Epping schreef:
>> Thanks Thomas,
>>
>> I tryed them and indeed it's like i want but i still can't figure out how
>> to seprate the menu tree's into div's
>>
>> Regards Gijs
>>
>> Tomas Mrozek schreef:
>>> My wild guess is that it's possible.
>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>>
>>> You would have to change it and include the numbers in the menu wraps.
>>>
>>> You can start playing with the example or wait if someone generously
>>> provides you with an exact solution.
>>>
>>> Tomas Mrozek



_______________________________________________
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!
  #6  
Alt 09.10.2007, 13:43
Gijs Epping
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Tmenu seperated div per entrylevel

Holy crap, i thought i was the only one interested in this menu,

I will try his tonight.

Thanks allot!


Peter Klein schreef:
> Hi Gijs.
> Here's a TS snippet I made a couple weeks ago, trying to emulate the setup
> of the menu at:
> http://joehewitt.com/files/iphone/navigation.html
>
> It uses the page ids for generating the CSS ids.
> If a page has subpages, then the CSS id is added as section (#), otherwise
> it just links to the page.
>
> -- cut --
> lib.iPhoneMenu = COA
> lib.iPhoneMenu {
>
> # Example TypoScript setup for creating a menu as un-nested lists.
> # For use with the CSS/JS setup found at
> http://joehewitt.com/files/iphone/navigation.html
>
> wrap = <div class="iPhoneMenu"> | </div>
> 10 = HMENU
> 10.entryLevel = 0
>
> # 1st level
> 10.1 = TMENU
> 10.1 {
> stdWrap.dataWrap = <ul id="c{fieldid}" selected="true"> | </ul>
> expAll = 1
> NO {
> linkWrap = <li>|</li>
> }
> IFSUB < .NO
> IFSUB = 1
> IFSUB.doNotLinkIt = 1
> IFSUB.stdWrap.typolink.parameter.data = page:uid
> IFSUB.stdWrap.typolink.section.field = uid
> }
>
> # 2nd level
> 20 < .10
> 20.1.stdWrap.dataWrap >
> 20.1.NO.doNotShowLink = 1
> 20.1.IFSUB.doNotShowLink = 1
> 20.2 < .10.1
> 20.2.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>
> # 3rd level
> 30 < .20
> 30.2.stdWrap.dataWrap >
> 30.2.NO.doNotShowLink = 1
> 30.2.IFSUB.doNotShowLink = 1
> 30.3 < .10.1
> 30.3.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>
> # 4th level
> 40 < .30
> 40.3.stdWrap.dataWrap >
> 40.3.NO.doNotShowLink = 1
> 40.3.IFSUB.doNotShowLink = 1
> 40.4 < .10.1
> 40.4.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>
> }
>
> page.123 < lib.iPhoneMenu
> -- cut --
>
> --
> Peter Klein / Umloud Untd.
>
> "Gijs Epping" <gijs.epping (AT) efocus (DOT) nl> wrote in message
> news:mailman.1.1191848878.11546.typo3-english (AT) lists (DOT) netfielders.de...
>> is there somebody who can give me an example of unested menu tree's?
>>
>> i can't find any, but may be i'am just looking wrong.
>>
>> regards Gijs
>>
>>
>> Gijs Epping schreef:
>>> Thanks Thomas,
>>>
>>> I tryed them and indeed it's like i want but i still can't figure out how
>>> to seprate the menu tree's into div's
>>>
>>> Regards Gijs
>>>
>>> Tomas Mrozek schreef:
>>>> My wild guess is that it's possible.
>>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>>>
>>>> You would have to change it and include the numbers in the menu wraps.
>>>>
>>>> You can start playing with the example or wait if someone generously
>>>> provides you with an exact solution.
>>>>
>>>> Tomas Mrozek

>
>

_______________________________________________
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!
  #7  
Alt 16.10.2007, 08:58
Gijs Epping
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Tmenu seperated div per entrylevel

hello peter,

The menu is working great, i only needed to rebuild a part of the
javascript so it is working in ie7, firefox, and safari now only ie6 and
then it's ready.

If you need the partly rebuilded javascript (with mootools) let me know.

Thanks again
Gijs


Peter Klein schreef:
> Hi Gijs.
> Here's a TS snippet I made a couple weeks ago, trying to emulate the setup
> of the menu at:
> http://joehewitt.com/files/iphone/navigation.html
>
> It uses the page ids for generating the CSS ids.
> If a page has subpages, then the CSS id is added as section (#), otherwise
> it just links to the page.
>
> -- cut --
> lib.iPhoneMenu = COA
> lib.iPhoneMenu {
>
> # Example TypoScript setup for creating a menu as un-nested lists.
> # For use with the CSS/JS setup found at
> http://joehewitt.com/files/iphone/navigation.html
>
> wrap = <div class="iPhoneMenu"> | </div>
> 10 = HMENU
> 10.entryLevel = 0
>
> # 1st level
> 10.1 = TMENU
> 10.1 {
> stdWrap.dataWrap = <ul id="c{fieldid}" selected="true"> | </ul>
> expAll = 1
> NO {
> linkWrap = <li>|</li>
> }
> IFSUB < .NO
> IFSUB = 1
> IFSUB.doNotLinkIt = 1
> IFSUB.stdWrap.typolink.parameter.data = page:uid
> IFSUB.stdWrap.typolink.section.field = uid
> }
>
> # 2nd level
> 20 < .10
> 20.1.stdWrap.dataWrap >
> 20.1.NO.doNotShowLink = 1
> 20.1.IFSUB.doNotShowLink = 1
> 20.2 < .10.1
> 20.2.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>
> # 3rd level
> 30 < .20
> 30.2.stdWrap.dataWrap >
> 30.2.NO.doNotShowLink = 1
> 30.2.IFSUB.doNotShowLink = 1
> 30.3 < .10.1
> 30.3.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>
> # 4th level
> 40 < .30
> 40.3.stdWrap.dataWrap >
> 40.3.NO.doNotShowLink = 1
> 40.3.IFSUB.doNotShowLink = 1
> 40.4 < .10.1
> 40.4.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>
> }
>
> page.123 < lib.iPhoneMenu
> -- cut --
>
> --
> Peter Klein / Umloud Untd.
>
> "Gijs Epping" <gijs.epping (AT) efocus (DOT) nl> wrote in message
> news:mailman.1.1191848878.11546.typo3-english (AT) lists (DOT) netfielders.de...
>> is there somebody who can give me an example of unested menu tree's?
>>
>> i can't find any, but may be i'am just looking wrong.
>>
>> regards Gijs
>>
>>
>> Gijs Epping schreef:
>>> Thanks Thomas,
>>>
>>> I tryed them and indeed it's like i want but i still can't figure out how
>>> to seprate the menu tree's into div's
>>>
>>> Regards Gijs
>>>
>>> Tomas Mrozek schreef:
>>>> My wild guess is that it's possible.
>>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>>>
>>>> You would have to change it and include the numbers in the menu wraps.
>>>>
>>>> You can start playing with the example or wait if someone generously
>>>> provides you with an exact solution.
>>>>
>>>> Tomas Mrozek

>
>

_______________________________________________
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!
  #8  
Alt 22.10.2007, 09:23
Peter Klein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Tmenu seperated div per entrylevel

Hi Gijs.

It's a good idea to post your JS code here, and maybe also on
http://www.typo3wizard.com
as I already posted the TS code for the menu there..
http://www.typo3wizard.com/en/snippe...ists.html#c496


--
Peter Klein/Umloud Untd


"Gijs Epping" <gijs.epping (AT) efocus (DOT) nl> skrev i en meddelelse
news:mailman.1.1192517886.24551.typo3-english (AT) lists (DOT) netfielders.de...
> hello peter,
>
> The menu is working great, i only needed to rebuild a part of the
> javascript so it is working in ie7, firefox, and safari now only ie6 and
> then it's ready.
>
> If you need the partly rebuilded javascript (with mootools) let me know.
>
> Thanks again
> Gijs
>
>
> Peter Klein schreef:
>> Hi Gijs.
>> Here's a TS snippet I made a couple weeks ago, trying to emulate the
>> setup of the menu at:
>> http://joehewitt.com/files/iphone/navigation.html
>>
>> It uses the page ids for generating the CSS ids.
>> If a page has subpages, then the CSS id is added as section (#),
>> otherwise it just links to the page.
>>
>> -- cut --
>> lib.iPhoneMenu = COA
>> lib.iPhoneMenu {
>>
>> # Example TypoScript setup for creating a menu as un-nested lists.
>> # For use with the CSS/JS setup found at
>> http://joehewitt.com/files/iphone/navigation.html
>>
>> wrap = <div class="iPhoneMenu"> | </div>
>> 10 = HMENU
>> 10.entryLevel = 0
>>
>> # 1st level
>> 10.1 = TMENU
>> 10.1 {
>> stdWrap.dataWrap = <ul id="c{fieldid}" selected="true"> | </ul>
>> expAll = 1
>> NO {
>> linkWrap = <li>|</li>
>> }
>> IFSUB < .NO
>> IFSUB = 1
>> IFSUB.doNotLinkIt = 1
>> IFSUB.stdWrap.typolink.parameter.data = page:uid
>> IFSUB.stdWrap.typolink.section.field = uid
>> }
>>
>> # 2nd level
>> 20 < .10
>> 20.1.stdWrap.dataWrap >
>> 20.1.NO.doNotShowLink = 1
>> 20.1.IFSUB.doNotShowLink = 1
>> 20.2 < .10.1
>> 20.2.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>>
>> # 3rd level
>> 30 < .20
>> 30.2.stdWrap.dataWrap >
>> 30.2.NO.doNotShowLink = 1
>> 30.2.IFSUB.doNotShowLink = 1
>> 30.3 < .10.1
>> 30.3.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>>
>> # 4th level
>> 40 < .30
>> 40.3.stdWrap.dataWrap >
>> 40.3.NO.doNotShowLink = 1
>> 40.3.IFSUB.doNotShowLink = 1
>> 40.4 < .10.1
>> 40.4.stdWrap.dataWrap = <ul id="c{fieldid}"> | </ul>
>>
>> }
>>
>> page.123 < lib.iPhoneMenu
>> -- cut --
>>
>> --
>> Peter Klein / Umloud Untd.
>>
>> "Gijs Epping" <gijs.epping (AT) efocus (DOT) nl> wrote in message
>> news:mailman.1.1191848878.11546.typo3-english (AT) lists (DOT) netfielders.de...
>>> is there somebody who can give me an example of unested menu tree's?
>>>
>>> i can't find any, but may be i'am just looking wrong.
>>>
>>> regards Gijs
>>>
>>>
>>> Gijs Epping schreef:
>>>> Thanks Thomas,
>>>>
>>>> I tryed them and indeed it's like i want but i still can't figure out
>>>> how to seprate the menu tree's into div's
>>>>
>>>> Regards Gijs
>>>>
>>>> Tomas Mrozek schreef:
>>>>> My wild guess is that it's possible.
>>>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>>>> http://www.typo3wizard.com/en/snippe...ered-menu.html
>>>>>
>>>>> You would have to change it and include the numbers in the menu wraps.
>>>>>
>>>>> You can start playing with the example or wait if someone generously
>>>>> provides you with an exact solution.
>>>>>
>>>>> Tomas Mrozek

>>


_______________________________________________
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
Menü entryLevel mail@alsenz.net typo3-german@lists.netfielders.de 0 10.09.2007 09:40
[TYPO3-german] Entrylevel und COA ?? Jochen Graf typo3-german@lists.netfielders.de 5 31.08.2007 17:38
[TYPO3] HMENU, entryLevel = 1 problem.... Giannis Economou typo3-english@lists.netfielders.de 2 07.03.2007 03:00
[TYPO3] insert tmenu into other tmenu Patrick Pirrotte typo3-english@lists.netfielders.de 2 21.12.2006 10:50
[TYPO3-german] entryLevel = -1 Thomas Mammitzsch typo3-german@lists.netfielders.de 2 05.12.2006 16:43


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:42 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, 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