Is it possible to rename from blog.php to (for instance) press.php?
Renaming the blueprint and the content-folder works, but renaming blog.txt or blog.php sends and error.
Is it possible to rename from blog.php to (for instance) press.php?
Renaming the blueprint and the content-folder works, but renaming blog.txt or blog.php sends and error.
You are talking about the starterkit, right ?
The ‘blog.php’ template uses a ‘blog.php’ controller, you’ll also have to rename this one.
(also, don’t forget to set c::set('debug', true); in your config file, it’ll give you some clues about where the code goes nuts)
Hi and thanks. Yes, I am talking about starterkit and haven’t noticed the controller.
Text file and corresponding template, controller, and model must always have the same file name. In case of a multi-language website, you also have to make sure that the text files include the language extensions in the file name.