Create Splash Page with Joomla 1.5

Everything to do with Joomla! 1.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
msrache
Joomla! Apprentice
Joomla! Apprentice
Posts: 48
Joined: Thu Mar 12, 2009 1:33 am
Location: USA
Contact:

Re: Create Splash Page with Joomla 1.5

Post by msrache » Wed Feb 03, 2010 9:38 pm

I would create a new folder inside your Joomla's root folder with your splash page. The splash page would contain the link that points to your Joomla's index.php. Point your domain to the folder where your splash page is, then by clicking the link, the user will be redirected to one folder above your newly created folder.
ALAMODEST :: http://alamodest.com
BLACK MOLD EXPOSURE :: http://blackmoldexposure.com

PolyAdmin
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Apr 27, 2010 3:02 pm

Re: Create Splash Page with Joomla 1.5

Post by PolyAdmin » Tue Apr 27, 2010 3:06 pm

I have found a way to make a SPLASH page and it NOT be the Home page. It's so easy, it's funny.

1) I made a page with no content but a space ' ' and called it 'blank article'
2) I assigned this page ('blank article') to a different menu than the 'Main Menu', I used a 'Resources' menu. I called the link 'Home-Intro'
3) I made my modules with custom splash graphics and assigned them to only show up on 'Home-Intro' menu item.
4) In menu manager, I selected the 'Home-Intro' to be the default (yellow star)

That's it! No other hacking. Any article published to 'Front Page' still publishes to Front Page and the 'Home' menu link on the 'Main Menu' still works as it should.

If there are problems with this I can't find it. Let me know.

User avatar
Jazzi
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Sun Nov 19, 2006 12:56 am
Location: UK
Contact:

Re: Create Splash Page with Joomla 1.5

Post by Jazzi » Mon May 31, 2010 7:58 pm

romannumeralus wrote:Your splash page index.html should be on the same root where your index.php is.

Open index.php and add the following lines of code in the top of index.php just after <?php

//////////////////Code Help From http://www.EyeConGraffix.com //////////////////////////////

if(isset($_SERVER["HTTP_REFERER"]) && $_SERVER["HTTP_REFERER"]!=”"){ } else { header(”Location:index.html”); }

//////////////////Code Help From http://www.EyeConGraffix.com //////////////////////////////
:)

This _almost_ worked for me... :) I've tweaked it to a) redirect to intro.html if the referrer is the root domain, and b) corrected some typos in your code. Here's my version:

Code: Select all

if(isset($_SERVER["HTTP_REFERER"]) && $_SERVER["HTTP_REFERER"]!=""){ } else { header("Location:intro.html"); }
As before, this needs to be inserted into your template's index.php file just after the opening php tag. :)
Paul E. Web Designer & Developer / Joomla Guy
http://joomlaguy.co.uk

osnabrueck
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Fri Oct 22, 2010 1:33 pm

Re: Create Splash Page with Joomla 1.5

Post by osnabrueck » Thu Nov 18, 2010 7:21 am

This worked for me:

I wanted a splash page that appears only once, doesn't get linked to within the actual homepage and has a link within itself to the frontpage / the main portion of the site. It also has a different layout than the main site. So I did this:
  • 1. Created a new menu with a menu item called "Enter" (with an alias of "enter")
    2. Set that menu item as default
    3. The main menu has a "Home" item (alias set to "home") which, with SEF links turned on, has an address of http://example.com/home . "Home" is a menu item of "Frontpage blog layout" type.
    4. Made a new template suited for the splash page styling, set it as default
    5. Assigned the old template to the menu that has the main site content (Home, About etc.)
    6. From within the splash page linked to http://example.com/home
And that's it :D

crandaddy
Joomla! Explorer
Joomla! Explorer
Posts: 431
Joined: Wed Jun 14, 2006 8:14 pm
Location: Texas: Dallas/Fort Worth area
Contact:

Re: Create Splash Page with Joomla 1.5

Post by crandaddy » Fri Feb 25, 2011 1:46 am

romannumeralus wrote:I bet this is frustrating, but I came across a solution while searching online from a guy who represents a company called 'Outdoorbranding'. To clarify, once you have done the splash page thing and entered the website, this fix will make the 'home' menu items point to the index.php pages from now on rather than the index.html.

Your splash page index.html should be on the same root where your index.php is.

Open index.php and add the following lines of code in the top of index.php just after <?php

//////////////////Code Help From http://www.EyeConGraffix.com //////////////////////////////

if(isset($_SERVER["HTTP_REFERER"]) && $_SERVER["HTTP_REFERER"]!=”"){ } else { header(”Location:index.html”); }

//////////////////Code Help From http://www.EyeConGraffix.com //////////////////////////////
:)

There you go.

-Wisdom
This works really well. The downside is that no one can link directly to an internal page. If they use a bookmark or type the URL in directly, then they always get the splash page. As long as that is the desired behavior, then this is a good approach.

trusting
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 134
Joined: Tue Feb 10, 2009 4:49 am

Re: Create Splash Page with Joomla 1.5

Post by trusting » Tue Jul 08, 2014 2:57 am

It's an old post and it's for 1.5, but Macsimice's solution of using the unpublished menu works super in Joomla 2.5. Fixed a what was becoming a major headache for me .. and without hacking core files (which are likely to be overwritten with a later upgrade).
Thank you so much!!! :D


Locked

Return to “Templates for Joomla! 1.5”