Closed (duplicate)
Project:
Category
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jan 2007 at 19:41 UTC
Updated:
30 Mar 2007 at 04:38 UTC
Jump to comment: Most recent file
Here's a "diff -e" patch of what I did to cac_lite.module to get the admin screens working in Drupal 5. Can someone check it?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | caclite.patch | 3.26 KB | bdragon |
| #4 | category-5.x-1.0-patch.diff.gz | 1.31 KB | pillarsdotnet |
| #3 | patched_cac_lite.module | 15.29 KB | twibberjix |
| cac_lite.module.patch | 977 bytes | twibberjix |
Comments
Comment #1
fighella commentedHey, I was gonna try your patch, but I've never used one before... I've seen the ones with - and + , which i assume mean add this line, subtract the other....
Could you explain how yours works? And I will give it a go. JD
Comment #2
twibberjix commentedSorry - copy cac_lite.module.patch into the modules/category/contrib/cac_lite folder then run "patch < cac_lite.module.patch" it should ask what file to patch after complaining about one not being found in the patch, just type in "cac_lite.module" at the prompt and it should do it.
I'm not used to making patch files. :)
Comment #3
twibberjix commentedWait...did you mean how can you apply it by hand? I think the format is line number followed by a for add or c to change and then what needs to be added or changed. But don't do it by hand (unless you're feeling bored), here's the module with the patch applied already.
Comment #4
pillarsdotnet commentedHere's another (bigger! better?) patch, created with diff -urN.
Comment #5
fighella commentedtwibber, I used your patch and it worked a treat (so far!) Thanks alot for the help!!
JD
Comment #6
russgri commentedShould I rename it to "cac_lite.module" and
place it in the modules/category/contrib/cac_lite
or
just place it in the "modules/category/contrib/cac_lite"
Comment #7
twibberjix commented@russgri
You need to overwrite the existing cac_lite.module. So yes - rename the patched_cac_lite.module to cac_lite.module.
Comment #8
aangel commentedComment #9
bdragon commentedIn the interest of keeping this patch from breaking horribly next time cac_lite.module is touched, here's the same in unified diff format.
*Please* use unified format, or at least context format. Ed scripts don't handle conflicts well.
Comment #10
Dave Cohen commentedFYI, I am working on a patch to keep cac_lite in sync with it's sibling, tac_lite. I will post again soon...
Comment #11
Dave Cohen commentedI hope no one minds, I'm going to mark this as a duplicate and post the latest patch to this issue:
http://drupal.org/node/116673
Comment #12
gurukripa commentedhi..i am using cac-lite..and doesnt work even for registered users..only webmaster can c all content..cld u pls put this up as a new version update ..so we can upgrade..Drupal 5.1
thanks :)