This patch allows the apachesolr view to have the row style of node_view.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

7wonders’s picture

I have the whole apachesolr views setup done now and have installed this patch. How would I use this now to override the default apachesolr results page so I get node views instead? Any tutorials for dummies would be much appreciated :)

/7

Scott Reynolds’s picture

Status: Active » Reviewed & tested by the community
Damien Tournoud’s picture

This looks like a patch to Views... I think this can be done within Apachesolr Views using one of the Views alter hooks.

Scott Reynolds’s picture

Alas, no alter hooks for plugins
http://views.doc.logrus.com/group__views__hooks.html

as you also see in views_discover_plugins();

dawehner’s picture

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

#614040: Possiblity to alter views_plugins

That's an easy patch, which would allow this.

dawehner’s picture

If this is commited, i will add a field like on core, where you can filter the terms by vocabulary etc.

mpaler’s picture

Hi Scott,

Could I trouble you to explain in lay terms what this patch does?

Thanks in advance,
Mike

mpaler’s picture

OK -- I get this. To slower folks like me, this adds a node row style for the view output. So under style settings if you set row style to HTML list, this patch will make "node" available under row style.

David Lesieur’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
760 bytes

With dereine's #614040: Possiblity to alter views_plugins committed, here's the small bit that's needed in Apache Solr Views to support the "Node" row style.

Scott Reynolds’s picture

Title: Patch to have node loads for your view » Node row plugin
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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