[TYPO3] form-based navigation

Rens Admiraal typo3 at ambitiondesign.nl
Wed Oct 10 09:06:18 CEST 2007


Hi Leon,

I've tried to make a menu myself, and had the same problem... Strange  
enough the noLink =1 option works for me now. I can change the first  
selectorbox to whatever I want, and the second box fills with the  
subpages. After choosing a page in the second box, the link works...

This is my test: http://bu7.nl/index.php?id=148&type=1

And this is my Typoscript:

page.10.10 = HMENU
page.10.10 {
	entryLevel = 1
	1 = JSMENU
	1 {
		levels = 2
		1 {
			wrap = | 
			showActive = 1
			firstLabel = Please select
			
				noLink = 1
		}
		2 < .1
		2.noLink >
	}
}


I hope this is also the solution to your problem...

Greetz,
Rens



Op 10-okt-2007, om 2:57 heeft Leon White het volgende geschreven:

> Hi Rens,
>
> thanks for the suggestion, the firstlabel does make things look  
> better.
> Unfortunately I am still having problems with the reloading,  
> linking to a
> site without subpages works, but any subpages just get mysteriously  
> reloaded
> on the first page, resetting the navigation. Check the site again  
> to see
> what i mean...
>
> Is this a TSconfig problem, or a bug? People use JSMENU so rarely,  
> I have
> yet to see any real success stories using it as a language switcher or
> something in any of the german forums...
>
> Cheers
> Leon
>
> On 10/10/07, Rens Admiraal <typo3 at ambitiondesign.nl> wrote:
>>
>> Hi Leon,
>>
>> The reloading is quite normal I think, but the item in the first menu
>> isn't selected after reloading.
>>
>> I think you have to use the following typoscript (the firstLabel is
>> optional, but might be nice):
>>
>> marks.magicnav = HMENU
>> marks.magicnav {
>>         special = directory
>>         special.value = 8
>>
>>         1 = JSMENU
>>         1 {
>>                 levels = 2
>>                 1 {
>>                         wrap = |
>>                         showActive = 1
>>                         firstLabel = Please select
>>                 }
>>
>>                 2 < .1
>>                 2 {
>>                         wrap = |
>>                         firstLabel = Please select subpage
>>                 }
>>         }
>> }
>>
>>
>> Op 9-okt-2007, om 23:37 heeft Leon White het volgende geschreven:
>>
>>> Thanks for the tips! I have implemented the JSMENU using the
>>> following code:
>>>
>>>     marks.magicnav = HMENU
>>>     marks.magicnav.special = directory
>>>     marks.magicnav.special.value = 8
>>>     marks.magicnav.1 = JSMENU
>>>     marks.magicnav.1 {
>>>         levels = 2
>>>           1.wrap = |
>>>           1.noLink = 1
>>>         2.wrap = |
>>>     }
>>>
>>> I am trying to view the level 3 submenus in the second drop down
>>> list, but
>>> all that happens is the browser reloads, making it impossible to
>>> select
>>> anything from the second box, even though it does appear for a very
>>> short
>>> time. Can anyone explain this behaviour? I tried the TS without the
>>> 1.noLink= 1 line, but behaviour was the same except for level 2  
>>> links
>>> without
>>> children, where it took me directly to the correct page.
>>> http://piasdgserver.usp.ac.fj/peacenet/ is the address...
>>>
>>> Cheers and thanks
>>> Leon
>>>
>>> On 10/9/07, Mathias Schreiber [TYPO3] <mathias at typo3.org> wrote:
>>>>
>>>> Rob De Vries schrieb:
>>>>>
>>>>>>
>>>>>> If both select boxes are "levels" in TYPO3, you might want to
>>>>>> take a
>>>>>> look a JSMENU.
>>>>>
>>>>> If i'm not mistaken, jsmenu does not work in safari when using
>>>>> out of
>>>>> the box.
>>>>> pls correct me if i'm wrong.
>>>>
>>>> Never tried it.
>>>> Long ago (when I used JSMENU) I had no Mac.
>>>> Now I have a Mac but don't use JSMENU anymore :)
>>>>
>>>>
>>>> --
>>>> T3A AM
>>>> Rocking TYPO3 since 3.1b1
>>>> _______________________________________________
>>>> TYPO3-english mailing list
>>>> TYPO3-english at lists.netfielders.de
>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>>
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list