The CSS files of this modules is very small. Their is no benefit to try to filter it out when is not used.
The same can be done with JS.
The benefit to load it on every page is you have more chance to get the same CSS across different page.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | extlink-1668670-2.patch | 922 bytes | elachlan |
| #1 | External_Links-udate_css_link_to_.info_file-1668670-1.patch | 981 bytes | christiang |
Comments
Comment #1
christiang commentedI update the link to .info file to be used on every page, and remove it from .module file. Im attaching the .patch to be reviewed.
Regards!
Comment #2
gagarine commentedLook ok for me.
Comment #3
elachlan commentedCommitted to Git.
Comment #4
elachlan commentedPatch needs to be ported to 6.x branch.
Comment #5
quicksketchJust a note, I don't think you can add CSS files in .info in Drupal 6. In D6, only themes had that ability (I think).
Comment #6
elachlan commentedYeah I think its D7 specific. In D8 we are using hook_library_info().
Comment #7
elachlan commentedRolled the 6.x patch.
Apparently the .info option works with Drupal 6.
More Info: https://drupal.org/node/171209
Comment #8
elachlan commentedActually It looks like I am wrong. That link was for themes.