I am trying to get my View A to display X nodes with a panel layout. View A uses row style: node

I have done a setup with Panels so that those x nodes have a certain layout in node view (so it displays the node correctly in a normal "http://site.com/content/134". However, when I go to the page with View A, I basically get a unformatted node back).

My basic question is: how can I get a panel layout for each result of View A.

Now I am left with styling the views as fields or styling the nodes again.

So I thought of using panel nodes as a workaround (which does display the layouts correctly in a view), but that has a number of serious limitations with more complex setups without some way to define multiple CCK content types for panel nodes (there is just one node-type: panel, instead of say multiple panel content-type: panelnodetypeA, panelnodetypeB. I can have a type Page, type Post, etc, but only 1 type of panel nodes).

So my question is: Is this solvable? ie: Am I doing something wrong or missing something?

Comments

merlinofchaos’s picture

Status: Active » Fixed

You have 2 options:

1) Use the panels_teasers module.
2) If you update fully to -dev Panels & CTools, there is a new feature that lets you select a panel row style. It's a very simple "place fields within the panel" and not really quite the same; if you need the richer features, use #1.

secretuser’s picture

Hi Merlinofchaos,

Thanks for the quick reply, I'll try option 2. To be honest, option 1 looks pretty dead in terms of user count (proxied by the issues count).

merlinofchaos’s picture

The module hasn't been around very long, really. I wouldn't take the user count as a real indication. It's a specialty module, and not a lot of people even realize they need it. I've looked at the code, it's pretty solid.

secretuser’s picture

I tried the panels_teaser module. It was quite solid, but it suffered from the same problem.
The output from a View never changed, still x rows of unformatted node data (this time in teaser build mode). So in essence it was still giving the same results. I pretty much tried every combination possible to see if I just missed something obvious, but it didn't help.

The output of a standalone teaser did change correctly, but as long as you tried to display that teaser as a row output of a View, that fell back to the unformatted version.

secretuser’s picture

I must say that the dev version of panel fields works pretty well, especially in combination with custom layouts. Thanks for such implementing such a nice feature. Views and Panels are the best modules I have come across in drupal (and any other CMS).

Status: Fixed » Closed (fixed)

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

chriszz’s picture

Status: Closed (fixed) » Active

Dear Developers,

Today I ran into the same problem. I was creating a views slideshow - and the idea was to display a node using a panel design as slides. But unfortunatly that node row option in views does not pick the panel-node but shows the original node version.

Is there any workaround? I used the paned fields - but it is not the same as panel-node in terms of fexibility (e.g. no builders layout) so I would prefer to be able to show the panel-node through views.

regards
Christian

merlinofchaos’s picture

Status: Active » Fixed

http://drupal.org/comment/reply/914736#comment-3460586 lists all the solutions at this time.

Status: Fixed » Closed (fixed)

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