Overview
If you are using a custom in-house widget in DNN and experiencing issues with the edit functionality, this article is for you. The problem typically arises when the widget auto-loads during page edits, causing DNN to interpret this as the completion of a page edit and prematurely exiting the edit mode. This issue is complicated by the fact that it lies within the custom implementation, which falls outside of DNN's official support scope. This article will help you identify when the page is in Edit mode which may be helpful in troubleshooting the issue.
Solution
To determine if DNN is in Edit Mode, you can use the JavaScript variable `dnn.vars.cem_isPageEditor`.
The resolution of the specific issue related to the 3rd-party or Custom widget falls outside the DNN Support team's scope. If you are keen on implementing a custom solution, you may reach out to the support team for a paid engagement with our Professional Services team.
Summary
By using the JavaScript variable `dnn.vars.cem_isPageEditor`, you can check if DNN is in Edit Mode and potentially help resolve issues with custom widgets interfering with the edit functionality.
FAQ
Q: What if using the JavaScript variable doesn't solve the issue?
A: If the problem persists, you may reach out to the support team and request a paid engagement with our Professional Services team.
Q: Can I get support from DNN for issues with my custom widget?
A: Issues with custom implementations typically fall outside of DNN's official support scope. However, you can seek help from the community or from experts familiar with DNN.
Q: How can I prevent my custom widget from auto-loading during page edits?
A: This would depend on how your custom widget is coded. You may need to modify the widget's code to prevent it from auto-loading during page edits.
Comments
0 comments
Please sign in to leave a comment.