help with select element [SOLVED]

Hi guys

with my code the select element displays the info corectly

function _gettype() {

  $query =  "select * from {my_functions} where type = 'type' ";
  $result = db_query($query);
  $mt = array();
  foreach ($result as $mtype) {

      $mt[$mtype->id] = $mtype->value;
  }
  return $mt;
}

then in my main form function i have

Send e-mails to groups of users?

Greetings,

While now totally new to Drupal, I find myself fumbling with something right now. I am setting up a website for my son's youth football team, and they have four levels based on age. (Flag, Freshman, JV, Varsity) I need to create accounts for the parents of the kids so we can send updates to then such as schedule changes, team specific instructions, etc. We'd like to be able to send messages to groups of people based on level of play; to Flag parents, but not Freshman, JV, and Varsity. What's the best way to do this? I see two parts to consider:

How to include taxonomy term in file upload path

I am attempting to transition from D6.x to D7.x. My last difficulty is figuring out how to create a directory structure for uploads.

On my site users can upload "books" (documents). I have created a taxonomy/field for "author" (field_author) using filefield.

I want these files to automatically go to .../files//filename.zip

For example: User "Jim" creates the post and uploads a book titled "amazing grace" (amazing.lbxoeb) the author of which is John Newton.
I want the resultant file path to be .../files/John_Newton/amazing.lbxoeb

Notices when creating a module

I am new to module development and have been trying to create a test module called annotate.

I have created .info, .module, .install and .admin.inc files

Here is my annotate.info file:

Installation - MySQL database

Hi everyone!

I had installed Drupal (v. 7.0) for my website but wanted to start fresh & install the 7.7 version. I cleaned it all, deleted the files and remove the installation from Fantastico DeLuxe (which automatically installs Drupal from my hosting services). But then, when I try to create a new installation of Drupal, it just doesn't work.

Here are the two ways I have tried:

1. Through Fantastico DeLuxe:
"Install Drupal (2/3)
The installation can not be completed:
- You cannot install more than one script in the root directory of a domain.
Click on the browser's Back button to fix reported errors."

2. Directly from the configuration page from my website address (in the "Set up database" section):
"In order for Drupal to work, and to continue with the installation process, you must resolve all issues reported below. For more help with configuring your database server, see the installation handbook. If you are unsure what any of this means you should probably contact your hosting provider. Failed to connect to your database server. The server reports the following message: SQLSTATE[28000] [1045] Access denied for user 'admin'@'localhost' (using password: YES).
Is the database server running?
Does the database exist, and have you entered the correct database name?

Setting up Ubercart's catalog to show a 3x3 grid of products, not just the taxonomy names

Hi all,

I am relatively new to Drupal and so far I am quite impressed with how powerful it is. However I want to setup an online shop, using both Drupal 7.2 and Ubercart 2.

I have all the modules installed and a couple of products in there and some categories, however on the main catalog page it only shows the product categories and not the products themselves. I am fairly certain it is something minor I am missing, but it has been bugging me for about 8 hours now.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x