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
Products › Development › Forge › Module - Blog Register  |  

 

dnn_pt_blog_170x64.gif

 

  Quick Links  
 


  Team Leadership  

Antonio Chagoury
( Team Lead )

Nik Kalyani
( Core Team Sponsor )

 


  Team Members  

 Don Worthley
Dario Rossa
Rip Rowan
Jim Bonnie
Eoghan O'Neill

 


  DotNetNuke Projects  
The DotNetNuke Projects are a special category of platform extensions which are developed by volunteers to conform to the high professional standards mandated by DotNetNuke Corporation. The DotNetNuke Projects are distributed as a standard part of the DotNetNuke core application release offerings.

 


Maximum ASP
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke® Project :: Blog Module

Weblog (aka "blog") is arguably one of the most popular categories of applications on the Internet today.  Naturally, this makes a Blog module a very important part of the DotNetNuke family of free BSD modules.  The DotNetNuke® Blog is actually a collection of related modules which comprise all the working parts of a Blog.  When you add the blog module to a page,  you actually add all of them (which you can choose to delete or move).  These presently include:

  • Menu: List of blog related actions that a user can take, based on permissions (e.g. changing settings, adding a post, etc).
  • Search: Utility for searching Blog content.
  • Roll: List of blogs on the site (or in some logical grouping)
  • Archive: Calendar indicating dates when blogs have been posted
  • Posts: Display of the lists and content of the blogs.

This blog module was contributed to DotNetNuke (and thus to you) by Hans-Peter Schelian, who based his work on a blog module originally developed by Matt Fraser for version 1.x.  Thanks to Matt for his initial vision, and to Hans-Peter for giving it continued life in version 2.x and 3.x.

For some interesting reading on Blogs... and ideas about where this might go... please consult the following:

 


Blog Project Blog
Feb 13

Posted by: Antonio Chagoury
2/13/2008 1:28 PM

Hi Folks,

I just posted the first of a series of blog posts called "DNN Best Kept Secrets".

Yesterday I was searching for some information/documentation on how to use the DNN Paging Control. Unfortunately I was not able to find anything that really helped so I just dived into the code and experimented until I figured out how it works and how to stitch it into any datasource (It wasn't that hard, btw).

As usual, I figured I would share my experience and newly aquired knowledge about this control with all of you in this article: http://www.cto20.com/Default.aspx?tabid=647&EntryID=46

I hope you find it useful.

 

Tags:

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

I agree. It is a great control. I actually submitted a revision to the control to add a "Jump to" page function and also a PageSize drop down list. Hopefully, it will get added in the next release.

By mathisjay on   2/13/2008 2:37 PM

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

@mathisjay: Yes, I agree. The page size drop down would be cool.

By AntonioChagoury on   2/13/2008 2:39 PM

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

please be aware, that there is a limitation in current implementation of the control: if it is used more than once on a page, all instances will change pages simultaneously.

By leupold on   2/13/2008 5:17 PM

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

@leupold: that is a good point, however you could add an additional querystring parameter to the control (ctlPagingControl.Querystring = the_control_sender_id) and load the datasource based on that parameter only.

I hope this makes sense.

By AntonioChagoury on   2/13/2008 5:26 PM

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

I must say, I am not a fan of this control - I use it heavily in the Smart-Thinker modules. Everything is done using querystring params, so if anything else on the page does a postback you have to persist the state and URL so that it continues to work (I remember doing a forum post on this a long time ago - it causes major problems if you have more than one on a page (as Leupold pointed out) - I'll have to dig it out to explain the limitations I encountered...

By rodneyjoyce1 on   2/13/2008 8:29 PM

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

I have reworked the control to keep its own state without any special interaction from the hosting container. I've also fixed it so you can have multiple instances on the same page.

I'll have it submitted in the next few days.

The primary reason everything is done via querystring params is so that it works well with SEO bots. Those things can't follow linkbutton postback clicks or AJAX callbacks as well as simple hyperlinks.

By mathisjay on   2/14/2008 8:37 AM

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

@rodney: Inside UDT3.4.0 is an alternative to the core paging control. It renders exactly the same way as the core control. It is based on viewstate instead of querystrings.

By cshark on   2/14/2008 8:37 AM

Re: DNN Best Kept Secrets Part 1: DNN Paging Control

mathisjay raises a good point though: postbacks are not SEO compliant... as I mentioned there is a way to overcome that limitation by using the Querystring property and adding the control id of the datalist you want to page. In your code you handle the appropriate datalist control based on the querystring.

By AntonioChagoury on   2/14/2008 8:39 AM
 


DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com

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