Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I recently needed to modify this module to allow for some custom icons. I thought I would offer the code here in case you wanted to implement these hooks into the next version. I have provided the code against the Drupal 7 Version. Please let me know if you have any questions.
This patch will add two hooks to the module which allowed me to programatically: change the sort order, override the default images.
Comment | File | Size | Author |
---|---|---|---|
on_the_web.api_.php_.txt | 695 bytes | aklump | |
on_the_web.module.patch | 6.23 KB | aklump |
Comments
Comment #1
jenlamptonThis is great, I will certainly look into including it! Thanks so much :)
Comment #2
jenlamptonI don't think a module this small needs a whole API. I think the right approach here is allowing the default icons to be overridden, and since that's a theme-driven need, I think doing that via theme overrides is the best solution here. Im going to mark this issue works as designed, but I'm also going to make it easier to override these icons (via the theme).
See #1678872: Make it easier to override the default icons