Solved

How to get Joomla site to default to a coming soon page and still keep the site on in the background ?

Posted on 2011-03-02
5
808 Views
Last Modified: 2012-05-11
Hello, I had found a workaround by having a site www.mydomain.com go to an index.html where there is just a coming soon graphic on index.html. This works since the hierarchy of pages shown first go as follows: index.html  then index.php when the domain url is entered.

Of course, Index.php is is still active in the background where I and the client can still log in as we do construction, however whenever I click on home in the menubar while in the site it goes to the splash page index.html and not index.php. is there a way around this?

Thanks in advance.
0
Comment
Question by:colonelblue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 12

Accepted Solution

by:
Panagiotis S earned 500 total points
ID: 35019457
at modules/mod_mainmenu/helper.php!

change
$tmp->url = JURI::base();
to
$tmp->url = 'index.php';
0
 
LVL 10

Expert Comment

by:fearialtog
ID: 35021288
Simple way

In global configuration set the site to offline
Site Offline Yes and save

Note: put what ever message you want to appear to the public in the offline message box
You will still be able to view your work by logging in but the public will not be able to view the site.


0
 

Author Comment

by:colonelblue
ID: 35022301
@panagiotiss : Thank you I will check that out.

@panagiotiss : Thank you however they would only want a splash page of sort with a graphic and have no sign of a login form or that the site is even under construction despite that it is.
0
 
LVL 3

Expert Comment

by:thomasd04
ID: 35023398
Hi panagiotiss. I would recommend installing or moving the Joomla site to a folder (like /cms) and leave the index.html in the public_html root. Do whatever tests or changes you need to the website and move it back to the root when it's ready for production. The only changes required for moving the site between a folder and the root is in the config file. As long as you're using relative links to images during the creation of the site, you won't have to configure anything else when moving the site back and forth.

Good luck!
0
 

Author Comment

by:colonelblue
ID: 35023849
Thank you everyone however panagiotiss got the result exactly as I needed.
Regards and thanks to all.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question