DNN Blog

Nov 23

Posted by: Erik van Ballegoij
11/23/2007 12:31 PM  RssIcon

This blog post contains info about the 03.04.00 version of the annoucnements module. It is not a new release! (i edited this post, that's why it will appear as a new blog post!)

NB: i receive a lot of questions about source not being available in the source download of this module. Of course the source IS part of the source download, however, it is hidden. Please refer to this blog post for more information: http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1150/Default.aspx. Mind you: the 03.04.00 version of the module is still an asp.net 1.1 / dnn 3 module, which means you cannot modify the source in vs 2005 without upgrading the module

The module offers a few new features:

  • This version of the announcements module requires a minimum version of DotNetNuke 3.3.0/4.3.0
  • New image field. You can now include an image with your announcement, which can be displayed seperately from the announcements through a new template token [IMAGESOURCE]
  • Module editors can now easily view expired and future announcements, by selecting one of the options: Current, Expired, Future and All in the new Select View dropdown:
    Select View Dropdown
  • A full return of the expire date!
  • Announcements can now also link to users:
    Link to user

A new default template has been created, to allow for the display of the announcement image:

[IMAGESOURCE] [TITLE] - [PUBLISHDATE]
[DESCRIPTION] [MORE]

Token dictionary

[CREATEDBYUSER] This will display the displayname of the user that created the Announcement. NOTE: on sites with many users adding this token to a template will cause a performance hit, as for every Announcement a user record has to be found and displayed. Many announcements and many users will cause a large amount of extra database hits.
[CREATEDDATE] This will show the item creation date, in localized long date forum
[DESCRIPTION] This will display the announcement discription
[IMAGESOURCE] This will display the announcement image as defined in the announcement
[MODULEID] This will display the moduleid of the module.
TIP: You could use this value to use a module specific css classname, for instance like this:
[TITLE]
[MORE] This will display the "read more..." text, without hyperlink. A full read more hyperlink would look like this:
[MORE]
[NEWWINDOW] This token can be used to open the link in a new window, based on the selection made in the announcement, for example:
[MORE]
[PUBLISHDATE] This will show the item publish date, in localized long date form
[TITLE] This will display the announcement title
[URL] This will display the url the announcement should point to. In order to use this url as a clickable hyperlink, use something like this:
[MORE]
[VIEWORDER] This will show the view order of the item

Overview of all gemini issues solved:

  • ANN-4648 Add Image Field for each announcement
  • ANN-4216 Upon import, the publish date is not imported
  • ANN-4217 "future" items are indexed by search indexer
  • ANN-4467 Module CSS
  • ANN-4468 Display Future Items for only authorized roles to edit module
  • ANN-4656 Finish reintroduction of expire date
  • ANN-4469 display expired items only for module editors
  • ANN-4657 IPortable
  • ANN-2541 Text is cutted in Announcements Module
  • ANN-4655 rename sprocs in order to group all announcements sprocs together
  • ANN-4658 change delete item sproc to include moduleid

Where to download?
The module can be downloaded from the DotNetNuke download page

6 comment(s) so far...


Re: Announcements 03.04.00 released

Hello Erik, thanks for the new release, however we couldnt able to use template based versions of Announcements module, Turkish users had only able to use 3.3.1 version with Turkish locale.

And we had a discussion about the TOKENS issue

I remember you were able to re-produce issue with 3.3.5 version i guess

Are there any uptade on this issue? And would it worth translating this new release and test it on a dev machine?
Thanks in advance

By greenflash on   1/30/2007 11:15 PM

Re: Announcements 03.04.00 released

The TOKENS issue is as of yet unresolved ... sorry for that. The next version of the module will use new token replacement system developed by the joint UDT and XML project teams, which should not have this problem

By ErikVB on   1/31/2007 7:44 AM

Re: Announcements 03.04.00 released

Hello Erik, thanks for the release.
I can view the [VIEWORDER] placing it to the view template but I don't know how to add/edit this setting

By cornel on   1/31/2007 1:43 PM

Re: Announcements 03.04.00 released

cornel, please post your question in the Announcements forum.

By hooligannes on   1/31/2007 4:52 PM

Re: Announcements 03.04.00 released

The source files are not included in the source download.

By BPatti on   1/31/2007 6:23 PM

Re: Announcements 03.04.00 released

The source code link just downloads the PA; can we have the source code link fixed please? Thanks.

By UCanUse on   11/23/2007 12:26 PM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
DotNetNuke Store

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

PowerDNN
r2integrated
Telerik JustCode Free

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.