[Typo3-UG Oesterreich] Dynamische Dropdown Listen (Kategorien) mit Sprung zu Inhaltsseiten
Wolfgang Klinger
wolfgang at stufenlos.net
Fri Jul 15 15:37:26 CEST 2005
Hallo!
Holzmann Christian schrieb folgendes am 15.07.2005:
> 1. Frage: Ist sowas möglich
> Antwort: Ja, klar ;-)
Ja, klar ;-)
> 2. Frage: Welche Mittel stehen mir hier zur Verfügung bzw. wie kann ich es realisieren
> (Anzahl der Dropdownlisten sowie Anzahl der Inhalte der Dropdownlisten soll sich
> automatisch mit der Anzahl der Untermenüpunkte und wiederum deren Unterpunkte ändern)
>
> Beispiel:
> AUSWAHLSEITE
> +-------------- LAND1 (Dropdownliste)
> +--------------Standort1
> +--------------Standort2
> +--------------Standort3
> +--------------Standort4
> +--------------Standort5
>
> +-------------- LAND2 (Dropdownliste)
> +--------------Standort1
> +--------------Standort2
> +--------------Standort3
>
> +-------------- LAND3 (Dropdownliste)
> +--------------Standort1
> +--------------Standort2
> +--------------Standort3
>
> +-------------- LAND4 (Dropdownliste)
> +--------------Standort1
> +--------------Standort2
> +--------------Standort3
> +--------------Standort4
> +--------------Standort5
> usw. usf....
>
-------
tt_content.menu.20.2 >
tt_content.menu.20.2 = HMENU
tt_content.menu.20.2.wrap = <form name="blubl" action="index.php" method="get">|</form>
tt_content.menu.20.2.1 = TMENU
tt_content.menu.20.2.1.expAll=1
# <br /> besser durch CSS Angaben ersetzen!
tt_content.menu.20.2.1.NO.allWrap = <br />|<br />
tt_content.menu.20.2.1.NO.doNotLinkIt = 1
tt_content.menu.20.2.2 = TMENU
# in einer Zeile schreiben:
tt_content.menu.20.2.2.wrap = <select name="id" onchange="document.location.href='
index.php?id=' + this.options[this.selectedIndex].value">|</select>
tt_content.menu.20.2.2.NO.stdWrap.wrap = <option value="{field:uid}">|</option>
tt_content.menu.20.2.2.NO.stdWrap.insertData = 1
tt_content.menu.20.2.2.NO.doNotLinkIt = 1
tt_content.menu.20.2.2.expAll=1
-------
danach wird jede "Sitemap" so dargestellt, wie du's gerne hättest...
kannst dich natürlich noch mit weiteren Ebenen und <optgroup>, etc.
spielen...
..und für alle die's schon vergessen haben, hier nochmal meine Wunschliste ;-)
http://www.amazon.de/exec/obidos/registry/307SIOOD654GF/
have fun!
lg
Wolfgang
More information about the TYPO3-at
mailing list