Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

case details export #26

Open
testingbykumar opened this issue Oct 24, 2015 · 9 comments
Open

case details export #26

testingbykumar opened this issue Oct 24, 2015 · 9 comments

Comments

@testingbykumar
Copy link

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

@tvitalie
Copy link
Contributor

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
Copy link
Author

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
#26 (comment).

@tvitalie
Copy link
Contributor

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
Copy link
Author

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
#26 (comment).

@tvitalie
Copy link
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants