Gabe Sumner

Gabe Sumner

The RSS Feed URL cannot be found!
The remote server returned an error: (400) Bad Request.

Back to all posts

Sitefinity "What's New" Control

Telerik recently released Service Pack 1 for Sitefinity 3.1.  With it they beefed up their CmsManager.GetPages() method.  You can now return a set number of pages, as well as sort the pages by a given property.

This allowed me to create a "What's New" control.  This control simply returns links to the last X number of pages that were updated.  (You can set the number of links that get returned.)

I have made this control available within the GoonDocks Sitefinity Controls.

It is free for anyone to download & use.  Let me know if you have problems or see anything that could be improved.

Facebook DZone It! Digg It! StumbleUpon Technorati Del.icio.us NewsVine Reddit Blinklist Furl it!

Comments  3

  • Romi 11 Nov, 07:15 AM

    Hi Gabe,

    Many thanks for this job and others tips. We need create more great comunity to work with sf. Your iniciative is very well. I'm searched one dev to work for me but after one very bad starting with Contact module he has stopped with me. Soo long trainnig to start with sf modules and many complications with culture resources and others steps. Now I'm alone to combat as end user with this Ferrari without mecanician. Your work is faboulous for me.(sorry f.english) Best regards


  • Seth cleaver 14 Nov, 03:50 PM

    Hi Gabe,

    Many thanks for this example it is a great idea. I might have a look at the code and see if it is possible to extend it to select a node so it only returns new items for a particular node. This would be handy for large sites with departments who will just want a "what's new" for a particular department. What do you think?

    Keep on writing. Seth


  • Gabe Sumner 14 Nov, 06:21 PM

    Hi Seth,

    I think it's an awesome idea!

    The problem is that this "What's New" functionality is being provided by the CmsManager().GetPages() method. This method allows you to specifiy a start, max, and sort direction. It does not, however, provide a robust interface for "searching" Sitefinity pages. You would almost have to retrieve everything, then loop through all it to determine if each page is in the "Node" you are interested in or not.

    I could be wrong though. If you figure it out, please let me know!


Post a comment!


HostMySite.com   website uptime