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 ForumsBlogBlogChanging the order of Blog Entries ...Changing the order of Blog Entries ...
Previous
 
Next
New Post
12/1/2008 8:32 PM
 

Hello,

I would like to know if it is possible to change the order in which Blog entries appear.

I did not see any option to change the order of entries within the Blog module.

Thanks for the time.

Regards,

Christopher Koeber


Regards,
Christopher Koeber
 
New Post
12/2/2008 2:30 AM
 

Hi Christopher,

the blog entries are listed using their date, thus implementing the web-log spirit, we did not even think to another sorting pattern. Whan scenario are you managing?

Best regards,
Dario Rossa

 
New Post
12/2/2008 2:43 PM
 

Thanks for the reply. Here is the scenario.

A client is hosting a moderated blog where many entries are constantly being added but not published. So, they may add Entry 1, 2, and 3 in that order but want the third entry to appear first since that is the one they published first. Then, later on, they will publish Entry 1 or 2. Under the current scenario, as you described, the order of entry takes precedence.

What would be excellent would be if there would be an option where the published date takes precedence or, even better, give the client the ability to choose from a variety of softing options (even sorting the entries themselves).

Thanks for your time.

Regards,

Christopher Koeber

Dario Rossa wrote

Hi Christopher,

the blog entries are listed using their date, thus implementing the web-log spirit, we did not even think to another sorting pattern. Whan scenario are you managing?

Best regards,
Dario Rossa


Regards,
Christopher Koeber
 
New Post
12/2/2008 3:22 PM
 

Christopher-
I believe you can achieve your stated goal without need for any changes.  When a blog editor is prepared to mark an entry as "Published" (from the entry's EDIT screen), simply change the date to the current date.  This will insure your blog entries are sorted in the order you wish.  I've done this very thing myself when publishing entries I'd begun many months earlier but wanted to publish with the "published" date rather than the "entry created" date.

Dario-
I agree with Christopher that a sorting option would be a nice enhancement.  Potential sort variants could include "sort by publish date", "sort by most-recently-updated date", "sort by most-read blogs", "sort by most-commented blogs", "show all entries grouped by parent blog", etc.  

If you wanted to make a sorting option really powerful, expose the blog entries' primary data fields as tokens and provide an option for sorting results of REGEX-based pattern matching.  (To be admin-friendly you'd want to include some simple REGEX pattern examples to "sort by publish date", etc.)  REGEX matching with tokens would allow for searching/sorting by multiple fields and multiple values.  Example:  Show all entries by editor "A" and editor "C" in the past 3 months with most recent entries shown first.

QUERYSTRING Option
The "sort-by" module setting could be overridden by a querystring value to allow admins an easy link-based solution for users to pick their preferred sort option.  This combined with REGEX matching would open up a lot of opportunity for both sorting and advanced user-specified-criteria searches.


-mamlin


esmamlin atxgeek.me
 
New Post
12/2/2008 7:35 PM
 

Very helpful mamlin!

I will give your suggestion a try. As for the recommended improvements, I also feel that they will go a long way to making the blog module more usable.

Regards,

Chris K.

mamlin wrote
 

Christopher-
I believe you can achieve your stated goal without need for any changes.  When a blog editor is prepared to mark an entry as "Published" (from the entry's EDIT screen), simply change the date to the current date.  This will insure your blog entries are sorted in the order you wish.  I've done this very thing myself when publishing entries I'd begun many months earlier but wanted to publish with the "published" date rather than the "entry created" date.

Dario-
I agree with Christopher that a sorting option would be a nice enhancement.  Potential sort variants could include "sort by publish date", "sort by most-recently-updated date", "sort by most-read blogs", "sort by most-commented blogs", "show all entries grouped by parent blog", etc.  

If you wanted to make a sorting option really powerful, expose the blog entries' primary data fields as tokens and provide an option for sorting results of REGEX-based pattern matching.  (To be admin-friendly you'd want to include some simple REGEX pattern examples to "sort by publish date", etc.)  REGEX matching with tokens would allow for searching/sorting by multiple fields and multiple values.  Example:  Show all entries by editor "A" and editor "C" in the past 3 months with most recent entries shown first.

QUERYSTRING Option
The "sort-by" module setting could be overridden by a querystring value to allow admins an easy link-based solution for users to pick their preferred sort option.  This combined with REGEX matching would open up a lot of opportunity for both sorting and advanced user-specified-criteria searches.


-mamlin


Regards,
Christopher Koeber
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogChanging the order of Blog Entries ...Changing the order of Blog Entries ...


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