Hi. My knowledge of Drupal & PHP is still somewhat limited, so apologies if I am asking a daft question.
I have to find a way to attach a link text to the CSV feed icon that views_bonus neatly provides me. I have located the theming of the feed icon in views_bonus_plugin_style_export.inc within function attach_to at line 27 where theme() is invoked. I understand that for type 'image', the theme() function will accept a 3rd argument which will become the link text.
How can I alter the effect of the attach_to function processing to insert the link text without compromising the views_bonus_plugin_style_export.inc file, thereby avoiding having to re-implement the change every time a new release of views_bonus become available? Is there some mechanism by which I can code up an override plugin within a module of my own?
Comments
Comment #1
neclimdulWe can probably make that an option for the style.
Comment #2
neclimdulCommitted some rough code for this. We'll see how it works out. Alternatively, you can use the theming options recently added by #507386: Make feed link themable
Comment #3
neclimdul