Forældet: Oprettelse af dynamisk egenskab EasyDiscussPost::$isActivity er forældet i /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/easydiscuss.php på linje 1560
Forældet: Oprettelse af dynamisk egenskab EasyDiscussPost::$isActivity er forældet i /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/easydiscuss.php på linje 1560
Forældet: Oprettelse af dynamisk egenskab EasyDiscussPost::$events er forældet i /var/www/staging.joomunited.com/public_html/administrator/components/com_easydiscuss/includes/post/post.php på linje 4049
For en hurtig eksport af alle mine tabeller har jeg tilføjet noget kode for at implementere en "EXPORT" knap.
Tilføj venligst disse til den næste officielle version.
redigeret fil: /modern/admin/tmpl/droptables/default.php for at tilføje "Export all"
knap:
Eksporter alle
Skript:
// Tilføj funktion til at eksportere alle tabeller
jQuery(document).ready(function ($) {
$('#export_all').on('click', function(e) {
e.preventDefault();
// Hent alle tabel-ID'er fra den aktuelle visning
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'er:', tableIds);
} else {
console.log('Ingen tabeller fundet');
}
return false;
- Side :
- 1
Der er ingen svar på dette indlæg endnu.
