Image in mail template

hello,

I want to add and image header (template) to all outgoining mail in Drupal 7. How can I accomplish this?

Programatically associate a node with a term

I have been searching literaly all day for a solution/guide to doing this.
I have a taxonomy vocabulary called songs, inside this vocabulary a seperate form creates "Artist name" terms (upon registration).
So
Songs (vocab)
-> Arist one (term)
-> Artist two etc.

When users/artists submit a node (type:songs) I would like to use the artist name (currently logged in with) to create a term reference to the applicable term in taxonomy vocab(in which case the artist name).

Colorbox module in Drupal 7, not working when selected as format type.

Not sure if I posted this in the right place, so I apologize in advance. I also tried doing a search, but didn't find anything that solved my problem. Mostly just suggestions to try it on a clean install.

I can't use a block.tpl template

Hello everyone,
I have a problem when theming a block (through the use of Block.tpl.php) on Drupal 7.

I have done the following:

* I copied the file from the module directory block.tpl.php block on the root of my subtheme
* I tried to edit the file, rebuild the theme registry, and changes are seen

At this point I tried to change the name of the template file to increase the deeper:

Not displaying promoted nodes

I create a module that define a new node type:

<?php
function edition_node_info()
{
	return array(
		'edition' => array(
			'name' => 'edition',
			'base' => 'edition',
			'description' => 'edition',
			'has_title' => FALSE,
			'has_body' => FALSE,
		),
	);
}

I create a node programmatically with this simple code:

Changing $base_url in D7 settings is ignored

Hello, I installed Drupal in a subfolder of my mutualized hosting. Everything works well.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x