I dont understand taxonomy

So Im attempting to build a site based on users searching for pages, creating them if they dont exist, and commenting on them. So far, Im off to a bad start. Categories are going to be a big part of this site so I know I need to use taxonomy to properly classify everything. The problem is, I "dont get it".

Auto add term to content type

I am wondering if it is possible for a content type to add a tag to an existing term.
I.E if someone creates a 'node' of type 'artist' (a custom content type) is there a way to get the title of the node to automatically become a taxonomy term under the preexisting term 'artists'.

Issue with db_query() not populating select list

I am trying to make a select list from the database table 'node' of all rows that have a 'type of 'artist' and make their 'title' the selection and their 'nid' the selected value.
Of course I have created a content type of 'artist' and have several nodes of this type in the db. The select list shows though has no values. As I am fairly new to Drupal it is probably a simple mistake. Can anyone see where I've gone wrong?

Drupal "hacked" ?

Hi. I have drupal installation on my server. I have few working pages there and lately I have created some folders - simply domain names (like example.com for MU installation) for one of my freelancer friend.

So domains folders were created and ready for my friend to update (he was working on my page at his localhost first and then he just wanted transfer the database to my server and do some other staff).

But before updating I saw some "hacker" already install those unused domains on my site (by sqlite). On screen I saw information that I should not leave install.php file, with admin login info and pass... Well he was right. But installing drupal without access to password protected database is something I just... well I have not been prepared for this, didn't know its even possible.

So now I want to know what this "hacker" could do. He probably couldn't have used my working mysql databases (didnt know user name/pass), so there are safe. He got access to my modules, so he know what modules I have use (by uninstalling them he just uninstall them on "his created database", not on local files, so not a big deal). What else ? Should i replace all drupal files (beside sites) ?

I have deleted all settings.php files (delault folder) - inside one i have found:

$databases = array (
'default' =>
array (
'default' =>
array (

Upgrading (via migrate) from 5 to 7 same server same domain

My Drupal 5 installation has been running fine, but it is time to upgrade. I would really like to start from scratch on a new clean Drupal 7 install and migrate content over as needed. What is the best way to do this if I am on the same server and want to end up with the same domain name?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x