All images are shown one after the other and now show.

Show must go on!

Comments

keithm’s picture

Status: Active » Postponed (maintainer needs more info)

I don't understand your problem. Would you explain it fully please? A test case to reproduce the problem would be very helpful.

Stomper’s picture

I think I am having similar issues. I am trying to create a slideshow of views. Each view is a view of recent content for a specific content type.

When I created the view slideshow in conjunction with viewfield, it too just listed the views one after the other, not one view on one slide, only one slide with everything on it. This is what I did.

- created a content type with only one field - viewfield
- created my views ( recent content for a specific content type - fields: title, date etc., filter: node type)
--- created five views, one for each content type
--- view type was a "content pane" (typically used for panels)
--- each view had a title
- created content using the aforementioned content type
--- created five nodes of content, one view for each node
- created view for slideshow
--- view type was slideshow
--- field: viewfield
--- filter: node type - viewfield content type

__________
When displayed, instead of having one slide for each view, it showed all the views one after the other vertically, also the view titles were stripped out.

Suggestions?

keithm’s picture

Category: bug » support

This is too complicated for a test case. If you're saying that viewfield breaks views_slideshow, you should get one slideshow working with a simple content type that initially does not have a viewfield. Once you have that working, you can add a viewfield and demonstrate exactly what effect that has.

Stomper’s picture

I am not sure if it "breaks" views_slideshow, if anything it doesn't display properly. It excludes the view title as well when the fields to display are the viewfield fields, the view title is not included.

I am seeking a way to display a view of views in a slideshow where each slide is one view.

keithm’s picture

Title: Viewfield does not work with views_slideshow » Viewfield problem with views_slideshow

Adding view titles to viewfield output is an outstanding feature request #281409: Show view title in viewfield output.

I'm not clear on why someone would construct a view of views, but if you're simply looking for a way to display a view of views, you might try Views Field View.

Stomper’s picture

Thanks for the module suggestion. I am actually just trying to create views_slideshow where each slide of the slideshow is a different view. I'm surprised it isn't readily supported by Drupal.

I had created and existing issue elsewhere where someone recommended the Viewfield module, but we found out it doesn't render correctly, see http://drupal.org/node/1050236

keithm’s picture

I still don't understand what your problem is. See #3.

Würden’s picture

I got a similar problem, when creating a view of views. If I choose unformatted as style rather than Slideshow I can make a php if-statement saying that if my content type is one type it uses a certain view and if it's another it uses another view, this is done using a custom fields template file, something like this:

<?php 
if ($view->result[0]->node_type=="content_type1") { 

		print views_embed_view('your_special_view');
 }

else { print views_embed_view('your_other_view'); } 
?>

for content_type1 a special view is used and another for the rest.

However when the style is changed from unformatted to Slideshow this method can't be used as the pre-process of the slideshow ignores the if-statement in a custom template. The slideshow only displays items from the view that is the slideshow, the if-statement is first applied after the slideshow is generated - so you don't get a specific style output for a specific content type in your slideshow as you did when the style was unformatted.
I am yet to find a solution to this..

Stomper’s picture

I think a quick solution would be to also include the field for "content type" so that if the views rely on the view title (not displayed, bug) in order to differentiate content type, by displaying the field it should address that issue

jefbak2’s picture

Version: 6.x-1.0 » 6.x-1.2

Moving reply to a new issue.