views carousel does not 'work' when embedded

sushilmasti - May 8, 2009 - 05:42
Project:Views carousel
Version:6.x-2.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello, I created a views carousel and it worked fine as a block but when I embed it as using views_embed_view or module_invoke - the view does not show up. Instead a HTML list view shows up - I did override the defaults in the view config.

Any help would be greatly appreciated. This is a great module and I plan to use it a lot :-)

#1

alpharetro - May 11, 2009 - 18:03

I am also having this problem, using views_embed_view in my tpl file.

#2

brenk28 - July 20, 2009 - 15:59

I had this issue as well. This may not apply to your cases, but maybe it might help someone.

I was using two carousels on the page, one in the header from a block and one embedded in my node template file. Each carousel specified a custom css skin. However, only one of those css files was getting put in the styles variable, which was making my second carousel seem broken.

So, I just combined the styles into a single css and it worked ok.

So, generally, speaking I don't think it is as issue of the carousel being broken simply if you use views_embed_view.

Thanks,
-Bill

#3

apilasiewicz - October 6, 2009 - 13:39

It may not only be the problem of embedding, i have created two blocks with Views, added them to a panel, for the testing purposes added the second block twice. No matter in what order i put them, alway the second one doesn't work.. Will try to use your suggestion brenk28

 
 

Drupal is a registered trademark of Dries Buytaert.