add to config/site.php:

ini_set('display_startup_errors', 1);
ini_set('display_errors', 1);

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


body {
	height: auto; 
	/* customize_body-background */ background-color: #dff5ff; /* customize_body-background */

concrete5.6 Unable to install database: Invalid default value for 'avDateAdded'

root@radeff-OptiPlex-780:/etc/mysql# vi my.cnf
port = 3306
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');

Dashboard > System & Settings > Environment > Debug Settings

Dashboard > Reports > Logs


exemples block external_form : /concrete/blocks/external_form/forms (doc

les placer ensuite dans :

  • info/concrete5/c56/homepage.txt
  • Dernière modification : 2023/09/25 06:14
  • de radeff