[SOLVED] How to populate a CCK field with legacy data?

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.

Hook_alter_form: how to hide or make non editable a field on a node form

Hi all,

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?

Thank you in advance!

Use Node Titles from Specific Content Type as Select List Options in Webform

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

module_invoke has no effect on showing blocks

according to http://drupal.org/node/26502 I can use module_invoke to place blocks in a node. I tried to do this by adding the snippet:

SearchApiException: '400' Status: Bad Request in SearchApiSolrService->search()

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)."

How to solve this error?
Any idea?

rotating banner help

Hello,

i have the rotating banner module from drupalgardens it comes with some transition effects but i need something different,

anyone knows how can i get similar effects to this template?

http://demo.bowthemes.com/#bt-arise/joomla-16

thank you

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x