PizzaPie Posted January 9, 2011 Share Posted January 9, 2011 Hi, I tried to search but I wasn't able to find anything about it, so I' m asking :-)Is it possible to add a splash page before displaying the index.php of prestashop?Basically my site is made of two big parent categories (like dog-food & cat-food) with many subcategories, and I'd like to have a splash page with 2 direct links to both parent category page...Tanks in advance :-D Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 Yes, you could create an index.html file in the root directory, which will override index.php when going to http://www.yoursite.com. You could put a big image of cat food and dog food and provide a link to those categories in PrestaShop. 1 Link to comment Share on other sites More sharing options...
PizzaPie Posted January 10, 2011 Author Share Posted January 10, 2011 Tankyou, more simple than I tought :-DEDIT: Edited topic's title. Link to comment Share on other sites More sharing options...
PizzaPie Posted January 13, 2011 Author Share Posted January 13, 2011 I noticed a "little" problem after adding index.html as splash page...Now, everytime I try to access "HOME" I get the splash page, not my home page...Is there a little trick to display the splash page only once? Link to comment Share on other sites More sharing options...
rocky Posted January 14, 2011 Share Posted January 14, 2011 Change line 47 of header.tpl (in PrestaShop v1.3.5) from: to: This will make the "Home" link go to index.php instead of index.html. Link to comment Share on other sites More sharing options...
PizzaPie Posted January 14, 2011 Author Share Posted January 14, 2011 easy and effective!thank you very much :-D Link to comment Share on other sites More sharing options...
rocky Posted January 14, 2011 Share Posted January 14, 2011 Great. Please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
Ricky_v Posted May 20, 2011 Share Posted May 20, 2011 HelloI'm trying on prestashop 1.4.1 this for a splashbut index.html does not loadonly the index.phpon main domain site www.example.netIs it due to my server that index.html does not load before index.php ?thanks Link to comment Share on other sites More sharing options...
steviger Posted March 22, 2012 Share Posted March 22, 2012 I'm using 1.4.5 and I guess it'll work the same. However it seems that Rocky's answer are two and the same lines. And why the pretty print? Could you give me the right clue? Cheers, Steven Link to comment Share on other sites More sharing options...
yessie Posted September 5, 2012 Share Posted September 5, 2012 On 1/14/2011 at 8:00 AM, rocky said: Change line 47 of header.tpl (in PrestaShop v1.3.5) from: [b] [url="{$base_dir}"][img={$img_ps_dir}logo.jpg][/url][/b] to: [b] [url="{$base_dir}index.php"][img={$img_ps_dir}logo.jpg][/url][/b] This will make the "Home" link go to index.php instead of index.html. could u show it again? Link to comment Share on other sites More sharing options...
BenLivingston Posted June 19, 2013 Share Posted June 19, 2013 In order to create a splash page this way, one should change every occurrence of {$base_dir} (that isn't followed by a question mark or filename) in all template files--perhaps around two dozen occurrences. Also, some plugins might generate {$base_dir} links, and those will need to be updated. It's not exactly a simple solution, but it can be done. Link to comment Share on other sites More sharing options...
Kimsion Posted June 21, 2013 Share Posted June 21, 2013 I have a problem but after I upload the file "index.html" to the server, I found I cannot see the original index.php again. even I type www.xxx.com/index.php, I only can see the "index.html" how we can see the index.php (shop first page again..... ) Link to comment Share on other sites More sharing options...
WStefanko Posted October 30, 2013 Share Posted October 30, 2013 Kimsion, did you come up with a solution to this problem? I am having the same issue. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now