Verouderd: Aanmaak van dynamische eigenschap EasyDiscussPost::$isActivity is verouderd in /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/easydiscuss.php op regel 1560
Verouderd: Aanmaak van dynamische eigenschap EasyDiscussPost::$isActivity is verouderd in /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/easydiscuss.php op regel 1560
Verouderd: Aanmaak van dynamische eigenschap EasyDiscussPost::$events is verouderd in /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/post/post.php op regel 4049
Voor een snelle export van al mijn tabellen heb ik wat code toegevoegd om een "EXPORT" knop te implementeren.
Voeg deze toe aan de volgende officiële versie.
bewerkt bestand: /modern/admin/tmpl/droptables/default.php om de "Export all"
knop:
Alles exporteren
Script:
// Voeg functie toe om alle tabellen te exporteren
jQuery(document).ready(function ($) {
$('#export_all').on('click', function(e) {
e.preventDefault();
// Haal alle tabel-ID's op van de huidige weergave
var tableIds = [];
var base_export_url = "index.php?option=com_droptables&task=excel.export&format_excel=xlsx&front=0&onlydata=1&id=";
if (Droptables.listTable) {
for (var catID in Droptables.listTable) {
if (Droptables.listTable.hasOwnProperty(catID)) {
if (typeof Droptables.listTable[catID] !== 'undefined' && Droptables.listTable[catID].length > 0) {
Droptables.listTable[catID].forEach(function(table) {
tableIds.push(table.id);
window.open(base_export_url + table.id, '_blank');
});
}
}
}
console.log('Tabel-ID's:', tableIds);
} else {
console.log('Geen tabellen gevonden');
}
return false;
- Pagina :
- 1
Er zijn nog geen reacties op dit bericht.
