Veraltet: Erstellung der dynamischen Eigenschaft EasyDiscussPost::$isActivity ist veraltet in /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/easydiscuss.php in Zeile 1560
Veraltet: Erstellung der dynamischen Eigenschaft EasyDiscussPost::$isActivity ist veraltet in /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/easydiscuss.php in Zeile 1560
Veraltet: Erstellung der dynamischen Eigenschaft EasyDiscussPost::$events ist veraltet in /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/post/post.php in Zeile 4049
Für einen schnellen Export aller meiner Tabellen habe ich etwas Code hinzugefügt, um einen "EXPORT" Button zu implementieren.
Bitte fügen Sie diese zur nächsten offiziellen Version hinzu.
bearbeitete Datei: /modern/admin/tmpl/droptables/default.php, um das "Export all" hinzuzufügen
Schaltfläche:
Alle exportieren
Skript:
// Exportiere alle Tabellenfunktion
jQuery(document).ready(function ($) {
$('#export_all').on('click', function(e) {
e.preventDefault();
// Hole alle Tabellen-IDs aus der aktuellen Ansicht
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('Table IDs:', tableIds);
} else {
console.log('No tables found');
}
return false;
- Seite :
- 1
Für diesen Beitrag gibt es noch keine Antworten.
