This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Taxonomy functions

Hi, I would like to display a taxonomy term with their vocabulary name next to them. But when I look in the $node object I can only find a list of the taxonomy terms. Is it possible to find out the vocabulary which a term came from and can you roughly tell me how to do that. -)

how to default emails address for user registration

Hi,

How to i can set default email address for registration like username@yourdomain.com

suppose if user enter username like manish then email address should be manish@yourdomain.com. if user enter username like rajesh then email address should be rajesh@yourdomain.com.

Please help me regard this problem

Problem with Lightbox, Image

I have problem with cooperating between Lightbox, Image and Acidfree.
Before mass import with Acidfreee I used to change directory because of better image organisation.
Image directory is e.g.: files/images. if I change image directory(module Image) into files/images/test, open the gallery, Image module automaticilly create thumbnails in new folder. E.g. files/images/test/myimage.thumbnail,jpg, but the preview is stored in files/images/myimage.jpg.

New module : body removal

The Independent Living Institute (Stockholm - Sweden) has sponsored the development of a new module for Drupal : Body Removal.
It permits to remove the body field from specified content types data entry forms.

You can download it from here : http://www.speedtech.it/files/bodyremoval-5.x-1.0.tar.gz

Multipage forms?

Hello!

I'm having a right headache, here. According to everything I've read, the following should work:

function mymodule_menu($may_cache) {
	$items = array();
	global $form_values;
	if ($may_cache) {
		$items[] = array(
			'path' => 'my_module',
			'title' => t('My Multipage Form'),
			'description' => t('a multipage form.'),
			'callback' => 'drupal_get_form',
			'callback arguments' => array('my_form'),
			'access' => user_access('access content')
		);
	}
	return $items;	
}

function my_form($form_values = NULL) {
        if (!isset($form_values)) {
		$step = 1;
	} else {
		$step = $form_values['step'] + 1;
	}
 
	$form['step'] = array(
		'#type' => 'hidden',
		'#value' => $step,
	);
	
	$form['this_step'] = array(
		'#type' => 'markup',
		'#value' => "<h2>".$step."</h2>"
	);

 
  // This part is important!
  $form['#multistep'] = TRUE;
  $form['#redirect'] = FALSE;
 
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Submit'),
  );

  return $form;
}

feed image url not clean

when I have a node with an attached image and clean urls is enabled than the preview link in the feed is for example image/view/11/preview
instead of the clean url

I think the global redirect module has to work on this to redirect to the clean url and maybe I can set a weight somewhere to fix the url problem?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions