Welcome, Guest
Username Password: Remember me

Dynamic Select, with Multiple Select Input
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Dynamic Select, with Multiple Select Input

Dynamic Select, with Multiple Select Input 1 year, 5 months ago #1

  • danebrood
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Hello,

In an admin form, I'd like to provide a Multiple Select box, listing all records for a particular Content Type.

I'm able to use the Select-Dynamic field type to get a select box of a specific Content Type using the Where Clause, which is great. But no multiple select.

Is there a way to create this?

Thanks!

Re:Dynamic Select, with Multiple Select Input 1 year, 5 months ago #2

  • SEBLOD - Bes
  • ( Admin )
  • OFFLINE
  • Administrator
  • Working on SEBLOD 2.0 GA
  • Posts: 3141
  • Karma: 97
Hi danebrood,

Welcome on jSeblod CCK and thanks for your post.

It's planned to add dynamic feature on multiple select box... sorry.

Soon, it will be possible with the PHP code (new version).

Actually, you can do this in a custom form template. Create your field and sql query in your template. Then for this field use a name of a CCK field (to save the value).

Best Regards
If you use SEBLOD CCK, please post a rating and a review at the Joomla! Extensions Directory. Thanks to you.!!"
SEBLOD Vimeo Channel: vimeo.com/channels/seblod
SHAPE YOUR SITE YOUR WAY

Re:Dynamic Select, with Multiple Select Input 1 year, 5 months ago #3

  • danebrood
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Perfect!

Amazing component, I'm excited to begin using it for my sites.

Re:Dynamic Select, with Multiple Select Input 1 year, 3 months ago #4

  • jmayeux
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
Hello everyone,

I'm actually creating sub content types (sub catalogs) to populate the main content type (main catalog), I understand I cannot use the dynamic field. Which solution could replace my structure.

Actually I have a sub catalog full of boats, while creating the main catalog content type I would like to let them choose from the sub boat's catalog.
As it is not possible with JSEBlod, could you please help develop the query for this select ?

Regards,
Julien

Re:Dynamic Select, with Multiple Select Input 1 year, 3 months ago #5

  • jmayeux
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
I'm actually creating the custom form, I will have difficulties with the query as I'm new to JSEBlod.

Thank you for your help.

Re:Dynamic Select, with Multiple Select Input 1 year, 3 months ago #6

  • jmayeux
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
I read this article and think using the solution described there but I'm not sure it is the good choice :

www.jseblod-cck.com/forum/2-templates/91...seblod-template.html

Re:Dynamic Select, with Multiple Select Input 1 year, 3 months ago #7

  • SEBLOD - Mehdi
  • ( Admin )
  • NOW ONLINE
  • Administrator
  • Posts: 1292
  • Karma: 26
Hi jmayeux,

Thank you for your posts and welcome to jSeblod CCK forums.

Actually, I confirm. That's one method to apply a SQL query. There are others.

Look on help documentation for Joomla or the API.

Regards,
Mehdi.
If you use SEBLOD CCK, please post a rating and a review at the Joomla! Extensions Directory. Thanks to you.!!"
SEBLOD Vimeo Channel: vimeo.com/channels/seblod
SHAPE YOUR SITE YOUR WAY

Re:Dynamic Select, with Multiple Select Input 1 year ago #8

  • leeburstroghm
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Knowledge is the price for freedom.
  • Posts: 18
  • Karma: 1
I am creating a solution for this as well.
Either duplicating the existing dynamic drop down and making it a multi select or taking a multi select and making it dynamic..

Bes mentioned above that
"Actually, you can do this in a custom form template. Create your field and sql query in your template. Then for this field use a name of a CCK field (to save the value)."

So you could add the actual from code with a php wrapper that queries the table and writes out the multi-select input item and then give it the name of a CCK field.. .. not sure I follow that.. Does he mean a naming convention, or the name of a field type that was created as a place holder?

the names of the filed have no naming convention, just the name that is created when the field is created in jSeblod field manager. So I am a little confused.
  • Page:
  • 1
Time to create page: 0.24 seconds