The Elearning Community • Export Function Report Button (FIX)
Page 1 of 1

Export Function Report Button (FIX)

Posted: Wed Nov 27, 2013 12:31 am
by murat
This problem was solved by robykirk.(Thank you :) )

1) doceboCore\views\dashboard\show.php

Changed the following code (around line 140):

Code: Select all

echo Form::getButton('export_report_created', false, Lang::t('_EXPORT', 'standard'), false, '', true, false);
with the code:

Code: Select all

//echo Form::getButton('export_report_created', false, Lang::t('_EXPORT', 'standard'), false, '', true, false);
echo Form::getButton('export_report_created', 'export_report_created', Lang::t('_EXPORT', 'standard'), false, '', false);
2) doceboCore\views\dashboard\export_dialog.php

Changed the following code (around line 13):

Code: Select all

  Lang::t('_EXPORT_CSV', 'report') => 'csv',
      Lang::t('_EXPORT_XLS', 'report') => 'xls'
   ),
   'csv'
with the code:

Code: Select all

   Lang::t('_EXPORT_HTML', 'report') => 'htm',
    Lang::t('_EXPORT_CSV', 'report') => 'csv',
    Lang::t('_EXPORT_XLS', 'report') => 'xls'
   ),
   'htm'

Note:
I could not find the solution of this problem in English.

For this reason I have written here from taking the italian forum.

link to the original topic:
viewtopic.php?f=5&t=50&p=199&hilit=button#p199

Re: Export Function Report Button (FIX)

Posted: Wed Nov 27, 2013 10:16 am
by max
Thanks Murat for taking the time to rewrite the fix in English

We very very much appreciate this effort!