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.
Problem/Motivation
Using hook_follow_networks_alter()
, a module or theme can add additional network. However, the CSS generated to add the icon does not support these added networks. Currently, each supported network (those provided in follow_default_networks
) is hardcoded in follow-css.tpl.php.
Proposed resolution
Generate the network specific CSS rules for all the networks returned by follow_networks_load()
.
Comment | File | Size | Author |
---|---|---|---|
#1 | follow-support_custom_network_in_css-2140151-1.patch | 3.7 KB | pbuyle |
Comments
Comment #1
pbuyle CreditAttribution: pbuyle commentedfollow-support_custom_network_in_css-2140151-1.patch implements the suggested solution.
Comment #2
pbuyle CreditAttribution: pbuyle commentedComment #3
AstonVictor CreditAttribution: AstonVictor as a volunteer and at DevBranch commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks