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.
Hi,
I needed to theme each rule link separately, so I thought that adding the rule link name as a class to the rule link wrapper span would do the trick.
What do you think? Jason.
Comment | File | Size | Author |
---|---|---|---|
#4 | rules_link-add-class-to-rule-link-1630998-4.patch | 768 bytes | jasonawant |
#1 | rules_link-add-name-as-class-to-wrapper-1630998-1.patch | 947 bytes | jasonawant |
Comments
Comment #1
jasonawantHere is a patch file with this change. Please let me know what you think. Thanks, Jason.
Comment #2
mitchell CreditAttribution: mitchell commentedComment #3
sepgil CreditAttribution: sepgil commentedSeems usefull, but your diff is from your drupal site and not from rules link, and can therefore be not applied.
Comment #4
jasonawantHi,
That was silly. How about this patch? Jason.
Comment #5
apmsooner CreditAttribution: apmsooner commentedFunctionality already exists. Additional customization can be added to tpl.php file.