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

neclimdul’s picture

Category: support » feature

We can probably make that an option for the style.

neclimdul’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev

Committed 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

neclimdul’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.