|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
hi,
i am attempting to make an efficient navigation system for a large number of pages at piasdgserver.usp.ac.fj/peacenet. there will be two drop-down boxes, one for the country, one for the thematic area. choose your country, choose your thematic area, click go and the system should select the right page and show it. thinking of it like a grid with the two selection boxes down each side and the possible combinations in the middle as pages helps. eventually we may (rather ambitiously) also make a flash version of the nav with two spinning wheels. how can i best implement this in typo3? i have coded the form and can load it from a file, but how should i go about processing the post/get variables on a new page? how can i make a link so that an address like piasdgserver.usp.ac.fj/peacenet/nav.php?thematic=governance&country=&fijiwill work? thanks leon _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
Leon White schrieb:
> hi, > > i am attempting to make an efficient navigation system for a large number of > pages at piasdgserver.usp.ac.fj/peacenet. there will be two drop-down boxes, > one for the country, one for the thematic area. choose your country, choose > your thematic area, click go and the system should select the right page and > show it. thinking of it like a grid with the two selection boxes down each > side and the possible combinations in the middle as pages helps. > > eventually we may (rather ambitiously) also make a flash version of the nav > with two spinning wheels. > > how can i best implement this in typo3? i have coded the form and can load > it from a file, but how should i go about processing the post/get variables > on a new page? how can i make a link so that an address like > piasdgserver.usp.ac.fj/peacenet/nav.php?thematic=governance&country=&fijiwill > work? If both select boxes are "levels" in TYPO3, you might want to take a look a JSMENU. -- T3A AM Rocking TYPO3 since 3.1b1 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
>
> 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. Rob -- ------------------------------------------------------------ web : http://www.rob-ot.be skype : rob-ot ------------------------------------------------------------ [O_o] -- Don't feed the rob-ot _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
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 (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#5
|
|||
|
|||
|
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 (DOT) 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 (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english > _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#6
|
|||
|
|||
|
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 (DOT) 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 (DOT) netfielders.de >> http://lists.netfielders.de/cgi-bin/.../typo3-english >> > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#7
|
|||
|
|||
|
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 (DOT) 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 (DOT) 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 (DOT) netfielders.de > >> http://lists.netfielders.de/cgi-bin/.../typo3-english > >> > > _______________________________________________ > > TYPO3-english mailing list > > TYPO3-english (AT) lists (DOT) netfielders.de > > http://lists.netfielders.de/cgi-bin/.../typo3-english > > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english > _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#8
|
|||
|
|||
|
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 (DOT) 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 (DOT) 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 (DOT) netfielders.de >>>> http://lists.netfielders.de/cgi-bin/.../typo3-english >>>> >>> _______________________________________________ >>> TYPO3-english mailing list >>> TYPO3-english (AT) lists (DOT) netfielders.de >>> http://lists.netfielders.de/cgi-bin/.../typo3-english >> >> _______________________________________________ >> TYPO3-english mailing list >> TYPO3-english (AT) lists (DOT) netfielders.de >> http://lists.netfielders.de/cgi-bin/.../typo3-english >> > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-dev] [TYPO3-content-rendering] Fancy form fields - THEsolution for the TYPO3 FORM element?! | Ingo Renner | typo3-dev@lists.netfielders.de | 1 | 31.05.2007 18:35 |
| [TYPO3-dev] TCA and dynamic values based TS or TSconfig | Tomi Hrovatin | typo3-dev@lists.netfielders.de | 4 | 13.05.2007 11:12 |
| [TYPO3] Big symfony based project -> We are looking for gooddeveloper! | Jonas Dübi | typo3-english@lists.netfielders.de | 0 | 23.03.2007 10:48 |
| [TYPO3] CSS styling based on localization | Lasse Guldsborg | typo3-english@lists.netfielders.de | 3 | 28.02.2007 16:10 |
| [TYPO3-shop] price based on FE group? | Horn Gábor | typo3-project-tt-products@lists.netfielders.de | 4 | 05.01.2007 17:40 |