Welcome Guest, Not a member yet? Register   Sign In
How to Display Cintents of Index instead of Welcome
#1

[eluser]Unknown[/eluser]
Hi,

I'm a CI newbie and have uploaded the first batch if views, controllers and models. WhenI borrows the site, the generic CI Welcome page comes up. How can I change this to display my index page instead?

Thanks,
Sid
#2

[eluser]TWP Marketing[/eluser]
edit the applications->config->routes.php file and change the name of your default controller

And it doesn't hurt to read the entire User Guide first. Nobody does this when they get started, but you will want to do this, really. REALLY!
#3

[eluser]Unknown[/eluser]
Thanks for your reply. I modified routes.php to direct to my Index.php default controller instead of welcome.php. This resulted in a HTTP 404 error. So, I changed routes.php so that it pointed back to welcome.php, and just modified welcome.php to point to my Login view.

Thanks,
Sid




Theme © iAndrew 2016 - Forum software by © MyBB