Welcome Guest, Not a member yet? Register   Sign In
Routes and simple craigslist esque categories
#7

[eluser]MT206[/eluser]
Great. This is exactly what I needed. I eliminated the where statement:
Code:
$this->db->where('child.url_name', 'stovetops');
because I want to return all the results for the parent.

Now I just have to hook this into the posts and I will have a fully functioning category-post system. I think just adding a foreign key referring to the category id in the post table and having some validation that makes sure that people don't post in the top level category will suit what I need just fine.

Thank you both for all your help.


Messages In This Thread
Routes and simple craigslist esque categories - by El Forum - 03-06-2010, 01:44 AM
Routes and simple craigslist esque categories - by El Forum - 03-06-2010, 03:05 AM
Routes and simple craigslist esque categories - by El Forum - 03-06-2010, 12:24 PM
Routes and simple craigslist esque categories - by El Forum - 03-06-2010, 12:44 PM
Routes and simple craigslist esque categories - by El Forum - 03-07-2010, 02:38 AM
Routes and simple craigslist esque categories - by El Forum - 03-07-2010, 03:12 AM
Routes and simple craigslist esque categories - by El Forum - 03-08-2010, 01:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB