Hey guys,

So recently I had to add taxonomy images to a Facet block (to make it more user friendly). This was fairly straight-forward using the following overloaded functions in my theme.

* theme_apachesolr_unclick_link($facet_text, $path, $options = array())
* theme_apachesolr_facet_link($facet_text, $path, $options = array());

Using the apachesolr_facet_link you can pass content that contains HTML (in my case an image that is clickable). In the case of the unclick link if you pass HTML it's stripped out which I don't understand why. Shouldn't the behaviour be the same for both and adding HTML make sense as it allows for more flexibility rather then just text for users.

The only way I could get around this was to pass the $text variable to apachesolr_l using a special class I made called 'apachesolr_unclick-special' which seems to not strip out the text.

I just wanted to propose that perhaps we could allow HTML for unclick links.

Thanks a lot!

Comments

nick_vh’s picture

6.x-2.x is not supported anymore and there is no new functionality going in for 6.x-1.x normally. Does this also apply to the 6.x-3.x branch?

If not, please close this issue or give us a patch :-)

pwolanin’s picture

Status: Active » Closed (won't fix)