Video Order - Sub Folders - Order by Expression

Becky Long asked on March 6, 2018 18:52

Here is the example I'm working on... http://dev-az.rcbs.com/Resources/RCBS-Videos.aspx Go down to -"Intro to Handloading" - to see the best example of the disorganization in order.

On this video page I am working on - I can get the parent folders to order correctly, but not the content inside of those folders. So each category will go into the order I am wanting - but not the videos inside of those categories.

  1. Ive tried - Order by Expression options (ex- NodeLevel, NodeOrder, NodeName )
  2. Ordering the content tree by A,B,Cs and 1, 2, 3's just to test.

The basics - Inside of the content tree I have A folder named Resources > Folders with the categories > then each set of videos inside of those folders. I have the videos set up on a Lightbox Repeater and LightBoxVideosYouTube as the transformation.

What else can I try? What am I missing?

Thank you in advance!

Recent Answers


Trevor Fayas answered on March 6, 2018 20:39

Oddly the Lightbox Repeater doesn't have Hierarchy support, so i'm curious how it's properly handling hierarchy. Makes me almost wonder if you have a nested repeater in the transformation and that's where you are missing the order by.

Either way, just a heads up that the Repeater with Lightbox was removed in version 9, the better way to do this is to use the Universal Viewer / Hierarchy Viewer (making sure to check to Load Hierarchy Data), and create your Hierarchy Transformation to render things properly. Then the NodeLevel, NodeOrder will work properly.

Can you copy what you have for the LightboxVideosYoutube transformation?

0 votesVote for this answer Mark as a Correct answer

Becky Long answered on March 7, 2018 18:05 (last edited on March 7, 2018 18:05)

Hi Trevor, Thank you for the response back!

Here is the content for the LightboxVideosYoutube transformation:

<div class="CategoryLabel col-md-12"><%# Eval("DocumentName") %></div>
<div class="col-md-12">
<ul>
<cc1:cmsrepeater ID="rcbs_video_datalist" runat="server" 
      ClassNames="RCBS.Video" 
      TransformationName="RCBS.Video.YouTubeFancybox"
      Path="/Resources/RCBS-Videos/{2}/%"
/>
 </ul>
</div>
<div class="clear"></div>
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.