Skip to: site menu |main content

Welcome to my personal site. If You have any question or suggestion please feel free to contact me from contact page.

Advertisements

Contact me to place your Ads Here..

Powered by Drupal, an open source content management system

Syndicate

Syndicate content
 
 

July 2010

Drupal User import user_save and profile fields How to import users into Drupal

Basic Idea behind importing user in drupal is:-
1)Create dummy user object...
2)Call drupal's user_save function...

Actually, You need to create the user account array first...and then pass it to function user_save().

<?php
//$account = user_save('',$user_array);

$password = user_password($your_password);
$user = array(

Creating Drupal Script for inserting / importing data from external sources

Migrating to Drupal can seem intimidating if you already maintain a database-driven website.When interacting with Drupal, it's a good idea to do things the Drupal way. Fortunately, Drupal core allows you to bootstrap Drupal and use all of its API functionality outside of a normal Drupal instance.

Theme a CCK and content typeusing your custom theme Drupal 6

Spending several days for me to find out how to theming Input Form in CCK2 on Drupal 6, hope this can help you and save your time.

To theming CCK2 Input you just need:

Back to top

Recent comments

InderSingh.com v1.2
(Feb 05, 2012)