[updated 24/11/2012] Dependent dropdown (library)
Posted 22 November 2012 - 10:54 AM
Posted 22 November 2012 - 11:03 AM
Posted 22 November 2012 - 11:06 AM
I need two dependent dropdown menu.
Each dependent dropdown menu has two dropdown. menu
Posted 22 November 2012 - 11:12 AM
Posted 22 November 2012 - 12:34 PM
[img]http://mysoftheaven.net/ems_nilg/schema.png[/img]
Posted 22 November 2012 - 12:39 PM
Posted 22 November 2012 - 20:22 PM
Posted 22 November 2012 - 22:01 PM
regards
Posted 23 November 2012 - 07:50 AM
Posted 23 November 2012 - 10:02 AM
Posted 23 November 2012 - 16:50 PM
A PHP Error was Encountered
Severity: 8192
Message: Call-time pass-by-reference has been deprecated
Filename: controllers / examples.php
Line Number: 74
I'm using php 5.3
This is the line: $ categories = new gc_dependent_select (& $ crud, $ fields, $ config);
Greetings!
Posted 23 November 2012 - 16:59 PM
$categories = new gc_dependent_select (& $crud, $fields, $config);
delete symbol &
$categories = new gc_dependent_select ($crud, $fields, $config);
Posted 23 November 2012 - 17:10 PM
In file gc_dependent_select.php on the constructor i do var_dump of the object $crud_object and the dump is empty
Excuse my English!
Greetings!
Posted 23 November 2012 - 18:46 PM
Posted 24 November 2012 - 03:45 AM
Posted 24 November 2012 - 09:03 AM
I am waiting for your new verson.
Posted 24 November 2012 - 17:52 PM
Added new parameters:[list]
[*]where
[*]order_by
[*]{first_name} {last_name} - you can use this format for the "title"
[/list]
These options are valid for all fields except the first!!!
you can download it and read how to use on the first page(the first post of this topic)
Posted 24 November 2012 - 22:09 PM
The library has been adapted!!!
Added new parameters:[list]
[*]where
[*]order_by
[*]{first_name} {last_name} - you can use this format for the "title"
[/list]
These options are valid for all fields except the first!!!
you can download it and read how to use on the first page(the first post of this topic)
[/quote]
Thank you!!! I'll have a go and let you know!!!
Thanks again for your efforts!
Posted 25 November 2012 - 07:23 AM
I didn't have time to try the where part but I am sure it will work great!
Well done Victor and thank you very much!!!
Posted 26 November 2012 - 04:53 AM
Thanks for your library.