Improvements: Pages management (core module)If you are using TomatoCMS 2.0.7 or older version, creating pages is not easy task.
For instance, if you are not programmer, maybe you don't understand what the page name and its URL mean, especially in case the URL contains the regular expression:

But, it's not the final challenge. It's not easy for you to create a new page because at this page, you face with unfamiliar concept such as parameters, their names and orders:

We also know about your problem. So, in next 2.0.7.1 version, creating page is very simple:

Listing of pages also make you comfortable. You can edit, delete or edit layout if you want:
For anyone who know/want to know how TomatoCMS worksI myself are really happy with this improvement.
Before 2.0.7.1, the system works as follow:
- Get the request URL
- The LayoutLoader view helper try to determine the page user want to go by finding the page taken from
/application/config/layout.ini that matches with request URL
- Load the layout based on the page name
In back-end, creating pages (with name, parameters) generates the
/application/config/layout.ini file.
Clearly, what you see in
/application/config/layout.ini are the routes. So, from 2.0.7.1, the system work based on the routes.
The end-users don't have to care about the page names and its parameters any more. Also, we don't need
layout.ini file.
If you want to see how it work under the hood, you can look at the LayoutLoader view helper (/libraries/TomatoCMS/View/Helper/LayoutLoader.php)
(To be continued ...)