How to call an hook from another module?

Hi all,
on Drupal 7 I have a module with the hook: mymodule1_methodX($id,$country)
I'd like to call this function (mymodule1_methodX) from another module (mymodule2) passing the two parameters.
Is it possible?
Which is the right syntax?
Thank you very much


How to delete boost cache with arguments.

Hello, I have a page with this url: demenagement/guides and also I have a view in a block with pagination, the point is that Boost create this files:


I also have Expire module, and in custom pages I try this:


Any suggestion to update the cache of boost?




Hi All

I have installed the latest drupal 7 version, with php 5.4.16 on a cantos 7 box, after i have installed module simpleSAMLphp Authentication and enabled it, then I get error: Recoverable fatal error: Object of class DOMNodeList could not be converted to string in DatabaseStatementBase->execute() (line 2227 of /var/www/html/includes/database/

My coding skills in php is pretty weak, so I am wondering if anyone has any pointers? there is no errors in the httpd error logs so I feel a bit lost here.


A question about drupal_add_js

Hello I'm checking the function drupal_add_js because I want to load some external resources.

But I'd like to know if I load the js resources with drupal_add_js Drupal will move the resources to the bundle of js compress files?



Field TimeTable module

I have downloaded field timetable module. Created content type with one field of type timetable.
Added 2 content to it.
while creating view with Field Timetable format nothing is coming in view.

Drupal Installation

Is it possible to migrate Drupal 7 to Drupal 8 without losing any functionality or content?


Subscribe with RSS Subscribe to RSS - Drupal 7.x