KETSE / casebox

Casebox: Secure all your information and team communication in one place
https://www.casebox.org
216 stars 120 forks source link

case details export #26

Open testingbykumar opened 8 years ago

testingbykumar commented 8 years ago

I want to create export case template details. Example are shown in the screenshot. casebox demo

how to create export for each case and assigned users for particular case ? exportcb

Help me to share code for this. In index page : It has switch case to get request and Here it had code for folder casebox/httpsdocs/plugins/Export/Instance.php

Thanks in advance

oburlaca commented 8 years ago

Do you need the custom columns of your content type (View, Session etc) in your Excel ? You can export from casebox, first you should define the list of columns to be displayed in the grid.

Could you please copy&paste your issue as a github issue? would be easier for us to track. I'll update the docs and reply on github when it's ready

testingbykumar commented 8 years ago

Do you need the custom columns of your content type (View, Session etc) in your Excel ? Yes. Client want to see as excel to whom this case is assign , hall name, location,etc. Existing export can be there as it is. In addition to it we can have export based on case. It can be any where in the screen. May be child window.

copy&paste your issue as a github issue: Sorry, I am new to github. Let me how to do this.

Thanks in advance.

testingbykumar commented 8 years ago

At-least let me know how do I add icon to case window and call a custom function. I made script to export based on case.

testingbykumar commented 8 years ago

I have completed it. Just want to add custom text for multi language. Help me to add custom text.

tvitalie commented 8 years ago

What do you mean by custom text for multi language? Do you want to update translations or something else? Please be more explicit, explain the goal you're trying to achieve.

testingbykumar commented 8 years ago

I have add a text like. Export all cases. I want this text to translate to users language chosen. Text like “Clipboard, Rows, Pivot, Activity Stream, Permalink” are need to be changed in Arabic language or user chosen language.

On Thu, Nov 12, 2015 at 3:59 PM, tvitalie notifications@github.com wrote:

What do you mean by custom text for multi language? Do you want to update translations or something else? Please be more explicit, explain the goal you're trying to achieve.

— Reply to this email directly or view it on GitHub https://github.com/KETSE/casebox/issues/26#issuecomment-156063263.

tvitalie commented 8 years ago

At the moment we don't have an interface to edit available translations, you can add/update them in mysql using an appropriate program. All global translations are kept in mysql cb__casebox.translations table. If you want a core to have a specific translation - there is translations table for each core also. After you make desired changes in the translations tables you have to run php script from casebox/bin directory to update js files used in client side: php languages_update_js_files.php

You also can send me the list of translation terms you need to be available / updated in casebox, so I can apply them to git.

Best regards.

testingbykumar commented 8 years ago

Thank you for your support.

Here is the list of variable

  1. Clipboard 2 Rows
  2. Pivot
  3. Activity Stream
  4. Permalink
  5. Save
  6. Cancel
  7. Export all cases ( I have included as in text: 'Export all cases' instead of 'i-Export all cases'

I am using English and Arabic for this project.

On Thu, Nov 12, 2015 at 8:32 PM, tvitalie notifications@github.com wrote:

At the moment we don't have an interface to edit available translations, you can add/update them in mysql using an appropriate program. All global translations are kept in mysql cb__casebox.translations table. If you want a core to have a specific translation - there is translations table for each core also. After you make desired changes in the translations tables you have to run php script from casebox/bin directory to update js files used in client side: php languages_update_js_files.php

You also can send me the list of translation terms you need to be available / updated in casebox, so I can apply them to git.

Best regards.

— Reply to this email directly or view it on GitHub https://github.com/KETSE/casebox/issues/26#issuecomment-156131422.

tvitalie commented 8 years ago

I've checked the translations and commited them.

You'll have to sync translations from cb__casebox.translations table with ones from /install/mysql_casebox.sql

After sync / updating translation run /bin/languages_update_js_files.php.

As a result you'll be able to access corresponding translated variable from you custom js files as follows: L.Clipboard L.Rows L.Pivot L.ActivityStream L.Permalink L.Save L.Cancel L.ExportAllCases