Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsSuggestion for next HTML Template visualizer Suggestion for next HTML Template visualizer
New Post
9/13/2014 10:34 AM

I have a couple of suggestion to improve the built-in HTML Template visualizer in next releases:

- Provide some mean of adding an header and footer section before the HTML repeater. Something you could do in the template itself with some custom token like [startBefore][endBefore] or ---- PRE   ---- AFTER or whatever

- Give some mean of checking if a field is empty/null to have some section display conditonally. Example for a query like "SELECT myName FROM myTable" have tokens in the HTML template like [ifExists:myName]....html and tokens here....[endifExists:myName] and of course the opposite [ifNotExists:myName].....[endifNotExists:myName]

Two little addons to the HTML visualizer which would make a big difference imo.

In the meanwhile is there any resource on how to build a custom visualizer or to extend the provide HTML one to include those functionalities? 

Thanks in advance

New Post
9/13/2014 10:43 AM
The reports module is very old and has not been updated in some time (I believe we did a recent update to ensure it worked for .net 4.0 but that's it) - it's still useful, and I've been hoping someone would take the source and create a github project for it (perhaps you would be interested?) - as for visualizer's the only thing I'm aware of is thought that's alternative visualizers rather than customizing an existing one

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
New Post
9/13/2014 10:53 AM
I would be glad to take on the project... I have to start module development sooner or later and this could be a good benchmark. The problem in those days/months I'm really under pressure with jobs to complete, that's why I was trying to delay that "module dev" phase... but maybe I'm forced to.
New Post
9/13/2014 11:04 AM

I found the visualizer code in codeplex... it shouldn't be difficult to add the features I suggested.

My only concern is everything else... recompilation, whatever is tied to module generation itself... but I will give it a shot.

New Post
9/16/2014 6:51 PM
I'm writing the code addition to the default HTML visualizer to support header/footer and conditional token in the template.
I'm testing in a stand-alone project but the code is straightforward. Will anyone be willing/able to place that code in the Visualizer.ascx.vb file once done and recompile the reports module with that integration?
I really don't have time to learn that part and maybe this will be useful to the whole community
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsSuggestion for next HTML Template visualizer Suggestion for next HTML Template visualizer

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?