the most important (probably) news. HamsterCMS now fully works under the latest versions of PHP! PHP 8.*
New templates have been delivered. Win3.11 and DOS (as promised just now) have waited for their release.
but this is not the coolest update!
Now it is possible to dress each individual page in its own template!
it’s good when you have the same template but colored differently, this way you can make the sections more beautiful.
for example: your entire site looks like the design of Win 3.11, but the files and news section have different wallpapers, it looks very cool.
how to do it: take and duplicate the same template in another folder. in it we replace the background image. All! We have a new template!
if there are no pictures but there is a background, open the file with the template, look for styles in it, and edit the colors.
for example, the PLAIN template can be colored differently and each page will look different.
adapting old templates to a new version is easy.
creating new ones is even easier. therefore, the code for all templates is now the same, and in the template it is enough to add [[CONTENTS]] where we want to place the content, and [[NAVIGATION]] where the navigation menu will be located. and that's it! you simply rip a template from the Internet and adapt it to your hamster in a few clicks! What could be simpler!
templates that are hard-coded (each page has its own button with a link) can be changed to suit you by editing the names of the pages that you need. inside the names are by default to show the functionality.
The engine itself and the templates are separated - now they are in folders.