I've upgraded to 4.7 and now all my custom php/sql code has stopped working.
Looking at how the Db format has changed [ much nicer ] I am not surprised.
Story bodies are now held in the node_revisions table so my previous code which had only to join the the {node} table to the {term_node} table (in order to retrieve bodies based on taxonomy classification) will now have to join with the {node_revisions} table too.
I would like to create a form to retrieve a postal code.
In this form there is 2 fields :
- CityName
- PostalCode
I made an autocomplete field for Cityname, and it works fine. My aim is to auto fill the PostalCode when the user pick up a cityname in the autocomplete cityname list. Any idea how to implement that ?
I am trying to create a table that has a cell with a form element and a submit button in every row. SO my first thought was to just loop over my results from my database, inserting everything i want in the row and inserting the rendered form in the row. But apparantly, the drupal_get _form doesn't like this. It only returns a rendered form at the first loop iteration. I gueess this has something to do with the form id not being unique or stuff...
Does anybody know a way around this ? I could use custom html output i guess... . But I'd rather stick to the form API !
I installed Job Search module, and I enabled the resume module. The main problem was that all user was able to browse in resumes using search field, nevertheless I set up the accesing (Only the recruiters is able to view the resumes, and the else users are able to view and edit own resumes) Indeed, the nonrecruiters clicking in searching result, the acces was denied. But it was disturbing, spoiling the effectivness of searching, and even personal fragments of resumes became public.
Can someone please tell me how to correct this cac_lite error? I get it in every site I've put up with the category module. Drupal 4.7. I Disabled taxonomy and taxonomy_access in one site, and still get the error. Thanks!
warning: Invalid argument supplied for foreach() in /var/www/html/drupal/includes/form.inc on line 641