Is there a way of making front-page containing 2 views, without using panels module in Drupal 6.x?
thanks
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...
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.
Screw panels and multiple blocks! What's wrong with a nice view attachment? It's native to views (no extra module!!) and super easy!
You can give the attachment a header and footer text etc like you can any type of display.
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.
Here is what I did on Drupal 7.x.
The question was for Drupal 6.x, but I guess that most people who will stumble on this page would be using Drupal 7. I am new to Drupal, so I have no idea if this could apply to Drupal 6.
As x3ja menitionned I also used blocks.
I already had my views created for pages. On each view I added a new display with "+ Add" button and selected the "Block" display. Select a name for your block "Some block". Don't forget to save your view ;)
Go to example.com/admin/structure/block and search for the block you have just created. It should be in the "Disabled" section. In the drop down Region menu select "Content". Save. Then search for your block which should be in the "Content" section. Click "configure" in the Operation column. In "Visibility settings > Pages > Show block on specific pages" check "Only the listed pages" and write "".