Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi there,
I've just migrated a site from Drupal 6 to 7.
We used to serve some banners using an external module, which was storing a string of keywords per single node in its own db table.
On Drupal 7 it was the time to unlock us from that unsupported module, so I created a text field using CCK and linked it to the three content types that needed this additional field.
After that, I populated both "field_data_field_$field_name" and "field_revision_field_$field_name" tables with the old data.
I am trying to hide some fields from a form under certain circumstances.
In particular, i am developing a custom module where i want a certain node creation form to:
1) get some fields prefilled (i fill in the default value from the hook_alter_form)
2) and i want such field not to be editable on the form
I am unable to achieve the 2), i can't find the way to get these fields fixed and non editable in the form from code.
Can anyone help me?
LOL! I know its a unique and detailed request, but I am building a Quote Builder using Webform for D7 and would like the user to select titles from specific Content Types that I have created.
I looked at Tokens but I couldn't find what I was looking for.. :(
All the other tutorials online so coding alternatives but I am more comfortable without having to code any of that PHP
Hi,
I am creating advaced search using search API module. I am using drupal 7. There i used Search API, Entity API, and apache solr and supporting modules for this search. solr server workin good. all items are indexed properly. But while searching some content the below error is displaying.
"SearchApiException: '400' Status: Bad Request in SearchApiSolrService->search() (line 608 of C:\xampp\htdocs\drupal-7.10\drupal-7.10\sites\all\modules\search_api_solr-7.x-1.0-rc1\search_api_solr\service.inc)."