Hey all,
I have searched the internet and have found no solution.
I have downloaded loads of CMS's created using the MVC framework to no avail.
So, in desperation, I come here.
I am currently creating a CMS using the MVC framework and so far everything is working out fine.
I have now gotten to the stage of serving up the pages that are created in the admin area and I have hit a brick wall.
I have a controller called CmsController, which get's the URLRefferer and find's it in the existing pages. If it doesn't exist, I returned a 404, but if it does I serve up the content.
My issue is that I want to return the old URL and serve the content to that.
Obviously these pages do not exist, they are dynamic, so they have no supporting Controllers. Does anyone know how I can still serve up the content to a ficticious URL?
cheers,
r3plica
I have searched the internet and have found no solution.
I have downloaded loads of CMS's created using the MVC framework to no avail.
So, in desperation, I come here.
I am currently creating a CMS using the MVC framework and so far everything is working out fine.
I have now gotten to the stage of serving up the pages that are created in the admin area and I have hit a brick wall.
I have a controller called CmsController, which get's the URLRefferer and find's it in the existing pages. If it doesn't exist, I returned a 404, but if it does I serve up the content.
My issue is that I want to return the old URL and serve the content to that.
Obviously these pages do not exist, they are dynamic, so they have no supporting Controllers. Does anyone know how I can still serve up the content to a ficticious URL?
cheers,
r3plica