Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm working on a fairly large migration project. For this project, I will be migrating legacy data into Drupal 6. For this, I would like to create a new node with a specified nid so I can import data and maintain correct paths. I have looked everywhere for any tips on how to accomplish this, however, it doesn't seem like a very common practice. I have considered adding aliases, but for my case, I really feel like if I can directly map legacy ids to drupal nids, it will really make my life easier down the road. Has anybody had success doing anything like this?
I'm trying to insert the user role as the taxonomy term when a new page is created but I don't know how to access the variable with the PHP custom code. I'm told it's to do with this: global $user; return array($user->roles); but I'm wondering how I can access/echo these values? I would prefer the role name over the role ID but would be good to know how to get both...
My website is http://www.flippers.be which I maintained by hand, all static html.. finally decided to put a CMS behind it to make things easier for me.
Was in doubt between Joomla and Drupal - Drupal seems more interesting as its more powerful, but very complex..
I have a programming background (php is new to me but don't think it'll be that hard to get a grasp of it) so can write/configure parts myself. Just installed Drupal and now want to check what I need to implement all the functionality I want.
Main problem now is that there are so many modules and I don't want to test them all, so I hope you guys can give me some pointers on what to investigate to get a specific functionality.
So I don't need a complete how-to, just a list of modules that I do what I need..
What I need of functionality:
- main page only gives an overview to main parts on the site.. so multiple categories of articles with each their own index, not an overview of all articles on the main page.
Right now I do not have a menu that's on every page (including index page) the same and lists al pages on my site..
Also don't have a left/right part that's the same on every page - it should change depending on what part of the site you're in.
- multilingual: currently my site is in 2 languages. Don't need automatic translation, I translate articles myself.