Question : Drupal Frontpage - Views through PHP

Hi,
On my front-page (frontpage tps template) I want several views which are only shown in frontpage. The blocks they should go in are also only on front-page.
Is there a way to insert an existing view into the page using php and pass some arguments to that view?
Thanks,
Sina

Answer : Drupal Frontpage - Views through PHP

You could use the "Insert view" module: http://drupal.org/project/insert_view as long as you heed the security warning.

But if you simply create your views as blocks, and set them to "show only on" content/home or whatever your frontpage is, you don't even need any extra modules. :)
Random Solutions  
 
programming4us programming4us