Ceci est une ancienne révision du document !
Concrete5.6
Doc c5.6
http://legacy-documentation.concrete5.org/ Documentation c5.6
Editeur Wysiwyg (c5.6)
astuce pour insérer des styles css disponibles dans le sélecteur de l'éditeur:
- ajouter le style dans votre template, fichier typography.css
- recharger la page en édition
exemple:
body { height: auto; /* customize_body-background */ background-color: #dff5ff; /* customize_body-background */ }
Thèmes c5.6
http://www.concrete5.org/marketplace/themes/
Tips & Tricks for developping c5.6
https://www.concrete5.org/documentation/developers/5.6/
Astuces pour le multilingue sur c5.6
php7: https://github.com/concrete5/concrete5-legacy/pull/1955
datatable
https://github.com/cottley/concrete5-jquery-datatables/tree/master/jquery_datatables/blocks (voir ses autres packages)
Packages
Addons/plugin for c5.6
http://www.concrete5.org/marketplace/addons/
+++ DesignerContent: "meta-package" top!
c5 Installation / Configuration
c5.9 : Multisite, Boards and containers + thème Atomik
Concrete5: liste de page avec vignettes
concretecms: installation tips / notes d'installation
Documentation officielle concretecms
howto fix bug 8.5.6 - uniquement pour les versions multilingues
Marquee / Ticker / liste déroulante / liste défilante
Menu horizontal déroulant: amiantMenu
Migration concrete5.6 vers Concrete5.8 / 9 (upgrade/update)
sendmail() concretecms faux bug
bug install
concrete5.6 Unable to install database: Invalid default value for 'avDateAdded'
root@radeff-OptiPlex-780:/etc/mysql# vi my.cnf [mysqld] port = 3306 sql_mode=NO_ENGINE_SUBSTITUTION
db
The database object
You can load the active database object within any function or class by running the following command:
$db= Loader::db();
This makes the database object available in our current scope, meaning that we can now fetch and manipulate data.
Connecting to other databases
If you need to connect to a different database, you can switch out the active database object on the fly:
$db = Loader::db( 'newserver', 'newuser', 'newpassword', 'newdatabase', true);
When you’re done working with the other database, return to your default concrete5 database by clearing out the connection details:
$db = Loader::db(null, null, null, null, true);
$db->Execute('select * from TestTable');
Logging and Debugging
https://www.concrete5.org/documentation/developers/5.6/introduction/logging-and-debugging
Dashboard > System & Settings > Environment > Debug Settings
Dashboard > Reports > Logs
Debug mode MySQL
Database::setDebug(true);