hi, i am new to drupal. can someone tell me how to install a patch to an existing module? thanks, erick

Comments

vm’s picture

r0g’s picture

Do it by hand.

Assuming it's not too large a patch I've found it easier to use a good old fashioned text editor to copy and paste it in.

The patch will have the name of the file to be patched, the name of the function(s) within it to be patched and the line directly preceding the point of insertion/deletion..

lines to be removed have a - in front of them
lines to be added have a + in front of them

It's generally pretty obvious.

Do always try it on your test site first tho!!

Good luck

r0g

wranvaud’s picture

Thanks for the alternative r0g, still working well today ;)

ahmedhanyfawzy’s picture

I wrote small blog post describing how to install the patch using the linux path utility ; linked here.

ahmedhanyfawzy’s picture

I wrote small blog post describing how to install the patch using the linux path utility ; linked here.