html We have a large collection of all latest versions keygens. Last Updated on May, 26 2013. his question could not be answer with "just a keygen" because i can't verify the keygen and it's free. New Miroslav Philharmonik keygen, 12/22/2014 Thank you for your downloading. What is Miroslav Philharmonik keygen? This is Miroslav Philharmonik keygen for 100% Works All version.
Description of Miroslav Philharmonik keygen - Welcome to CodeProject. Miroslav Philharmonik keygenQ:
Display custom fields only for single views
I have created custom module for Single Taxonomy View display content on homepage.
and module has two function like this
function mymodule_view_display_view_view_1() {
$view = views_get_view('my_view');
$view->set_display('page_1');
$view->set_heading('Simple view');
$view->display_handler->set_option('group_by',1);
$output = $view->render();
return $output;
}
function mymodule_view_display_view_view_2() {
$view->set_display('page_2');
$view->set_heading('Multiple views');
$view->display_handler->set_option('group_by',0);
I want to display content of my_view only on page_1
A:
I think the $view->set_display('page_1') is what is giving you the trouble. You are trying to override the display for the whole view, not just the page1 section. You should remove that part and just do this:
$output = $view->display_handler->render($view);
The $view->set_display('page_1') is changing the display of the whole view, but only the page1 views,
Related links:
Kommentare