General update: data_connect, classicmenu plugin update, categories fix and update

Main changes include:

- data_connect.php update. Script now exits if session time limit is reached, not depending on ini_set() behaviour only. User gets redirected to login screen.
- Classicmenu plugin is also updated, using some javascript to add the menu in the page.(proper for a plugin)
- pageResults() function is improved to avoid including similar or unwanted values in results per page menu. Some more functions have also been improved in log.php.
- post.php change, including new file prepost.php in every post permanent link page.Categories fix Unlike 1.0, in MonoCMS 2.0 categories did not have a name.txt file to refer to when searching for the category name and was relying on folder name only. This caused failure to load a category page when the two names didn't match. Now a new categories.xmlfile is introduced to save all info needed about categories.(monofiles/filesinfo/categories.xml) A new file is also introduced for categories as in the posts case, precat.php.
Note: This is a general update, please update home cataloque files.

Date fix

- New version with minor aesthetic changes.
- A small change in core files to fix the date still appearing when turned off from the settings.

MonoCMS 2.0

Here is the first MonoCMS of 2021, finally available for download. Some of the changes and new features include:
New custom session
Search filters in posts
New classes and functions
A sidemenu, as the default navigation menu
Safety improvements
Easily build and include plugins and extensions
New xml files, like 'dates.xml'
Asynchronous javascript used instead of an iframe when saving a post or page
Theme and Navigation pages are removed (for now at least).

Some old elements are also gone. Nothing against iframes, but the iframe to load a user icon from a folder, in settings, is also removed and replaced by an input element. See also the updated documentation page.

Refreshing website

A new version is almost here so some step by step changes are going to be made to the website as well in the next days. Some old blog posts are going to be removed and some pages as well, like the demo and the plugins page. Stay tuned.
 1 2  [3]