Tagged Questions

0
votes
1answer
18 views

Thumbnails limit max first 6 images

I'm using Drupal 7 and create a module for my content thumbnail images frontpage display. Working this: if(count($p_detail->field_slide) > 0){ $output .= '<div ...
1
vote
0answers
59 views

Drupal modules not showing in admin/modules list

I have issues on Module listing in Production server. When I add new modules in production website, it doesn't shown up the modules list. So I took a copy and changed the MySql values on settings.php ...
0
votes
1answer
42 views

Rebuild Workbench cache?

After adding some link to menu, on which Workbench Access has its hierarchy, I cannot immediately use this one, as a section. Tried rebuilding drupal menu (menu_rebuild()), but it's something inside ...
1
vote
0answers
101 views

Adding variables in db_query for webform dynamic select

I would like to populate a dynamic select option in page 2 of my webform based on the value of another select option in the previous page. I would like to use a variable in db_query, and hence tried ...
0
votes
1answer
510 views

How to get exposed filter dropdown option selected value in drupal hook

I'm trying to get exposed filter selected value in hook_form_alter(). myModule_form_alter(&$form, $form_state, $form_id) { if ($form['#id'] == 'views-exposed-form-view-id-display-id'){ ...
3
votes
2answers
35 views

Create default view from mymodule

i am trying to develop a module in drupal 6.I want to create a default view from my module. And i created one with users as base table. Now i want to create a new tale and add fields also . How can i ...
0
votes
1answer
53 views

small php script used in drupal module not clear with arrays in php

Here is a small PHP code which I am not clear with. /** * Form for configurable Drupal action to beep multiple times */ function beep_multiple_beep_action_form($context) { $form['beeps'] = array( ...