We are currently rebuilding a module in one of our applications that takes a document template, replaces marked placeholders within the template with specific data , and then allows the user to download the file as a word document.
The user would like to be able to edit these templates online, before they are rendered. One key feature that we need to include is conditional blocks - certain sections of the template will only be rendered if the data in the system meets specific conditions. We need to make these conditional blocks as user friendly to edit as possible.
What i have envisaged is creating a custom module for the RadEditor that can be used to select and insert conditional blocks, that the user can then edit to their liking. It is important that the end user (who is non technical) can identify and understand these conditional sections easily and click on them to load them in the custom module editor.
I notice i can create custom content filters in javascript that can hook into the rendering of the designer/html view, which would seem appropriate for this kind of solution.
The problem is that there is no documentation on the customFilter object - where can i find more info on how to use this?
The user would like to be able to edit these templates online, before they are rendered. One key feature that we need to include is conditional blocks - certain sections of the template will only be rendered if the data in the system meets specific conditions. We need to make these conditional blocks as user friendly to edit as possible.
What i have envisaged is creating a custom module for the RadEditor that can be used to select and insert conditional blocks, that the user can then edit to their liking. It is important that the end user (who is non technical) can identify and understand these conditional sections easily and click on them to load them in the custom module editor.
I notice i can create custom content filters in javascript that can hook into the rendering of the designer/html view, which would seem appropriate for this kind of solution.
The problem is that there is no documentation on the customFilter object - where can i find more info on how to use this?