Welcome Guest, Not a member yet? Register   Sign In
Routeing Help
#1

[eluser]methos112[/eluser]
Greetings my fellow CI developers. I have been recently tasked to make changes to our website. I've been able to successfully create a test area before i can break anything.

Under the view folder I have:
Code:
<div class="apt_right">
   <h3><a href="&lt;?=$apartment-&gt;url;?&gt;" title="&lt;?=$apartment-&gt;keywords;?&gt;">&lt;?=$apartment->name;?&gt;</a></h3>
   <p>&lt;?=$apartment->address;?&gt;</p>
   <p><em class="tollfree">&lt;?=$apartment->tollfree;?&gt;</em></p>
   <p><em class="tollfree">&lt;?=$apartment->phone;?&gt;</em></p>
  </div>

I've determined that
Code:
&lt;?=$apartment->url;?&gt;
is referring to the field in my db. However when I click on the link (on the test page i get a 404), on the live site it is up and running perfectly.

In routes.php, I noticed that the 'default_controller' is set to 'home' and an a path for one of the links is
Code:
$route['apg3'] = 'home/ae/3';


Messages In This Thread
Routeing Help - by El Forum - 05-05-2012, 06:04 PM
Routeing Help - by El Forum - 05-05-2012, 06:10 PM
Routeing Help - by El Forum - 05-05-2012, 06:21 PM
Routeing Help - by El Forum - 05-05-2012, 08:33 PM
Routeing Help - by El Forum - 05-06-2012, 07:54 AM
Routeing Help - by El Forum - 05-06-2012, 12:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB