I need to theme the "more..." links.

In issue #292097: hide 'more options' link in keyword search block it was mentioned that a new class attribute had been added for this.

I don't see any "more..."-specific codes in the output from 6.x-1.0-beta2

Was it removed or do I need to do something to enable it?

Thanks
Steve

Comments

reufhaadfe’s picture

This works for me.

.faceted-search-more {
Insert css code
}

soajetunmobi’s picture

Overridding theme_faceted_ui_more function in template.php to return "l(t('more...'), $path, array('attributes' =>array('class' => 'faceted-search-more')));" instead of "l(t('more...'), $path, array('class' => 'faceted-search-more')); works for me.

steve.m’s picture

+1

The l() function requires the options array to be nested as in the array('attributes' =>array('class' => 'faceted-search-more')) mentioned in #2. I also had to override this theme function to make the 'more' links available to CSS.

grasmash’s picture

Version: 6.x-1.0-beta2 » 6.x-1.x-dev
Status: Active » Needs review

I'd submit a patch, but I've made other unrelated changes to this module.

regardless, line 1405 of faceted_search_ui.module (6.x-1.x-dev)

return l(t('more...'), $path, array('class' => 'faceted-search-more'));

needs to be changed to:

return l(t('more...'), $path, array('attributes' => array('class' => 'faceted-search-more')));

Currently, no class is being added.

david lesieur’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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