Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  What's New style report
Previous Previous
 
Next Next
New Post 6/26/2008 10:15 AM
Informative
User is offline Roger Selwyn
844 posts
www.thedivingclub.co.uk
7th Ranked




What's New style report 

I thought I'd have a go at creating a What's New style report for my site. Initially it seemed logical to extract data from SearchItem, but to be honest the quality of data in there is variable. So I decided I'd create a View for each module I wanted to extract data for, combine these together then output through the HTMl Template Visualiser. It seems to have come out quite well. Of course this is quite complex, and could be done otherways I'm sure (and I expect someone will suggest them), but it works.

It includes data from Events (min version 4.0.1), Forums, Ventrian SimpleGallery and Ventrian NewsArticles.

Rather than post loads of stuff here, here is a link to my blog on the subject.

Hopefully it will be of use to someone...

Cheers
Roger


Events 4.0.1 - It's released !! - See the announcement
Events 4.0.2 - It's in the Release Process - Follow it
Requirements/Bugs - Submit them here - Gemini
 
New Post 6/27/2008 12:08 PM
User is offline Roger Selwyn
844 posts
www.thedivingclub.co.uk
7th Ranked




Re: What's New style report 
Modified By Roger Selwyn  on 6/27/2008 3:08:54 PM)

Well, I thought I'd tidy it up from being lots of views, and created a stored procedure. This now includes - Announcements, Events, Forums, NewsArticles, SimpleGallery and Wiki.

Cheers
Roger


Events 4.0.1 - It's released !! - See the announcement
Events 4.0.2 - It's in the Release Process - Follow it
Requirements/Bugs - Submit them here - Gemini
 
New Post 6/27/2008 12:11 PM
User is offline Marc Huijbregts
281 posts
www.biservices.eu
9th Ranked




Re: What's New style report 

Hi Roger,

Thanks for sharing, I am pretty sure I can use some of them (if not all)!!!

 


Regards,
Marc

www.biservices.eu for free nl-NL resourcepacks.
 
New Post 8/7/2008 7:49 AM
User is offline LordIcon
11 posts
10th Ranked


Re: What's New style report 

Thanks Roger,

This has definatly given me a better way to do the whats new. I have wrote up the section for capturing blog info as well I figured I would post it here so if anyone wanted to add this.  Along with the code below being added to the create procedure you would also need to add @BlogRows = X, to the Report Query

 INSERT
        INTO    #WhatsNew
                (
                        Title        ,
                        Description  ,
                        PubDate      ,
                        Link         ,
                        Userid       ,
                        ModuleID     ,
                        LinkType     ,
                        ImageURL     ,
                        ImageLinkType,
                        ImageHeight  ,
                        ImageWidth
                )
        SELECT  top (@BlogRows) dbo.blog_entries.title,
                dbo.udf_HTMLDecode(dbo.blog_entries.description) AS Description,
                dbo.blog_entries.AddedDate AS PubDate,
                dbo.blog_entries.PermaLink AS Link,
                dbo.blog_blogs.userid ,
                '360'  AS ModuleID ,
                'http' AS linktype ,
                NULL   AS ImageURL ,
                'None' AS ImageLinkType ,
                ''     AS ImageHeight ,
                ''     AS ImageWidth
        FROM    blog_entries
                INNER JOIN dbo.blog_blogs
                ON      dbo.blog_blogs.blogid =dbo.blog_entries.Blogid
        WHERE   [dbo].[blog_blogs].[Public] <> 0
        ORDER BY pubdate DESC

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  What's New style report
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com
TMA Resources
TMA Resources is a software company providing eBusiness solutions for the Association market.
www.tmaresources.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP