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  |  

DotNetNuke Marketplace
  Ads  
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Links Module [L...  Descending order automatically
Previous Previous
 
Next Next
New Post 11/5/2007 10:36 AM
User is offline johnstonb
12 posts
10th Ranked


Descending order automatically 

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
User is offline lance
8 posts
10th Ranked


Re: Descending order automatically 

same problem here...

 
New Post 2/21/2008 9:13 AM
User is offline anonymous
0 posts
Unranked


Re: Descending order automatically 

The list order is the only to do this currently.

 
New Post 2/26/2008 10:27 AM
User is offline Cesar Gallo
9 posts
www.fabensisd.net
10th Ranked


Re: Descending order automatically 

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
User is offline anonymous
0 posts
Unranked


Re: Descending order automatically 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Links Module [L...  Descending 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.

 


"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl

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