This tag is for questions about modules hosted on Drupal.org. It should not be used to generally mean "this question is about a module," when the question is about a module's code, or when the question is already using a tag specific for a module (for example, "views," "cck," or "pathauto").

learn more… | top users | synonyms (2)

0
votes
2answers
15 views

Module for vote/ranking system

I am trying to make a ranking system much like the way answers are ranked on StackExchange sites. There will be a list of comments or something and people can vote up or down. An up vote will +1 to ...
-1
votes
0answers
11 views

how to add custom html input type in drupal forms?

I have to add the following code to my drupal form At the top. how can I achieve this? <ul class="tabs primary"> <li class="active"> ...
0
votes
0answers
13 views

Trying to Access User Profile Notice: Undefined index: #attributes in theme_container() (line 3252 of /home8/site/public_html/includes/form.inc)

This is the full error Notice: Undefined index: #attributes in theme_container() (line 3252 of /home8/site/public_html/includes/form.inc). Recoverable fatal error: Argument 1 passed to ...
2
votes
1answer
21 views

Ajax Call on image button

I want to use ajax call on image button here is my code. function clicktell_form_alter(&$form, &$form_state, $form_id) { if($form_id=='user_profile_form') { $form['linkb'] = ...
1
vote
1answer
18 views

Cannot fetch form_state['values'] of text field from dynamically created Ajax fields

I have a custom form with dynamically generated fields. I am unable to fetch values from these fields using form_state['values']. Code is attached below. I have been struggling with this since two ...
0
votes
1answer
16 views

Including JS after the JS specified in theme info file

The goal is to include js files for custom block from custom module after the JS specified in the themes.info file. From the moduleName.module function moduleName_block_view($delta = ''){ $block = ...
0
votes
1answer
15 views

How to display custom block without default wrapped html around

I have custom module with new block. When this block is displayed, the output is wrapped with html tags from block.tpl.php template: <section id="<?php print $block_html_id; ?>" ...
0
votes
0answers
14 views

How to hide video thumbnail image once clicked on there by revealing embedded video underneath?? [on hold]

How do you hide video thumbnail image once clicked on there by revealing embedded video underneath, an example here http://www.academy-plus.com the main video has a thumbnail image and onced clicked ...
-2
votes
0answers
15 views

How to write multi table join query in hook_views_query_alter

$join = new views_join; $join2 = new views_join; $join->construct('field_revision_field_competition_end_date', 'node', 'nid', 'entity_id',NULL,'INNER'); ...
0
votes
1answer
25 views

Include CSS to module specific template

I have a custom module which contains a template directory and a .tpl.php. I would like to add a specific stylesheet for this template. Right now, my tpl-file looks like: <!DOCTYPE html PUBLIC ...
2
votes
2answers
52 views

How to count clicks made on an image

I created a click-able image block and posted it on the left sidebar. A click made on the image leads to an external website. How do I count the number of clicks made on that image. The Google ...
-3
votes
0answers
32 views

What modules should i use? [closed]

I am making a website about holiday parks (Amusement, bungalows, camping, etcetera) And i am at the point to submit content however, i want to make sure that my users could do stuff, examples writing ...
-3
votes
0answers
18 views

Making some Events as paid Events

Is there any way through which I could make certain events as paid Events. ie if a person is attending the event he has to pay a certain amount while registering for the event and then he could attend ...
-1
votes
1answer
25 views

How to Create Custom module? [closed]

How to create custom modules, and which files are we want to add the files, and how to work that modules. Please give sample example using custom modules site for drupal 7 or drupal 6.
0
votes
0answers
17 views

Hook Concept in Drupal 7? [duplicate]

Can anyone explain for me hook concept when used in a custom module. I don't have any idea of this hook concept.

1 2 3 4 5 143
15 30 50 per page