$viewName = ‘my_view_name’;
print views_embed_view($viewName);
we have such a cool views_embed_view func. in Drupal to display a view inside another template. But It doesn’t get the custom “Display Output” :/ it gets the default.
How can I assign my custom Display Output (under Theme: Information) to views_embed_view?
Appreciate helps! thanks a lot!
[UPDATED]
I try as below, but still not taking the custom display
alt text http://files.droplr.com.s3.amazonaws.com/files/15306373/1hKd8R.view.jpg
The gotcha is that page_2 is not the name of your display it is the views internal name, you can work this out by looking at the theme informaiton for the display you want in views admin.