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 - Announcements Register  |  

 

dnn_pt_announcements_170x64.gif

 

  Quick Links  
 


  Team Leadership  

Erik van Ballegoij

Erik van Ballegoij

 


  Team Members  

 

Néstor Sánchez

Chris Taylor

Erik Hinds

Olivier Jooris

 

 


  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.

 


telerik -- supercharge your DNN websites
  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


DotNetNuke® Project :: Announcements Module

The announcements module is a basic module used for displaying news items on your site. During all DotNetNuke® versions, the module did not change very much, but starting from DNN 3.3.0, some new features have been added, with more to come.

Recently, the module was upgraded to ASP.NET 2.0, and requires DotNetNuke 4.6.2 to run. Currently the features are:

  • Abillity to add multiple announcements in one module
  • Support for ISearchable (Search and RSS)
  • Basic support for IPortable (Module import an export)
  • Items are templatable. Parsing of the templates is done by the DotNetNuke core token replace functionality

 

For the year 2008, the following new features will be implemented:

  • Paging
  • Inline detail view
  • Categories and / tags
  • Enhanced RSS feeds
 


Team Lead Blog
Jul 28

Posted by: Erik van Ballegoij
7/28/2006 10:22 PM

If you upgraded your dnn install from a pre DotNetNuke 3.3.0/4.3.0 site, you will have noticed that the expiry date was removed from the announcement module, which might have lead to old announcements to be displayed again.

The ExpireDate column was removed in version 3.3.0 of the announcements module, which, quite frankly, should not have been done. At the same time, a new History (Days) setting was introduced in the module, offering a similar, but less granular control over display duration of announcements. Let me give you some insight of the reasoning behind all this, quoting Shaun Walker:

  • You could set an expiry date and once the item expired, it would no longer be displayed in the list. This concept, although granular, imposed a lot of extra administration in managing lists of announcements. And the biggest issue was that once the item was expired, not even an Administrator could view the item to change the expiry date or delete - it was effectively orphaned within the database and could only be accessed via manual SQL queries.
  • The new concept allows you to construct views where you can see subsets of announcements or all - simply by adding a module reference to another page and modifying the view settings. However this is still not very granular when you wish to expire a specific item. I would suggest an IsActive flag on items. However, the trick is that when an Admin is logged in, they need to be able see ALL items whether they are active or not - whereas regular users see just the active items. Personally, I believe that all modules should support a notion of IsActive - as hard deletes are far too permanent and destructive.
  • You may also think that adding some criteria to the Announcements.ascx to allow the user to choose view settings would be good as well. And it would certainly provide flexibility. But it would do so at the expense of performance, as the module would no longer be able to participate in the module caching framework (which is a huge deal in an active site like dotnetnuke.com )

The reasoning is sound, however, i think we need to offer a smoother upgrade path for existing modules.

I just finished a new version of the module which will undo the deletion of the ExpireDate field (which means it won't be deleted anymore from upgraded modules, and will be added to 3.3.0+ modules. This wil not help the upgrades that already went haywire, but will solve the problem for when the big masses will embark on the upgrade adventure.....

The new version is being tested now, and should be released fairly soon (early next week)

 

 

 

Tags:

Re: The why behind the removal of the Announcements Expiry Date

Personally I believe this to be a "No Brainer" - there simply has to be an expiry date per announcement. I understand the issues relating to expired items becoming "invisible" but that surely cannot be a difficult thing to resolve? An adminsitrator should be abl;e to see all announcements and delete thos that have expired.

Anyway, thanks for the effort and keep up the good work.

Campbell

By Campbell on   7/31/2006 8:07 PM

Re: The why behind the removal of the Announcements Expiry Date

So when will this new version be available? It has been 2 1/2 weeks and you said it would be available last week! I need my expiration date back!

By jjjansen on   9/18/2006 9:35 PM

Re: The why behind the removal of the Announcements Expiry Date

when is the addition of the expire date function be added to the announcements module.

By armando on   10/11/2006 8:48 AM

Re: The why behind the removal of the Announcements Expiry Date

Any progress on this? It looks like the released version is still the limited one...

Tim

By sherritp on   9/18/2006 9:35 PM

Re: The why behind the removal of the Announcements Expiry Date

In the announcement above, it indicates that a fix for this issue should be available already. I am looking for this release to fix the expire issue. It was a great feature. Do you know when this will be available
?

By burnedj on   9/18/2006 9:35 PM

Re: The why behind the removal of the Announcements Expiry Date

The release of version 03.03.05 of the Announcements module has been put on hold, due to the fact that a new module release process is being put in place. Sorry for the delay

By ErikVB on   9/18/2006 9:37 PM
 


DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net

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