made script to convert drupal 6 nodes to 7 but need help with bringing CCK & Taxonomys too

Hi guys

wanting to programmaticaly move a custom node type (music) from my drupal 6 to drupal 7 i have the following script, what it does it connects the drupal 6 and 7 databases to a single drupal 7 install. it then pulls the data from drupal6 and stores it in drupal 7.

The script below succesfuly brings over the music content types and saves the title and node body, but some extra fields i cant figure out how to bring over, any advice would be appreciated.

my drupal music node type has:

Title
Body
CCK Image field
File field mp3 field
Taxonomy (artist name)

As mentioned the below script brings title and body ok, how can i bring in the rest? in my code i have tried saving the taxonomy but im not sure why the code doesnt bring it over.

I first edit settings.php on D7 so it connects to both databases:

<?php
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'drupal7',
'username' => 'root',
'password' => '',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),'custom' =>
array (
'default' =>
array (
'database' => 'custom',
'username' => 'root',
'password' => '',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',

SEO question

Can I get some advice or comparison on SEO Modules for Drupal 7? I am building a new site and was looking at SEO Friend and SEO Checklist or whatever someone recommends.

On SEO Checklist I see a Release Candidate version and a dev version. I am not sure what exactly dev means. Is this some sorta developers version?

I onl want to install a reliable full complete version SEO package for my new website. Drupal 7 not yet installed.

Thanks
Dave

Drupal 7/webserver performance problems - $100 to fix.

I have recently migrated my site from Drupal 6 to Drupal 7 and at the same time also moved from a VOPS with 1 gig RAM to one with 2 gig RAM.

However I am frequently running out of memory with the sites also becoming unresponsive - the CPU utilisation is generally low. The site(s) on the VPS are fairly low usage and I cannot figure out where to start looking to see where the problems are coming from.

I can afford to pay $100.00 for someone to have a look at the server, make sure it is configured correctly, track down the problem and fix it.

How to redirect to a page after downloading zip file?

Is there any module that will redirect my visitors to another page (like thank you page) after he/she download the file like zip or exe file?

Currently when my visitors click the link to a zip or exe file it will download the file automatically.

Ubercart Option population error

I am currently using the Ubercart module for Drupal 7 and am running into a small problem. When making options for an attribute everything goes smoothly and as it should. I then go to my product to make sure everything is viewing as it should however the options for my attribute is generating and error. My attribute label shows up as well as the select box that should have a list with all the options in it, but none of the option labels are showing up. I look at the code and find this.

{ = <
} = >

Custom avatars?

Hello,

I want to get option to my site for user to choose avatars i select. So they cant upload own pictures, they have to choose it from some sort of gallery...

Is there any plugin for this or some other option?

Thank you very much!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x