By Marianne on
Hi all, I have just installed the htmlarea module on my Drupal 4.3.0.
But I'm not sure I've done this right.
On the installation instructions, it says, apply patch drupal.diff to standard drupal source.. What does this exactly mean ??? I have done the following:
patch -pO -u < drupal.diff
but I'm not sure if it's the right command (it's not explained in the instructions!). He asks me then what file to patch, I have indicated system.module, drupal.module and node.module but I get then an error:
Hunk #1 failed at line 956.<br>
1 out of 1 hunks failed: saving rejects to system.module.rej
Same error with drupal.module or node.module.
Please help me, I'm really not sure if I'm doing this right. All the other steps are ok except this one !
Cheers
Marianne
Comments
Problem solved ;-)
Here's the solution:
patch -p0 < drupal.diffThis command has to be run in the drupal directory.
The htmlarea module is then installed correctly.
I'm happy :-) Thanks to Axel from the mailing list drupal-user for his help !
Marianne
but what if patch doesn't work?
When I try that on my system, I get
patch: command not foundIs there any way around it?
install patch
install patch
--
Drupal services
My Drupal services
Upgrade Problem with htmlarea?
I had htmlarea working fine on CVS befor 4.3.0. Now despite following all the directions including the diff command, I still cannot get it to appear. Any ideas? It shows up in modules list and is enabled. I enabled for new text areas and only three edit areas appear under configuration/htmlarea
admin/system.site_footer
admin/system.site_mission
node/add/blog.body
It does not show up on these though.
htmlarea and drupal 4.3.2
I have tried the patch command on 4.3.2 but it fails to patch the system.module file correctly. I did it by hand but the buttons in the htmlarea button bar do not quite have the correct path: for example the path used is misc/htmlareaimages instead of the correct misc/htmlarea/images. It seems to work ok though, except for the enlarged editor which appears to have no button bar at all.
Gray