Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListMoving a RecordMoving a Record's Order Up or Down
Previous
 
Next
New Post
5/26/2008 1:26 AM
 

I received an email from one of my website users recently saying that they are willing to do a trade for a higher up spot in the UDT Records. That sounds like a great new feature, to be able to move a record up or down like you can with the UDT Columns.

I want to include an up arrow and down arrow next to the edit icon (blue pencil) in the XSL file that would be visible only to the administrator? Will my sorting method have to be changed from "Created at" in Ascending Order to a new hidden column? I might be thinking to heavily... so when you select the up or down arrow the order number of the record changes simultaneously with all other record numbers, right? How does the order number of Columns work like that?

 
New Post
5/26/2008 5:24 AM
 

Changing Sorting of a list that way would require a lot of changes to the module.

One work araound: Add a new (invisible) column Sort Order, datatype integer (or string). Apply sorting for this column, and add values inside to sort for.

 

 
New Post
5/26/2008 10:17 PM
 

Is there a way to add an expression to the invisible column's default value that adds a +1 integer to the highest Sort Order Integer? Right now I'm getting away with setting the default value to 0 and all new records that users create seems to be sorting the way I want.

 
New Post
5/27/2008 2:57 PM
 

no, each row is independend.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListMoving a RecordMoving a Record's Order Up or Down


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out