Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#2 | ajax_teaser_block-2703899-2-D7.patch | 488 bytes | sergeimalyshev |
Comments
Comment #2
sergeimalyshev CreditAttribution: sergeimalyshev commentedComment #3
tomdisher CreditAttribution: tomdisher commented#2 worked for me, thanks!
Comment #4
arefen CreditAttribution: arefen commentedpatch #2 doesn't work for me.
Comment #5
sergiivelykodnyi CreditAttribution: sergiivelykodnyi at Drupal Ukraine Community commentedpatch #2 worked for me. Thank you!
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedPatch #2 cause a Jquery error with version 1.10.
You should also add the following code on line 367
drupal_add_library('system', 'drupal.ajax', TRUE);
Sorry I don't have access to GIT at the moment.
Comment #7
MrPaulDriver CreditAttribution: MrPaulDriver commentedThe patch appears to be broken.
Applied to 7.x-2.1
Can anyone help?
Comment #8
subhojit777try this:
-
cd
inside the module directory-
patch -p1 < dc_ajax_add_cart.module
Comment #9
MrPaulDriver CreditAttribution: MrPaulDriver commentedQuick reply. Thanks. Didn't work though.
Comment #10
MrPaulDriver CreditAttribution: MrPaulDriver commentedAny chance of a dev commit with the patch applied?
Comment #11
MrPaulDriver CreditAttribution: MrPaulDriver commentedI also tried to apply manually, but the line to be replaced doesn't seem to match. I guess this is why the patch is failing.
Comment #12
subhojit777You are using 2.1 version?
Comment #13
subhojit777If you are using 1.3 you will find the code here http://cgit.drupalcode.org/dc_ajax_add_cart/tree/dc_ajax_add_cart.module...
If using 2.1, http://cgit.drupalcode.org/dc_ajax_add_cart/tree/dc_ajax_add_cart.module...
Comment #14
MrPaulDriver CreditAttribution: MrPaulDriver commentedYes 2.1 . Have not tried 1.3
Thanks for the links. Sorry to say, still finding exactly the same problem when trying to apply the patch.
Comment #16
subhojit777