I'm trying to apply this patch: http://drupal.org/node/161602

to this module: http://drupal.org/project/userreview

I have no clue how to do it. I've read every page on 'apply patches' but I still don't have the slightest clue as to how I would go about doing it. If someone could explain it a little better to someone who doesn't know about this kind of thing, or better yet patch it for me, I'd appreciate it.

Comments

cog.rusty’s picture

This is technical by nature, unfortunately. If you are on Windows, you should use one of these programs

http://drupal.org/node/60179

to do this

http://drupal.org/patch/apply

If this is too much for you, you could apply the patch manually with a text editor: Find the files mentioned in the patch, add the lines which have a + in front and remove the lines which have a - in front. (The other lines are there just to show you where.)

However the patch you mentioned is a big one, and a machine is better at checking if it applies. If you try to do it manually, keep backups of your initial files and check the file versions carefully.

Also remember that if you ever update the module to a newer version your changes will be lost, so keep a note about this patch.

roryt2000’s picture

Oh, perfect, followed the Cygwin walkthrough and was able to do it no problem. The other tutorials made it seem way more complicated than it was. Thanks for the help.

cem kaan’s picture

Thank you for your help. I did not even need to read any other patching method.

valthebald’s picture

Zend Studio can do it for you as well...