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
806 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
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
paypal ipn to mysql 3 38
I wonder how people fake their ip address? 3 39
PHP AJAX JSON 2 61
Showing random records from database 10 37
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 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