# Unable to edit a K Report Presentation Dashlet

**URL:** <https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232>\
**Category:** KReporter\
**Created:** [January 11, 2018, 6:21pm UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232 "2018-01-11T18:21:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonnie00](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jonnie00](https://community.spicecrm.io/u/jonnie00)\
**Post date:** [January 11, 2018, 6:21pm UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232/1 "2018-01-11T18:21:51Z")

</div>

Hi,

I have created a KReport and selected to publish the report as a presentation. I then went to the home page and added a dashlet, selecting 'K Report Presentation.

When I click the edit pencil nothing happens. Reviewing the console in Google Chrome I see the following error:

_Uncaught TypeError: Cannot read property ‘nodeName’ of null_  
\_ at YAHOO.widget.SimpleDialog.setBody (sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:61)\_  
\_ at Object.fillInConfigureDiv (MySugar.js?v=MD8m2KjHR3QYJODi3jChMA:50)\_  
\_ at Object.handleTransactionResponse (sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:55)\_  
\_ at sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:55\_  
_setBody @ sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:61_  
_fillInConfigureDiv @ MySugar.js?v=MD8m2KjHR3QYJODi3jChMA:50_  
_handleTransactionResponse @ sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:55_  
_(anonymous) @ sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:55_  
_setInterval (async)_  
_handleReadyState @ sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:55_  
_asyncRequest @ sugar\_grp1\_yui.js?v=MD8m2KjHR3QYJODi3jChMA:55_  
_configureDashlet @ MySugar.js?v=MD8m2KjHR3QYJODi3jChMA:51_  
_onclick @ index.php?module=Home&action=index:1_

KReporter 4.2 running on SuiteCRM version 7.8.8

Please can anyone advise as to what the problem / solution might be?

Many thanks

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [January 12, 2018, 5:28pm UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232/2 "2018-01-12T17:28:32Z")

</div>

Hi Jonnie,  
You are using SuiteP theme, aren’t you?  
This theme has its own template for DashletHeader which overwrites all the code set in the header of a KReporter Dashlet.  
I copied the file to custom/themes/SuiteP/include/Dashlets/DashletHeader.tpl but the custom location is ignored in display logic.  
Fastest way to achieve that edit click works is to rename themes/SuiteP/include/Dashlets/DashletHeader.tpl so that default logic for Dashlet header building is kept. Of course this would break the design a little bit.  
Alternative is some development. Or you use another theme.

Val

---

<div class="post-metadata">

**Author:** ![jonnie00](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jonnie00](https://community.spicecrm.io/u/jonnie00)\
**Post date:** [January 14, 2018, 2:12pm UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232/3 "2018-01-14T14:12:58Z")

</div>

Thank you Val for your guidance, much appreciated. We are actually using the much improved SuiteP theme with the modifications done by ElDraft. [https://suitecrm.com/forum/suite-themes/14899-suitep-theme-fine-tunning-plus](https://suitecrm.com/forum/suite-themes/14899-suitep-theme-fine-tunning-plus)

I will look in to this more and maybe need someone to code this for me.

Thanks again

---

<div class="post-metadata">

**Author:** ![jonnie00](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jonnie00](https://community.spicecrm.io/u/jonnie00)\
**Post date:** [January 15, 2018, 1:19pm UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232/4 "2018-01-15T13:19:00Z")

</div>

Hi Val,

KReports is the best reporting tool I have found and it is critical to us. If my team are unable to fix this issue is this something you could rectify for me? I would be happy to pay for the development time required to resolve this for the Eldraft theme.

I look forward to hearing from you.

Many thanks,

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [January 15, 2018, 1:50pm UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232/5 "2018-01-15T13:50:45Z")

</div>

Jonnie,

I would be happy to help with development if necessary.

Val

---

<div class="post-metadata">

**Author:** ![jonnie00](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jonnie00](https://community.spicecrm.io/u/jonnie00)\
**Post date:** [January 15, 2018, 8:26pm UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232/6 "2018-01-15T20:26:51Z")

</div>

Hi Val,

Thanks for your message. I’d be keen to discuss with you this development. How can I reach you outside of the forum?

Many thanks,

Jonnie

---

<div class="post-metadata">

**Author:** ![maretval](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@maretval](https://community.spicecrm.io/u/maretval)\
**Post date:** [January 16, 2018, 7:58am UTC](https://community.spicecrm.io/t/unable-to-edit-a-k-report-presentation-dashlet/232/7 "2018-01-16T07:58:11Z")

</div>

[valerie.maret@twentyreasons.com](mailto:valerie.maret@twentyreasons.com)
