Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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 ForumsForumForumCool Forum usage w/Reports moduleCool Forum usage w/Reports module
Previous
 
Next
New Post
1/11/2008 4:04 PM
 

I just wanted to share this. First of all, I am a lazy dog. I hate doing things twice and forget about maintaining information in more than one place. I refuse. Anyway, to that end...

We wanted to maintain a Release Log in one spot for our DNN modules, but display the entire Release Log on several different pages on our portal. We decided to use the DNNForum so people could also subscribe to receive Release Log notifications, inconjunction with the Reports module. Sounds easy enough, right? Make posts in the "Release Log" forum and use the Reports module to display the post on different pages. Well, we ran into trouble with rendering the HTML from the Forum_Posts table in the Reports module so it would display on the page the way we wanted. NOTE: In order for you to accomplish this you must have Host account.

Here is how we did it.

1. Setup a DNNForum module on a page.
2. Create a normal forum named "Release Log" under any group and add a few posts to it.
3. Create HTML Render SQL function and SQL view of Forum "Release Log"
            Use Host> SQL to execute this script to create function and view in your SQL database

http://www.dnnspired.com/portals/7/HTMLDecode_SqlScript.zip

5. Setup Reports module on page you want to display "Release Log"
6. Enter SQL in Reports module to select records from your View with WHERE clause to filter on ForumID.
            "select Updated from {databaseOwner}[{objectQualifier}DS_ForumReleaseReport]
            where ForumId = 97"

That's it. We are using this view to collect all "Release Log" posts and then using the Reports module we filter the "Release Log" posts on the ForumID for each page where we want to display the "Release Log".

Now when you make post to your "Release Log" people can be notified through Forum subscriptions and view the "Release Log" on pages you choose without having to open each forum thread and the beautiful thing is you only have to maintain your "Release Log" in one spot.

You can see this in action here:
Release Log Forum: http://www.dnnspired.com/Support/Forums/tabid/326/forumid/97/scope/threads/language/en-US/Default.aspx
Reports module showing Release Log: http://www.dnnspired.com/Modules/CustomPageOptions/tabid/517/language/en-US/Default.aspx (click on release log tab)

You can tweak your view to work on any forum name. And with a little more tweaking to the view you can make the posts records display in your Reports module with hyperlinks to the respective forum thread, too.

Happy DNNin' to all.


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumCool Forum usage w/Reports moduleCool Forum usage w/Reports module


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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out