I've mixed too modules: taxonomySearch & multiSelect , to make a new module that have capability to do the taxonomy search and the multi selection in the same time .
It works on our site. Please check the code to tell us if it's secure and drupal code compliant enough.
You'll see the :
-modified and added codes in the taxonomySearch.module
-javascript file :taxSearch.js
-css file : multiselect.css
-folder for the images : images contain add.png & remove.png
Thank you
ali27
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomySearch.zip | 14.14 KB | ali27 |
Comments
Comment #1
doc2@drupalfr.org commentedSuch a great job, Ali!
Comment #2
paulnem commentedTried to apply this module to a test (freshly installed) 5.11 install and it's failing with the below error :
Parse error: syntax error, unexpected '/' in /public_html/test/sites/default/modules/taxonomySearch/taxonomySearch.module on line 174
Comment #3
ali27 commentedu can replace it by this code
$prefix_post.= _html_for_buttonsTax($fieldname);