view display as html in drupal 7

view display as html in drupal 7

<?php
print views_embed_view(‘search’, ‘page_1’, array(23,44,100));
?>

<?php
$output = views_embed_view(“content_link”,”block_3″);
if ($output){
print $output;
}

?>

 

<?php
if (views_embed_view(“content_link”,”block_3″)->result):
print views_embed_view(“content_link”,”block_3″);
endif;
?>

 

<div class=”container”>
<div class=”row”>

<?php
$my_view_name = ‘real_estate’;
$my_display_name = ‘Grid Properties with Pager’;
$output = views_embed_view($my_view_name,”block_6″);
if ($output){
print $output;
}

?>
</div>

</div>




Leave a Reply