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 ForumsNews FeedsNews FeedsNews Feeds from DNN Events Does Not Display in OrderNews Feeds from DNN Events Does Not Display in Order
Previous
 
Next
New Post
8/11/2014 3:06 PM
 

Hello,

I'm using News Feeds (RSS) 5.0.1 to display events from DNN Events 6.1.4. Under the News Feeds module settings for the XLS Transformation drop-down option I've chosen the Events.xsl file. Unfortunately it does not display the events in the correct order, being from earliest to latest. In the Events.xsl file, I tried changing the order from ascending to descending, but that did not work. Here's the xsl line I changed:

<xsl:sort data-type="text" select="e:EventTimeBegin" order="descending"/>

The events are displayed based on EventTimeBegin <e:EventTimeBegin>2014-08-11 09:30:00</e:EventTimeBegin>:

2014-12-09 18:00:00
2014-09-30 18:00:00
2014-08-12 18:00:00
2014-08-11 09:30:00

When in fact it should order them like so,

2014-12-09 18:00:00
2014-09-30 18:00:00
2014-08-12 18:00:00
2014-08-11 09:30:00

 

We're on DNN 7.3.1. What else can be done to get the events to display in the correct order.

Thanks

 
New Post
8/11/2014 3:28 PM
 
Albert,
Your samples of what it does and what you want to do show the exact same sort order.
 
New Post
8/11/2014 4:09 PM
 

Mike,

Thanks for pointing that out. The second list should be the following:

2014-08-11 09:30:00
2014-08-12 18:00:00
2014-09-30 18:00:00
2014-12-09 18:00:00

This is how I would like the events to be listed.

Thanks,

Albert

 
New Post
8/11/2014 4:55 PM
 
Albert,
Is the following what's currently in your XSLT?
<xsl:XSL:SORT order="descending" select="e:EventTimeBegin" data-type="text"></xsl:XSL:SORT>
 
New Post
8/11/2014 5:45 PM
 

Mike,

This is what I currently have:

<xsl:sort data-type="text" select="e:EventTimeBegin" order="ascending"/>

and that's exactly what the default Events.xsl file contains as well.

Here's a screenshot of my .xsl file. http://screencast.com/t/vc7L2uy6M2A

Thanks,
Albert

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsNews Feeds from DNN Events Does Not Display in OrderNews Feeds from DNN Events Does Not Display in Order


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out