Using Splash Screen Page in Joomla, Mambo, Drupal, WordPress


Tags:

Let say that you want to have or  create a splash screen page on your Joomla, Mambo, Drupal, Wordpress where users can choose what what language their prefer, or you just want to put an a huge image to greet your visitors. And suddently you're wondering "How on earth I'm supposed to do that kind of thing?".

Well, don't be sad now because it's not difficult to that. All you need is to place an extra command in your .htaccess. Just add this line of code anywhere in your .htaccess file.

DirectoryIndex index.html index.php

This code will tell Apache that when somebody enter your site e.g www.yourdomain.com then Apache will display index.html as the default home page.

Note: You can replace the index.html name according to your splash screen file name.

What about the Home nav button

This works great and all but in Joomla the first Main Menu Nav button pointed to the "frontpage" component now links to the splash page. Any ideas?

That's simple

Thats simple, just unpublished the default Home menu, and create a new "Link - Url " menu named Home, and point that menu to your splash page.

I unpublished the "Home"

I unpublished the "Home" link and created a new one pointing to the home page url www.mydomain.com/index.php and it still goes to www.mydomain.com which is where my splash page is since it is www.mydomain.com/index.html.

You're wrong

You got it all wrong bro :)
If you create a new menu that points to index.php that is useless, because index.php is Joomla's main index file. If you want the Home menu to go to your splash screen page, you should point the Home menu to index.html and not index.php

Hope this helps..

Thanks for your help. The

Thanks for your help.

The thing is I don't want the Home button to take me to the Splash page. The server is setup to see index.html first. That is my splash page. I have a link on that page to index.php. I also did the .htaccess trick you describe. Pretty straight forward.

The home button by default is setup to take me to the "LiveSite URL" which is www.mydomain.com. Which is my splash page index.html. I want the home button to take me to the Joomla main page at index.php. When I create a new button and URL it to index.php it takes me to www.mydomain.com anyway.

Thanks.

Check Your Template

Hello Drew,
Are you sure that the button menu navigation load the menu from the database or it was manually defined from the template?

To make sure, check the template you're using and see whether menu was manually defined in the template or not.

I have the same problem

I have the same problem here, I'd amended the .htaccess (fine).

The path I want is that the user only hits the splash page once upon entry so once in joomla when the user clicks on 'home' the return to ww.domain.com/index.php and not www.domain.com (splash page).

Any ideas, swift responses would be greatly appreciated as I'm working for a client!

poor client.

poor client.

Flawed Logic?

Geektips have you actually tried this with Joomla, Mambo, Drupal and WordPress? Changing your index page with the .htaccess file has the potential of breaking a lot of the links in the CMS. I don't know about Joomla, Mambo, or Drupal, but I know that in WordPress it references the index.php to show elements like comments, archives, pages and categories and the way that it references the index is just to point back to the main url it was installed on. So if you set it up on mydomain.com it will point to mydomain.com?p=1#respond and if your default index is an html file, WordPress just attempted to run php variables in html.

ARE YOU NUTS?

For what the hell is that?

Fixed

Same problem, any fixes yet?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.