Created
September 6, 2018 05:12
-
-
Save radheymkumar/8df094e179a1b54c9f2377eba7a484c4 to your computer and use it in GitHub Desktop.
View print on TPL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$output = ''; | |
$view = views_get_view('assets_search'); | |
if($view){ | |
$view->set_display('page'); | |
$output = $view->preview('assets_search'); | |
print $output; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment