csv import feature

prettem

Member
Hello,
is it possible to make an import button (csv feature) only in one special table (results_grid)?
I used this in config_custom.php, but the import button don't appear

$import_from_csv_feature = 0;
if (isset($_GET['tablename']) && $_GET['tablename'] === 'artikel_import'){
$import_from_csv_feature = 1;
#$csv_separator = ">";
}

Thank you for your hints
Manuel

About/upgrade​

DaDaBIK™ is a product conceived and developed by Eugenio Tacchini
Copyright © 2001-2023 Eugenio Tacchini
Proudly ❤️ made in Emilia
dadabik.com

Your current DaDaBIK version​

You are using DaDaBIK version 11.10-Elba enterprise, installed on 02.09.2023 (installation code: 1907564f2723317ba7), the latest version of DaDaBIK is 11.12-Elba released on 30.11.2023

You are not running the last release of DaDaBIK, the release you are running might have bugs and security holes, see the official change log for further information. You can upgrade DaDaBIK here.

In case you want to upgrade to a more powerful edition (from Pro to Enterprise/Platinum, from Enterprise to Platinum) please contact us.

System info​

PHP Version: 8.1.2-1ubuntu2.14

mysql version: 5.5.5-10.6.16-MariaDB-0ubuntu0.22.04.1

Web server: nginx/1.18.0

Client: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 OPR/95.0.0.0
 

eugenio

Administrator
Staff member
This should work, double if the name of the table is artikel_import (case sensitive) and if the current user has insert permissions on the table.

PS $csv_separator is related to CSV export, not import
 
Top