GetSimple Support Forum
Static splash page - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Static splash page (/showthread.php?tid=6838)



Static splash page - lakaroth - 2014-10-20

Hello there, a simple question.

How can i place a static index.html page before enter the website?


RE: Static splash page - shawn_a - 2014-10-20

why?


RE: Static splash page - lakaroth - 2014-10-20

(2014-10-20, 23:31:22)shawn_a Wrote: why?

To do something like:

www.mywebsite.com
(static and cool webpage full screen with video background or slider)
enter the site
(my getsimple installation)


RE: Static splash page - shawn_a - 2014-10-20

Do you want just a splash screen ?
This should be done in GS, using an alternative template inside your theme for that page.

Use index but change the template for that page only, and convert your splash to php, or

If you really want to use an static html, you can make a php template that includes it.

PHP Code:
<?php
// template staticindex
include('staticfile.html')
?>

or just change it to .php, but you will not get any of the headers from gs unless you add the code in the template for get_header, get_footer etc.


RE: Static splash page - lakaroth - 2014-10-21

thank you very much.. i will try!


RE: Static splash page - shawn_a - 2014-10-21

The wiki has some information on creating themes and templates