Hi,
Could you tell me is there a way to get the feed page to work around this issue
"Missing style plugin". I don't seem to be able to save the view without it.

Format : RSS Feed | Settings
Display : Missing style plugin

Fields
The selected style or row format does not utilize fields.

Should I make a Style plugin?
I have been searching for a solution but don't seem to find one.

Kind regards
Marco Schoolenberg

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

What kind of view did you created? user/node/comment...? Some more informations are always great, but i hope you already know this.

So this either is about a bug, that an existing row plugin is not used, or you have a view-type which uses something without a row rss plugin.

marco71’s picture

Priority: Minor » Normal
Status: Active » Postponed (maintainer needs more info)
FileSize
53.3 KB
57.61 KB
61.54 KB
47.96 KB
35.87 KB

Hi thanks for your response.
The View I have created actually comes with the Drupal Recruit module.
I am not sure what you mean with "what kind of view"

I added a bunch of screen-shots one of the admin page and one of the "feed" page, and some of the links clickable around format, hope that clarifies a little?

Very grateful for your help

sincerely
Marco Schoolenberg

marco71’s picture

Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Active

I think I need to set it back to active. And maybe its minor

dawehner’s picture

Priority: Normal » Minor
Status: Postponed (maintainer needs more info) » Fixed

Well the job base table doesn't provide a row plugin for feeds so views can't do something here. Remove the feed display and you can save again.

aweizd’s picture

I have the same problem trying to create a Feed Display for the Drupal Commerce Product View. In fact, I can't create a any Feed Displays, because of this. The only feed display that actually works is the Frontpage view.

I'm on the recent dev release of views, but had the same problem with rc1.

dawehner’s picture

Well sure, all of them don't provide row plugins, so there is no chance (beside developing a general feed row plugin) for views to fix this.

aweizd’s picture

Status: Fixed » Active
aweizd’s picture

So is this "normal" views behaviour?

Could another module be causing this error? I don't have the problem with a different site I work on.

dawehner’s picture

Yes it is.

marco71’s picture

Thank you for all the info. So to get a feed working for that view I or someone would have to build that plugin?\
Does that plugin style the RSS output....? What king of file would that be.... lots of questions :-o
Could you provide me with a example for some other view maybe or tell me where to get it.

Maybe I can rebuild that to work with this module/view...

I seem to remember I had this working in one of my test installs hmmmm. guess not.

dawehner’s picture

First you need to say that you implement the views api: hook_views_api.
The second step is to use hook_views_plugins to register a row rss plugin. Here is the one from node as example.

function node_views_plugins() {
  return array(
    'module' => 'views', // This just tells our themes are elsewhere.
      'node_rss' => array(
        'title' => t('Node'),
        'help' => t('Display the node with standard node view.'),
        'handler' => 'views_plugin_row_node_rss',
        'path' => drupal_get_path('module', 'views') . '/modules/node', // not necessary for most modules
        'theme' => 'views_view_row_rss',
        'base' => array('node'), // only works with 'node' as base.
        'uses options' => TRUE,
        'type' => 'feed',
        'help topic' => 'style-node-rss',
      ),
    ),

It includes a class views_plugin_row_node_rss: modules/node/views_plugin_row_node_rss.inc which prepares the data in the render() function. That's basically all what you need.

marco71’s picture

Wauw cool I will have a go at this. It might take me some time though. PHP is new for me I am a Java man.
Thank you very much!

scuba_fly’s picture

Marco71 did it work for you?

I'm having a similar issue with a view containing solr search content.

jdieter’s picture

So, there is something wrong with the Civicrm events that stops them from being able to be a source for a "feed" view? They work with all the other view types? Is there a fix for this? Is there some sample code I can use to write a "row plugin"?

MustangGB’s picture

Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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