Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Default name of exported CSV
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Default name of exported CSV
#57624
Default name of exported CSV 1 Year, 5 Months ago Karma: 0
Hi,

First, compliment for ARI Data Tables - it's easy to use, flexible, and does what i need it to do.

However, I have a page with numerous Data Table modules, am hiding the tables with CSS so that only the CSV export buttons are displayed. Trouble is that on click on either one the default file name is always the same:
[menu item] - [site name]

Been looking through files to find where this is set, and the only one where I could find at least something similar is TableTools.min.js, though that doesn't seem to be it.

I should be ok with writing a code snippet for the suggested file name to reflect something more "table specific", but can you please give me a pointer to where (as e.g. in "which file") I can do such customisation?

Many thanks in advance!
The administrator has disabled public write access.
 
#57629
Re:Default name of exported CSV 1 Year, 5 Months ago Karma: 667
Hello,

Currently the extension doesn't support ability to change name of exported file. It is generated in <joomla_directory>/modules/mod_aridatatables/includes/js/widgets/datatable/plugins/tabletools/swf/copy_csv_xls_pdf.swf file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#57630
Re:Default name of exported CSV 1 Year, 5 Months ago Karma: 0
Thanks for the info.

Hmm, I was sure hoping it to be PHP or so, but in fact it's an SWF (no wonder I didn't find any hints when scanning the files, haha!), and obviously there's nothing I can do without the initial FLA.

You may, or may not, agree that it would be great to have one of the following features to make the default file name "better" = more distinct than now. IMHO, it would improve the export feature tremendously, not only but especially when there are multiple modules on a single page.

Suggestions:
Instead of the current [menu item title] - [site name]

either use at least
  • [module title] - [yyyy-mm-dd], where the date is the current timestamp, of course


or better yet
  • have a text field in the "ARI Data Table > Show export buttons" section of the module backend which, if not empty, replaces the current default file name,

  • and offer variables such as timestamp, module title or current user object, for insertion


I can think of even more sophisticated solutions, but I believe something like this would do in the vast majority of cases. And I'm sure it's all in good hands with you, anyway.

As a short-term workaround I'd be glad if I could only "abuse" the table caption field for the purpose, because the caption is used nowhere else in my present case.
However, considering that my client needs several pages with 6 or more sets of export buttons each for different tables, I bet you can see that the present way is far too "generic".

So, it'd be fantastic if you could look into this a bit more and either extend the ARI Data Table option with a "new feature", or help me with implementing a workaround.

This way or the other, thank you greatly for consideration!
Last Edit: 2016/05/08 01:37 By lousyfool.
The administrator has disabled public write access.
 
#57635
Re:Default name of exported CSV 1 Year, 5 Months ago Karma: 667
Thank you for your suggestion. We will improve data export in a future version of the extension.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#57637
Re:Default name of exported CSV 1 Year, 5 Months ago Karma: 0
Hi again,

Seeing your response, here I am right away to say thank you... happy to read your post!

Now, after my indicating that I'm a bit in a hurry with my project, which is getting near its deadline and the client finding the present default naming of files "unacceptable", demanding a "fix", you know what the next question is, lol...: When?

If you'd need - understandably - some time before anything would make it into "a future version", again, a temporary workaround would be ok here, but I fear I'm completely depending on your help with it, in which form ever.

Open for any ideas... and "near future" dates, of course!

Thank you once again!
Last Edit: 2016/05/09 01:13 By lousyfool.
The administrator has disabled public write access.
 
#57640
Re:Default name of exported CSV 1 Year, 5 Months ago Karma: 667
Sorry, but we don't have an exact date when it will be implemented.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12