Home Developer Updates WordPress Integration For External Reports

WordPress Integration For External Reports

by CracTask

We decided to describe how you can easily can connect your WordPress page with our External Reports module. You generate your integration code in the External Reports tab. Please check screenshot below for more details:

Please remember to enable proper module in the settings page for your project:

The easiest way to integrate your WordPress page is to add an integration script to footer or header in your theme.
You can also easily allow only editors to create new tasks. Please add a script generated in CracTask to this snippet:

<?php if (current_user_can('editor') || current_user_can('administrator') ): ?>
<------ YOUR_SCRIPT_HERE ------>

<------------------------------->
<style>
#cracBugContainer .canvas-buttons-container{
  margin-top: 30px;
}
#cracBugContainer .message-container{
  margin-top: 30px;
}
</style>
<?php endif ?>

And please remember to save changes. Now everything should work fine. Every editor can now add a new script directly from you WP page.

If page is automatically scrolled to the top you can add this CSS rule to fix it:

<style>
html, body{
   height: inherit !important;
}
html{
   overflow-x: inherit !important;
}
</style>

Related Posts

Leave a Comment