1. Go to this page and download the library: Download qc/qc-widgets library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
qc / qc-widgets example snippets
mod{
qcWidgets{
//All limits have a default set to 25 if not set.
lastCreatedPages{
limit = 0
}
lastModifiedPages{
limit = 0
}
workspaceProviderLinks{
limit = 0
}
pagesWithoutModification{
limit = 0
numberOfMonths = 3
}
recentlyModifiedContent{
limit = 0
}
listOfmembers{
// When value is 0 (zero), the Widget will dig into sub-groups
dontLookintoSubgroups = 1
}
numberOfRecordsByType{
fromTable = pages, tt_content, be_sessions, sys_redirect, be_users
// All the options accept only 0 or 1, except the totalRecordsByNumberOfDays option
columns {
totalRecords = 1
totalRecordsForTheLast24h = 1
totalRecordsByNumberOfDays = 365
}
// This filters will be applied on all tables selected in the 'fromTable' option
filter {
excludeDisabledItems = 1
excludeHiddenItems = 1
}
}
}
}
mod{
qcWidgets{
//Toutes les limites sont à 25 par défaut.
lastCreatedPages{
limit = 0
}
lastModifiedPages{
limit = 0
}
workspaceProviderLinks{
limit = 0
}
pagesWithoutModification{
limit = 0
numberOfMonths = 3
}
recentlyModifiedContent{
limit = 0
}
listOfmembers{
// Si cette valeur est à 0 (zéro), le widget va rechercher les sous-groupes
dontLookintoSubgroups = 1
}
numberOfRecordsByType{
fromTable = pages, tt_content
// Toutes les options n'acceptent que 0 ou 1, sauf l'option totalRecordsByNumberOfDays
columns {
totalRecords = 1
totalRecordsForTheLast24h = 1
totalRecordsByNumberOfDays = 365
}
// Ces filtres seront appliqués sur toutes les tables sélectionnés dans l'option 'fromTable'
filter {
excludeDisabledItems = 1
excludeHiddenItems = 1
}
}
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.