Welcome Guest, Not a member yet? Register   Sign In
Getting the URL to work
#1

[eluser]ptechie[/eluser]
Hello all...

First of all, I am looking at Code Ignitor for the first time... so please excuse the novice questions and help if you can.

I've got a page under the base URL, treatments which works when clicked from the homepage.

I found this code, in app/controllers/index.php

Quote:
function treatments()
{
$this->setPageTitle('Treatments');
$this->load->template('index/treatments.phtml', $this->data);
}

Now, there is a link on this page (treatments) that links to <base url>/cancer

I've got the cancer.phtml file stored in app/views/index/ (that is where the treatments.phtml is stored)

ISSUE: The page <base url>/cancer does not show up, I get a 404.

HELP!

Thanks


Messages In This Thread
Getting the URL to work - by El Forum - 03-19-2008, 11:50 AM
Getting the URL to work - by El Forum - 03-19-2008, 12:01 PM
Getting the URL to work - by El Forum - 03-19-2008, 12:11 PM
Getting the URL to work - by El Forum - 03-19-2008, 12:27 PM
Getting the URL to work - by El Forum - 03-19-2008, 12:31 PM
Getting the URL to work - by El Forum - 03-19-2008, 02:19 PM
Getting the URL to work - by El Forum - 03-19-2008, 05:13 PM
Getting the URL to work - by El Forum - 03-19-2008, 05:36 PM
Getting the URL to work - by El Forum - 03-19-2008, 07:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB