codeigniter category -> subcategory -> subsubcategory system

后端 未结 3 1831
深忆病人
深忆病人 2021-02-04 21:12

ok, so i\'m very new to codeigniter and from what i have learned by now i can\'t figure out how can i create a dynamic category -> subcategory -> subsub

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-04 22:11

    you could:

    create controller category, reroute some URIs to it and use it's internal logic to parse it's arguments to pick whatever article client requested:

    About URLs: http://codeigniter.com/user_guide/general/urls.html

    About URI routing: http://codeigniter.com/user_guide/general/routing.html

提交回复
热议问题