HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsLinksLinksDescending order automaticallyDescending order automatically
Previous
 
Next
New Post
11/5/2007 10:36 AM
 

I searched and cannot find the answer anywhere else. I am running DNN 4.5

I was wondering if there is a way to automatically have the links order by descending as opposed to the defaulted. I have a list of links by date format of 'mm/dd/yy' and would like the most recent to show at the top.

I know there is the view order feature but this would require me to manually count and edit each link everytime I wanted to add a new one. Is there a way either via database or GUI to edit it to be automatically descending for this particular module?

I greatly appreciate any feedback anyone can supply me. Thank you.

 
New Post
2/18/2008 5:33 PM
 

same problem here...

 
New Post
2/21/2008 9:13 AM
 

The list order is the only to do this currently.

 
New Post
2/26/2008 10:27 AM
 

could you please explain what you mean by list order?

I found an SQL procedure that might be responsible for the way things are sorted by default but I tried changing it and nothing happened. Does anyone have an idea why? The procedure is found under the following files:

Desktop Modules/Links/Providers/DataProviders/SqlDataProvider/03.01.00.SqlDataProvider

Desktop Modules/Links/Providers/DataProviders/SqlDataProvider/03.03.00.SqlDataProvider

It is called GetLinks, I tried replacing the "order by" clause with this but nothing happened.

order by {objectQualifier}Links.ItemId DESC

I hope its a stupid mistake, does anyone know where to take it from here???

 
New Post
2/27/2008 6:58 AM
 

When you are adding the link, there is a field for ViewOrder, you can set this value to display them in any order you wish. The downside to this is that it must be done for every link and this can get tideous when you have a lot of links. The OP was looking for a way to do this automatically and as of now their is no way to do that.

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsLinksLinksDescending order automaticallyDescending order automatically


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

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

Advertisers

DotNetNuke Scoop!

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 .NET. 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.