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.
Hello,
I just installed the module and it seems to work fine for me. However, I am using it with Advanced Forum which uses buttons to reply/modify/delete. I would have liked to theme the quote link the same way...
See example of what I am talking about here:
http://www.coryphee.ch/forum/forums/maud-aka-calamity-jenni
Comment | File | Size | Author |
---|---|---|---|
#5 | quote-advancedforum-1929658-5.patch | 2.06 KB | discipolo |
#2 | 1929658_quote_button_proper_place.patch | 2.52 KB | Nikita Petrov |
#1 | quote_button_proper_place_1929658_1.patch | 2.13 KB | Nikita Petrov |
Comments
Comment #1
Nikita Petrov CreditAttribution: Nikita Petrov commentedHere is a patch for this problem.
Description: $object->content['links']['comment'] is exists everywhere - at the node and at the comments too. Advanced forum using exactly the same array, so i changed the position from $object->content['links']['quote']['#links']['quote'] to $object->content['links']['comment']['#links']['quote'] and now it works fine - "Quote" button is styled properly.
Also i made some code optimizations to avoid duplication of code (moved code to quote_add_quote_link function)
Comment #2
Nikita Petrov CreditAttribution: Nikita Petrov commentedHere is the same patch as above, but for using "git am" command, to avoid problems with differences between the branches. I'm using the branch "master", is it right?
Comment #3
A-snowboard CreditAttribution: A-snowboard commentedHello,
Thank you for your V2 patch. It works well for me at first.
I did further testing.
Thank you very much.
(Sorry for writing, google translate is my friend)
Comment #4
No Sssweat CreditAttribution: No Sssweat commentedWorked for me perfectly. Thanks for the patch, hopefully they'll add this in the next release.
Comment #5
discipolo CreditAttribution: discipolo commentedhere is the patch against 7.x-1.x
Comment #6
Luneh CreditAttribution: Luneh commentedSorry for thanking you so late...
Thank you!
Comment #7
AlfTheCat CreditAttribution: AlfTheCat commentedAwesome! Thanks!
Comment #8
MXTPatch provided in #5 works very well also for me, thank you.
Comment #9
kopeboy CreditAttribution: kopeboy commentedWas this included anywhere?
Comment #10
No Sssweat CreditAttribution: No Sssweat commented@Kopeboy, nope, 7.x-1.1-beta2 doesn't have it, I had to use the patch. See comment #4.
Comment #12
Zen CreditAttribution: Zen commentedCommitted a slightly modified patch. Thanks to everybody.
-K
Comment #13
Zen CreditAttribution: Zen commented