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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Announcements M...  Announcement Order ???
Previous Previous
 
Next Next
New Post 8/18/2006 4:22 PM
User is offline stchome
26 posts
10th Ranked


Announcement Order ??? 
When I add a new announcement to the module, it places it on the bottom of the other announcements.  I thought that it is supposed to place the newest announcement on the top of the other ones....Anyway does anyone know how to fix this...


Also I have noticed that the little box for making the announcement expire on a specific date doesn't exisit on this one???

I am using the most current version of DNN. 4.3...

Thanks,
Jason
 
New Post 10/5/2006 10:41 AM
User is offline Stigbjörn Karlsson
3 posts
www.mai.se
10th Ranked


Re: Announcement Order ??? 

Maybe you've solved your sorting problem by now, but I will describe a quick fix. I found out that the announcements are ordered first by ViewOrder and then by PublishDate (in descending order). When an announcement is added, today's date (CreatedDate) is being copied to PublishDate, but with the time set to 00:00. So if for example CreatedDate = 05.10.06 10:56, then PublishDate = 05.10.06 00:00.

If you create several announcements the same day, DotNetNuke can't distinguish between them and sorts them in registering order. In the folder: "DesktopModules\Announcements\Providers\DataProviders\SqlDataProvider" there are several provider files. Search for the line: "order by {objectQualifier}Announcements.ViewOrder asc, {objectQualifier}Announcements.PublishDate desc" and change "PublishDate" to "CreatedDate". The last created announcement now is placed at the top.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Announcements M...  Announcement Order ???
 


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.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
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

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