Hello everyone)
Is there a way of making front-page containing 2 views, without using panels module in Drupal 6.x?
thanks
Hello everyone)
Is there a way of making front-page containing 2 views, without using panels module in Drupal 6.x?
thanks
Why not use panels? If you insist, just code it in page-front.tpl.php.
If you don't want to use Panels, you could create the 2 views as blocks (like you can for the side bar etc). Then add then to the centre content and make them only viewable on the front page...
You can easily make a view the front page in Drupal.
You can use the views_embed_view function to embed a view anywhere in your template.
In your case, you can use it in your page-front.tpl.php to display the two views in the front page.
views_embed_view is the way to go. You can call any view. You can do it in page-front.tpl.php or in jsut he body if you have PHP Filter enabled.
Make one View to a page and make the path to that page the frontpage.
Take the other Views you want added to the frontpage and add them as block and make them only visible on the path to the frontpage.
I've used a solution like that on a Drupal 6 site prior to Panels being stable enough for it to be usable. I also used the Views exclude previous module then to enable me to have multiple lists of the same content without having the same content show up in all of the lists.