Advanced action not listed in the triggers drop list

Hello,

I am trying to develop a module, with an advanced action, but, I can't find the action in the triggers drop list menus!

Only the simple action is listed.

I am sure that the module is enabled, and that I am writing the correct code,

here is my module hook code:

Slow Query in Drupal web site with Many Nodes

Hi,
do you know if in D7 this query (and others)

SELECT t.word AS realword, i.word FROM search_total t LEFT JOIN search_index i ON t.word = i.word WHERE i.word IS NULL

...will be optimized?

There is a problem with search indexes in Drupal 6 with a great amount of nodes.

Maybe Upgrading to D7 the problem will be closed.

Not Found The requested document was not found on this server. Drupal 7 IIS

When I upload files to drupal, I can not run install.php?
there is an error "Not Found
The requested document was not found on this server. "
If I enter a link / INDEx.txt on ok itself displayed instructions.

Please help

Drupal 7 - How to Link Image to ColorBox?

I'm not quite understanding how to link an image to the colorbox module.

content type > manage display > settings > link image to: nothing, content, file...

...I assumed colorbox would become one of these options (similar to lightbox on d6), but no go. I dug around for awhile without much success. Any help/ideas/links are appreciated.

Drupal 7, jquery wrap method and variable scope

I had a module in Drupal 6 and Ι'm trying to move to drupal 7.
All my old javascript files that used jquery were using the "$" variable. I know I can (should?) use the wrap method :

(function ($) {
  // Original JavaScript code.
})(jQuery);

but this method breaks all the code. I expain :
I include a script in my tpl.php file : drupal_add_js(path_to_theme().'/js/painter.js');
The poor old painter.js used to create a variable this way :

FAPI #attached javascript settings

I'm trying to use the new form api attribute #attached to attach some javascript settings. The settings look like this:

$js_settings = array('adminNotification' => array('email' => $current_email));

This is the code I've tried (along with other variations):

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x