xLink / CybershadeCMS

[Abandoned][Broke] Repo for CybershadeCMS
1 stars 0 forks source link

Menu System & Routes #31

Open xLink opened 11 years ago

xLink commented 11 years ago

The menu system would benefit from being able to use the routes, aswell as raw URLs, this makes sense now we have the routes in place, and that we can generate urls from said routes too. Only real upgrade i think is to allow for arguments, so maybe a new column with that primarily null.

Should probably also add a function to the Page class to gain access to a menu for output.

Thoughts?

NoelDavies commented 11 years ago

I'd suggest if the route sys is to be used, You'd use an ID from an existing route in the routes table?

xLink commented 11 years ago

normally yeah, but in this instance i dont see why we cant use the route labels, they are unique anyway, and give us much more info from the string