- Member | 1
I have a CMS that uses a .htaccess file to redirect everything to index.php in the root of my website.
Lately, I have the feeling that the plugin system of the CMS I'm using is working against me, instead of helping me out. Therefore, I'm trying to switch to Nette, using it as my primary framework and falling back to the CMS when no controller could be found that matches the route.
How would I go about this? Do I write a ‘default’-controller that forwards to my CMS when no other routes match the URL?
And how can I integrate my Nette views with the content-area of my CMS-template? Include the index.php in the root of my website in every view? Or is there a more elegant solution?
With kind regards and many thanks,
Werner de Groot