Hi,

I was wanting to know how to have a main splash page that the user lands on when they go to my site. The splash page then has two buttons which direct the user to seperate areas of the site..

Does anyone have any idea of how to do this? Perhaps there is a module??

Thanks for any help that can be offered.

Comments

tm’s picture

front page module claims to do what i think you are saying you want; have not tried that feature (edit: the module maintainer even provided a nice splash page handbook at http://drupal.org/node/68849.
). there is supposed to be another one that does something similar, but i can't remember what is was called.

well, it is a place to start... good luck!

roopletheme’s picture

Like most things in Drupal, you can accomplish this any number of ways. Some ways are complex... some ways involve modules. The Front Page module is not too complex, and it will do what you want to do.

For simple splash pages and for sites that require a unique layout for the front page, we usually take the direct approach. We just layout the front page differently than other pages in page.tpl.php, as in:

<?php if ($is_front) { ?>

   ... insert layout for your front page ...

  <?php } else { ?>

   ... insert layout code for other pages

  <?php } ?>

No modules... no extra files... just a bit of extra code.

Any of these approaches to using a splash page brings up SEO questions and other hurdles you will have to jump. But this should get you started.

www.roopletheme.com

reniroo’s picture

Hi Guys,

Just wanted to say thanks for your advice, it has saved me a lot of time fiddling around with this.

Cheers, ReniRoo

Rosamunda’s picture

It worked for me too!

grobemo’s picture

In Drupal 6.x, at least, you can write a separate template for your front page. Call it page-front.tpl.php. (You'll probably have to clear your theme registry after doing that. You can do that by clearing the site cache, among other ways.)

The frontpage module also works for creating a splash page. I've used it before, and it's fairly easy and flexible.

gmarton’s picture

chrisroane’s picture

If you need a splash page in Drupal 7, take a look at Splashify.

aklump’s picture

You can also check out the Splash Offer module.