Recovering from a hacked website

Hello,

A website I developed was recently hacked. Malicious code was placed at the top of every PHP file and malicious code was placed inside the jQuery once javascript file. It was a Drupal 7 install, version 7.36. I fixed jQuery once pulling the javascript file and removed all the malicious code by first upgrading Drupal core and all modules and doing a 'search and replace' on the theme files etc to remove all the malicious code.

after 404 redirect, the original url still list on google ??

Hi

We received intensive attack for our site in few days, spammer posting lots page with their video stream content, and we delete most of them immediately after they post. but the post is already pickup by google, and google keeping the url of the page, since the page is been deleted, when people click on the link on google, it will redirecting the user to our front page, but the browser's url address still showing the original spam address like below :

Custom submit handler on user_profile_form

HI,

In a module I use an hook to alter the user_profile_form.

function justtosay_formTools_form_alter(&$form, &$form_state, $form_id) {    

   dpm($form_id );
   
  if($form_id == 'user_profile_form') {
     //redirigé l'utilisateur après submit
    $form['actions']['submit']['#submit'][] = 'overrided_submit_user_handler';

}

here is the custom submit function :

how to link two nodes with each other.

Hi,

I am trying to achieve following,

Node 1

N1Field 1 = Value1

N1Field2 = Value2

N1Field3 = Value3

Node 2

There is only one field lets Say N2Field1.

This will field would have drop down to select either one of the values in N1Field1, N1Field2, N1Field3

User would need to select either of these values.

Any help would be great.

Thanks in Advance.

Neeraj.

any good module for creating a Calendar??

I'm trying to create a sidebar that holds a calendar. I am seeing several options but they are all contrib modules that are abandoned.
Anybody have any ideas suggestions that are recent?

(Please don't suggested Block Calendar or Pretty Calendar, I've already reviewed those).

Clear menu cache after enabled a custom module

Hi!

I have written a small module that defines a menu item using hook_menu. The code is bellow:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x