[TYPO3-dev] FE plugin development - using sysfolders

JoH asenau info at cybercraft.de
Sun Apr 11 10:16:16 CEST 2010


> Thanks for your answer. I don't actually need a menu, but 4 html
> selects: country, region, city, hotel. The region select is populated
> depending on what country is selected, the city select is populated
> depending on region, etc.

This is called a Jumpmenu

> With HMENU I get the whole tree structure, and various parts of it are
> hidden using CSS and/or javascript to make a popup menu. Well
> theoretically I could use HMENU to output the full structure in a
> javascript variable and build the selects with DOM scripting. But can
> HMENU output the page id? I would like to have the options in the last
> select (the one for hotels) like this:
>
>        <option value="page_id">Hotel Name</option>
>
> so I could jump directly to that page. I have checked the HMENU
> reference at
>
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.3.1/view/1/7/#id2519461
> but I can't figure out how to write the page id into the html
> source...

There's a HMENU type called JSMENU, but you can use a TMENU as well to
create a more flexible variant of it:
http://books.google.de/books?id=ybqAz3Yo428C&pg=PA455&lpg=PA455&dq=jumpmen%C3%BC+11.17
The text is in German but the code is not ;-)

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com






More information about the TYPO3-dev mailing list