Welcome Guest, Not a member yet? Register   Sign In
Routing and controllers
#4

[eluser]aviator2[/eluser]
Andrew, Thank's for your suggestion! But my example was maybe little bit cunfusing Smile I'm not working on blog engine, but something between CMS and a corporate system. More schematic example of URL would be better: example.com/section/category/sub-category/content.html

So this section of URL "section/category/sub-category" is going to be a navigation and again, content.html is identifier.

According to your routing "hack" in routes.php, I should define each piece of navigation to this file. It looks like a "static" solution, not for dynamic navigation.

But again, thanks for post, will use it later!


Messages In This Thread
Routing and controllers - by El Forum - 12-29-2009, 09:27 AM
Routing and controllers - by El Forum - 12-29-2009, 10:01 AM
Routing and controllers - by El Forum - 12-29-2009, 11:48 AM
Routing and controllers - by El Forum - 12-29-2009, 11:49 AM
Routing and controllers - by El Forum - 12-29-2009, 11:51 AM
Routing and controllers - by El Forum - 12-29-2009, 11:54 AM
Routing and controllers - by El Forum - 12-29-2009, 12:05 PM
Routing and controllers - by El Forum - 12-30-2009, 06:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB