Placido-Shop v-3.0.0 #6
Raf-sns
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Placido-Shop V3 is released!
☆☆☆ ! IMPORTANT UPDATE INFORMATIONS ! ☆☆☆
After carrying out this update,
YOUR APPLICATION WILL NO LONGER WORK!
You must open the API/default_constants.php file and modify:
1/ const ADMIN_FOLDER = "put the name of your administration folder here";
2/ const HOST = "the domain name or subdomain of the application without https:// or www.";
! important: ONLY modify these two values, leave the rest as is.
3/ rename the API/default_constants.php file to API/constants.php
(or copy it to the same folder with this new name).
4/ reconnect to your administration.
5/ Click the "Check for Updates" button and then update to the latest version again.
6/ Check that the information in the API/api.json file is indeed reported in
the API/constants.php file, if this is the case,
you can delete the API/api.json file which will no longer be used by the application.
If this is not the case, we advise you to go through the "Settings" tab and
manage the settings for your application here.
! important : Be sure to update your translation files for the back-end and the front-end!
! important : Table 'tokens' must be updated with 'user_id' index: unique
! important : Table 'admins' must be updated with 'id' auto-increment: true
you can delete the PHP/process.php file.
☆☆☆ API ☆☆☆
☆☆☆ FRONTEND ☆☆☆
The .htaccess file has been updated
Added : management of the meta name="robots" directive
(templates/BASE/base.html)
To manage this you can toggle between allowing search engines
or disallowing them in the "Settings" tab of the site administration
Modified : <meta name="viewport" ...;maximum-scale=5.0 />
(templates/BASE/base.html)
☆☆☆ BACKEND ☆☆☆
A 'token' class was added to check the validity of the security token,
before this was managed by the 'program' class
! important : Table 'tokens' must be updated with 'user_id' index: unique
You can register multiple administrators for site management
Notifications of new sales are sent to all site administrators
! important : Table 'admins' must be updated with 'id' auto-increment: true
The notification emails have been debugged,
now it is the title of the website that is sent in the "From" header
Added : <meta name="robots" "noindex, nofollow">
for the base backend template ([ADMIN_FOLDER]/templates/base.html)
Modified : <meta name="viewport" ...;maximum-scale=5.0 />
([ADMIN_FOLDER]/templates/base.html)
Added : <meta http-equiv="Content-Security-Policy" ... />
([ADMIN_FOLDER]/templates/base.html && [ADMIN_FOLDER]/templates/CSP.html)
A "Rebuild the sitemap" tab has been added in "Settings":
It allows you to completely rebuild the sitemap.xml file with all online products,
all categories as well as all static pages of your website.
A new 'sitemap' class has been added in [ADMIN_FOLDER]/PHP/sitemap.php
Note : functions [ADMIN_FOLDER]/PHP/tools::add to sitemap();
and [ADMIN_FOLDER]/PHP/tools::suppr_to_sitemap() were been deleted.
An application backup function has been added to the "Update" tab.
It allows you to download a .zip file containing all the application
folders and files as well as a copy of the database.
A text editor has been added to edit static pages on your site,
however it may produce erroneous code, we are still testing
this so use it with caution.
This editor will allow you to place small images,
tables and also videos from Youtube.
It will also allow you to adjust the size of the text and define colors.
We strongly advise you to check the HTML rendering performed by
the text editor or have it checked/corrected by a developer.
☆☆☆ BACKEND / INSTALL ☆☆☆
record robots.txt with the good host for Sitemap url.
See: [ADMIN_FOLDER]/PHP/tools.php -> tools::record_robots_txt( $host, $context );
This discussion was created from the release Placido-Shop v-3.0.0.
Beta Was this translation helpful? Give feedback.
All reactions