Need help migrating your site to Drupal?

Wordpress import error

This is what i get when i go to import wordpress

How hard to convert?

How hard is it to convert a site to Durpal?

How to display Drupal's regions/blocks in the html-file or show non-Drupal pages in Drupal?

Hello!
I had an old site on the basis of forum YaBB 2.5. I created a new site in Drupal 7, and decided to leave the old forum as archive.
I've question:
Can I "wrap up" the old YaBB forum (by?) the Drupal regions/blocks?
1. Template for the forum in a html-file. Can I add drupal's regions/blocks in this file?
2. Or, conversely, can I call the forum's pages in the drupal?
Thank you.

Migrating Wordpress Images to Drupal with Migrate 2.4

I'm having a time migrating images from Wordpress to Drupal with the Migrate 2.4 module. Here are my mappings:

$this->addFieldMapping('field_image','images');
$this->addFieldMapping('destination_file', 'images');
$this->addFieldMapping('field_image:source_dir')
 ->defaultValue('/Users/grafa/htdocs/wordpress/wp-content/uploads');
$this->addFieldMapping('field_image:file_class')
  ->defaultValue('MigrateFileUri');

The images come from a function that queries the wp_postmeta table then returns the result to the prepareRow() function.

function getImages($row) {
$post_id = $row->id;
$results = db_query("
  SELECT pm.post_id, pm.meta_key, pm.meta_value FROM streetroots_wp.wp_postmeta AS pm LEFT JOIN streetroots_wp.wp_posts AS p ON pm.post_id=p.id WHERE p.post_parent = $post_id AND pm.meta_key='_wp_attached_file';");

$images = array();
foreach($results as $result) {
  $images[] = $result->meta_value;
}
return !empty($images) ? $images : NULL;
}

This basically returns the image name and relative path from the wp_postmeta table something like '2012/05/figure1.jpg'. I then use prepareRow() like this:

 function prepareRow($row) {
$row->images = $this->getImages($row);
}

Converting Database driven site to Drupal7

I have been toying with the idea trying out a CMS based website creation and have recently installed Drupal7 on my server. I have been getting to grips with the basic concepts but struggling to understand how to migrate my existing site, created in Dreamweaver (www.scotlandsartists.com), which uses a MySQL database for the majority of its content, over. After searching your forums it seems that the 'Migrate' and 'Feeds' modules are required and have installed these.

Term reference field

Hello,

I'am converting data from an old cms to drupal 7 using Migrate module.
My drupal content type, which I'm creating nodes from, has an annoying "Term reference" field using a "Check boxes/radio buttons" widget.

In my migration class I have tried to hardcode the field value to a "tid" on the checkbox list, and also the machine name eg:

$this->addFieldMapping('field_category', 21)
     ->arguments(array('source_type' => 'tid'));

And

Pages

Subscribe with RSS Subscribe to RSS - Converting to Drupal