So you are a crazy developer who understand everything about MVC etc.
But you work with designers who don’t want to hear about your view-layout-elements structure. All they want is to open static html pages of the site with dreamweaver and synchronize from there.
The solution: for complete static pages don’t use cake’s pages system. Just put mystaticpage.html file in the webroot and make links to it directly. It works just fine.
Designers will just synchronize the webroot and you can focus on the dynamic part.
Now if your top page is static too, you need to create a custom route.
Easy: create cake’s pages view and in the .ctp just use:
include “index.html”
Advertisement