Remove Export and Record Count

R

Roach

Guest
I would like to remove the Export to CSV link, record count and records found from all pages. Can anyone help me out?
 
D

Debbie S

Guest
Roach

To remove export to csv, change the following value in config.php to "0":

// enable export to csv for excel feature (0|1)
$export_to_csv_feature = 1;

For the record count stuff, edit lines as described for files listed:

index.php:
comment out line 457:
// txt_out("<br>".$results_number." ".$normal_messages_ar["records_found"], "n_results_found");

footer.php:
Delete/comment this part of line 66:
<?php echo '<font class="total_records">('.$normal_messages_ar["total_records"].':'.$records_number.')</font>'; ?>

footer_index.php:
Delete/comment this part of line 52:
<?php echo $normal_messages_ar["number_records"].$records_number; ?>)<br><br>

That should do it.
Debbie
(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
 
R

Roach

Guest
Thanks Deb, you are the greatest! Don't know how you keep up with us all...
 
Top