Pandao CMS pro - 4.2.0 (Jan 24, 2020)
Replace the following files and execute the queries in your SQL manager to perform the updates.
NEW FEATURES/IMPROVEMENTS
Possibility to show content for specific languages only
/common/db.sql
>> new column "langs" in tables pm_article and pm_page:
ALTER TABLE pm_article ADD show_langs TEXT NULL; ALTER TABLE pm_article ADD hide_langs TEXT NULL; ALTER TABLE pm_page ADD show_langs TEXT NULL; ALTER TABLE pm_page ADD hide_langs TEXT NULL;
/admin/modules/article/config.xml
/admin/modules/page/config.xml
/admin/includes/langs/*.ini
>> New entries "SHOW_IN_LANG" and "HIDE_IN_LANG"
/templates/default/models/page.php
/templates/default/models/get_articles.php
New section "Discover also" under an article
/common/db.sql
>> New entries in the table pm_text (! as usual, replace with your translation and lang ids):
INSERT INTO pm_text (id, lang, name, value) VALUES (67, 1, 'DISCOVER_ALSO', 'Découvrez aussi'), (67, 2, 'DISCOVER_ALSO', 'Discover also'), (67, 3, 'DISCOVER_ALSO', 'Discover also');
/templates/default/models/article.php
FIXED ISSUES
Datetime issue
/admin/modules/default/form.php
/admin/includes/fn_form.php
/admin/includes/fn_list.php