Answer the question
In order to leave comments, you need to log in
How to programmatically disable themes/templates, header, footer in Views and pass data to the theme/template?
I programmatically get views:
$view = views_get_view('myview');
$view->set_display('my_display');
$view->pre_execute();
$view->execute();
$output = $view->render();
$view->header = array();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question