Need help migrating your site to Drupal?

How-To Conver From Slashcode To Drupal

This is how I moved over my data from a Slashcode site to Drupal. It worked for me, might work for you, might not.

#Slash tables needed, dumpm'!

mysqldump --add-drop-table --opt -c story_topics_rendered journals journals_text users users_info comments comment_text stories story_text topics > SlashTables.sql

#need to change the name of the users and comments tables since they are the same in Drupal and Slash.

mysqldump -u -p db > db.sql
cp SlashTables.sql Good_Slash_Tables.sql
perl change.pl (this just changes the name of the users and comments tables)
mysql -u -p db_name < SlashTables.sql

##now, go to mysql and make the magic happen
##MOve over topics,Needs to go into term_data, term_hierarchy
gomysql
delete from term_data;
insert into term_data (tid,vid,name,description,weight) select tid,2,keyword,textname,0 from topics;
delete from term_hierarchy;
insert into term_hierarchy (tid,parent) select tid,0 from topics;

##Move over the Slash users into the Drupal users table.
##Move over all users who have, left a comment, written in their journal, logged into the site in the past 18 months(erso)
##maybe this needs to be done into 3 identical tables, then do a select out of them?

##Make Sure we get all the Journals Users (Slash users tables was renamed)

delete from users where uid > 2;

Converting small site using drupal

Hi,

I have done a little reading around but have been left quite confused.

I currently run a lacrosse team in the UK. Our website and forums are over at www.playlacrosse.co.uk

The site is a pretty basic 2 coloumn layout with 5 or 6 pages. The navigation and the righthand coloumn are seperate php files. In addition my site automatically updates the league table found the righthand coloumn.

My question is, can I recreate this look and content in drupal, while adding in additional functionality?

Excel (.csv) to Drupal with Search module

What i've got is three .csv files that I edit using Excel. The three files are named:

node.csv
node_revisions.csv
content_type_profile.csv (A custom content type I created using CCK)

Each of these files associate with a MySQL table. I import the data using PHPMyAdmin. Everything imports fine. I can go the the website and view the content that I just imported/created.

Problem with complex multi-level management

I want to build up an application with complex multi-level management functionality. For instance, there are 3 levels of admins in a university, which are TOP-ADMIN, DEP-ADMIN and CLASS-ADMIN. A higer admin has the full control of its direct lower admins, that is, a TOP-ADMIN can manage (add, modify and delete) DEP-ADMINs' accounts. So do the DEP-ADMINs and the CLASS-ADMINs. If possible, a CLASS-ADMIN may set up a node of form, which need to be filled out via its class members. And the content of submission should be passed firstly by its CLASS-ADMIN, then by its DEP-ADMIN, finally by the the TOP-ADMIN.

I've no idea whether it can be implemented through Drupal (5.2). Any ideas?

An illustration may demonstrate the relationship among the admins more clearly:

Multi static sites to multi drupal sites

Hi
Can anyone help a poor lost soul who can't see where to start?

I've read everything I can but don't seem to be able to find a straightforward answer to my particular problem.

I have several sites. Each is redirected to 'my.internet.IP/sitename/' from outside my local network and is available locally at '192.168.local.server/sitename/' on my local network.

How do I set Drupal to give me the same setup? The most I can get at the moment is the basic Drupal theme with "Page not found" in it!

Drupal 5.3
Apache 2
php 5
Fedora Core 7

drupal_execute() form in a page?

Hi There -

Am trying to migrate a bunch of nodes and would like to use drupal_execute() and put the form in a page. I'm very confused about how to just go about putting the form in the page, the form api is so complex and the documentation is so opaque. I have no idea how to approach this.

Any suggestions or hints that will reveal the mysteries of how to go about this would help me beyond words. I've written the array. I've figured out how to parse the CSV file - those parts that would normally be available to someone who understands php but is new to Drupal.

Pages

Subscribe with RSS Subscribe to RSS - Converting to Drupal