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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now