[solved] nested sets and hmvc |
[eluser]Unknown[/eluser]
Hello, I have a problem (really ?). I'm trying to use nested sets (http://codeigniter.com/wiki/Nested_sets/) with hmvc. I created my module like this (using the nested-sets example files): modules --categories -----controllers -------categories.php -----views --------categories_view.php -----models --------categories_model.php The view for edit/modify categories are rendered correctly but not filled, The added categories is present in the db but doesn't appears in the select form or list. I've tried to extend MX_Controller but nothing. Is there someone who has luck with this ? Codeigniter is good ! Hmvc seems good to me (don't understand all) nested sets it really cool !
[eluser]InsiteFX[/eluser]
Code: $this->load->vars($data); InsiteFX
[eluser]Unknown[/eluser]
Thanks for your answer, but the problem came from false left-right values for the root category node: 0-1 It must be: 1-2 The query to the db returned empty set. Setting them manually and all is done |
Welcome Guest, Not a member yet? Register Sign In |