Hallo
Ich bin am Benutzer erstellen mit dem Frontenduser. Gibt es eine Möglichkeit, mit dem Listenfeld (Dropdown) eine Mehrfachauswahl zu machen?
Oder muss ich da über Kontrollkästchen gehen?
Grüsse und Dank
mic
Frontenduser: Listenfeld mit Mehrfachauswahl
-
- Forum Members
- Posts: 26
- Joined: Wed Nov 29, 2006 9:56 am
Re: Frontenduser: Listenfeld mit Mehrfachauswahl
Ähmmm, für welches Listenfeld genau willst du eine Mehfachauswahl?
-
- Forum Members
- Posts: 26
- Joined: Wed Nov 29, 2006 9:56 am
Re: Frontenduser: Listenfeld mit Mehrfachauswahl
ich habe bei den Eigenschaften ein Listenfeld erstellt: rot, blau, grün, gelb, orange. Nun möchte ich, dass der Benutzer mehr wie nur eine Farbe auswählen kann.
Re: Frontenduser: Listenfeld mit Mehrfachauswahl
Hab mir das Modul mal näher angesehen. Das Feld zu einer Mehrfachauswahl umzuformen, ist nicht das Problem. Ändere ab Zeile 2854 von:
in:
Das Problem ist, dass immer nur der letzte Wert abgespeichert wird. Pro Eigenschaft ist nur ein Wert möglich. Um dies zu ändern, müsste eine ganze Menge umgeschrieben werden. Und das ist bei knapp 5.500 Codezeilen nicht ganz ohne ...
Feature Request ist allerdings raus
http://dev.cmsmadesimple.org/tracker/in ... 4&atid=136
Da wirst du mit Kontrollkästchen arbeiten müssen, dann dann jede Farbe eine separate Eigenschaft darstellt.
Code: Select all
case 4: // dropdown
$onerow->control = $this->CreateInputDropdown(
$id,
'input_'.$prop['name'],
$this->GetSelectOptions($defn['name'], 1),
-1,
$val);
break;
Code: Select all
case 4: // dropdown
$onerow->control = $this->CreateInputDropdown(
$id,
'input_'.$prop['name'],
$this->GetSelectOptions($defn['name'], 1),
-1,
$val,
'multiple');
break;
Feature Request ist allerdings raus

http://dev.cmsmadesimple.org/tracker/in ... 4&atid=136
Da wirst du mit Kontrollkästchen arbeiten müssen, dann dann jede Farbe eine separate Eigenschaft darstellt.
-
- Forum Members
- Posts: 26
- Joined: Wed Nov 29, 2006 9:56 am
Re: Frontenduser: Listenfeld mit Mehrfachauswahl
ja, das bringt natürlich nichts. werde die lösung mit den kontrollkästchen nehmen. Danke!
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Frontenduser: Listenfeld mit Mehrfachauswahl
Okay, I finally decided to translate a bit of this thread into english (god praise google).
Anyways. Multiple select lists are being added into FEU at the moment. It's in the SVN version at the moment. Give it a shot.
Anyways. Multiple select lists are being added into FEU at the moment. It's in the SVN version at the moment. Give it a shot.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.