DRUPAL : afficher une views, via le code


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $view = views_get_view('partenaireblock');
  2. $view->set_display('block_3');
  3. print $view->preview('block_3');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.