| File | Date | Author | Commit |
|---|---|---|---|
| .github | 2021-03-25 |
|
[a63d7a] Update issue templates |
| cms | 2021-06-14 |
|
[a120d8] remove each functions for php8.0 |
| data | 2021-06-14 |
|
[a120d8] remove each functions for php8.0 |
| files | 2021-03-15 |
|
[c07345] admin viewport |
| media | 2021-03-08 |
|
[a31c6f] disable php access to media & file folders |
| templates | 2021-06-14 |
|
[a120d8] remove each functions for php8.0 |
| .htaccess | 2021-03-06 |
|
[08b728] RiteCMS 3.0.0 |
| admin.php | 2021-03-06 |
|
[08b728] RiteCMS 3.0.0 |
| index.php | 2021-03-06 |
|
[08b728] RiteCMS 3.0.0 |
| license_gpl_v3.txt | 2021-03-06 |
|
[08b728] RiteCMS 3.0.0 |
| readme.md | 2021-03-11 |
|
[e9c353] update readme.md |
By Lucas Zhuang
CMS based on PHP and Sqlite (or MySQL optional). Version 3.X is a major update with lots of changes. Upgrade from version 2.x is not recommended but doable.
Major updates of version 3.0.0 released on Feb 23, 2021:
1. Major architectural change. The CMS engine is now totally separate from the main website. It is now easier to upgrade and deploy multiple websites with one central CMS folder location. Just create a symbolic link to the real CMS folder location.
2. Compatible with PHP 7
3. Upgraded to TinyMCE version 5.X: https://www.tiny.cloud/
4. Templates rewritten in CSS3 with flexbox etc
5. Builtin CAPTCHA module SECURIMAGE. https://github.com/dapphp/securimage/blob/master/securimage.php
6. A simple image slideshow/carousal function in Javascript. To use it, in sidebar_one, either paste the following. Change your src location accordingly. Notice total number of the dot class tags should match the total pictures.
<div id="slideshow">
<div class="mySlides"><img src="media/myslide1.png"><div class="text">text1</div></div>
<div class="mySlides"><img src="media/myslide2.png"><div class="text">text2</div></div>
<div class="mySlides"><img src="media/myslide3.png"><div class="text">text3</div></div>
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<div id="slideshow_dots">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
or use the built-in function:
[function:slideshow('"text1"::media/slide1.png||"text2"::media/slide2.png||"text3"::media/slide3.png)]
This product is distributed under the GPL. Please read through the file
<license_gpl_v3.txt> for more informations about this license.</license_gpl_v3.txt>
server {
server_name ritecms.com;
listen 80;
root /var/www/public_html/ritecms.com;
index index.php index.htm index.html;
error_log /var/www/log/rite_error.log;
access_log /var/www/log/rite_access_error.log;
location ~ \.m$ {if (!-e $request_filename){rewrite ^/(.*)$ /index.php?mobile=true&qs=$1 last;break;}}
location / {if (!-e $request_filename){rewrite ^/(.*)$ /index.php?qs=$1 last;break;}}
location /data {deny all;return 404;}
location ~ \.php$ {include snippets/fastcgi-php.conf;fastcgi_pass unix:/run/php/php7.3-fpm.sock;}
}
No MySQL data initialization is provided. Please use the Sqlite version for reference located in the data folder.
5. to login to the backend, please use the new entry script at the root folder: admin.php. Default password is admin/admin.
updates since V3.0
Major updates to V2.X includes:
To install, please follow readme.md or visit https://ritecms.com
The good news is that database structure stays roughly the same. The 'more' column initially reserved for news pages is now related.
Enjoy
Lucas
2020.3.3
Previous versions can be found in SourceForge.
https://sourceforge.net/projects/ritecms/