Need help migrating your site to Drupal?

importing content - what should the node vid value be?

I'm converting an old bespoke forum to drupal, and am in the process of creating new forum nodes (from what were the topic starters on the old site)

Most of the fields from the old database map pretty logically to the drupal fields, but the vid field in the node table is tripping me up.

What, exactly, is it referencing? The test nodes I created using the Drupal interface itself gave me these results (with various non-relevant fields not shown)...

nid | type | title | vid
5 | forum | test1 | 6
6 | forum | test2 | 7
7 | forum | test 3| 8

Want to add a gallery type page to a book

What I am trying to do is add a gallery style page to a book. I have got the image module and installed it, I have also added the image content.

I have been using the book module to organise my pages, the original site is located at http://www.cowshed.us the drupal version of it is at http://drupal.cowshed.us. Once I have it working like I want I will be renaming "drupal" to "www" and removing the old site.

Converting from Joomla 1.0.5 to Drupal

Hello All,
Perhaps this has already been covered, but so far I haven't seen any clear answer for converting from an existing community based on (in my case) Joomla! 1.0.5 Stable [ Sunspot ] to the current Drupal.

There are several communities I am looking to convert to Drupal because Joomla/Mambo create more problems than they solve. However there is existing content and a large member base I don't care to lose.

Munging email addresses

I'm trying to convert my site to use Drupal for easier maintenance in the future. I'm having a few problems, mostly related to working on a theme and trying to convert my own workflow. However, there are a couple of general things that seem to require me to hack the core.

My current web site is at http://www.astrofoto.org/. It's a home-grown "CMS" that lets me just drop HTML fragments on the server (to which I have full access), and uses a home-grown pseudo-theme based on CSS and my own class.rFastTemplate.php.

One of things my page generator does as a post-processing step is pass the text through a filter that munges e-mail addresses. The PHPcode looks like this:

// Munge e-mail addresses to prevent bots from getting them
function munge_emails ($matches) {
    $prefix = '<script type="text/javascript">document.write(decodeBase64("';
    $suffix = '"));</script>';
    return $prefix . base64_encode($matches[1]) . $suffix;
}

$buffer = preg_replace_callback ('!(<a href="mailto:[^"]*">.*?</a>)!is',
				 "munge_emails", $buffer);

And there is also a supporting javascript file included that implements decodeBase64().

This munging provides at least a small hurdle for spambots harvesting e-mail addresses.

Ideally, I'd like to do this same thing (filter everything through the above), but as a first pass, I added a static insert into the footer. filter_xss_admin doesn't quite allow everything through. I had to modify it to allow the script tag. Next I have to find where to get my new javascript file loaded in the head area. But ideally, I'd like to simply add this as a post filter prior to the print for text which would get the same effect as I have on my current site---all emails get munged on output.

recreating folder structures

Hi,

Trying to convert my static site to Drupal, and I have a general question if someone has time to answer it.

My site is setup in a fairly standard structure.

I have;

Moving my site to Drupal

Hi,

I have a static site that I want to move to Drupal. I have Drupal 4.7 up and working, and I now need to look at moving my site over. The content itself is not a problem, as I plan to use this as an excuse to re-do the content from scratch. However, I have absolutely no idea how to move my design over to a theme in drupal.

Fortunately its mostly CSS based and theres only a small amount of HTML in the form of DIV tags.

So, are there any simple guides on how to move my site design to a theme in Drupal ??

Lost from England.

:)

Pages

Subscribe with RSS Subscribe to RSS - Converting to Drupal