Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > order of the cms tree View modes: 
User avatar
Member
Member
New-Nw - 2/19/2014 6:16:11 PM
   
order of the cms tree
Hi,
I have a custom parent page ( eg name - xxxx) on the cms tree. And I m adding children pages and documents under the custom page (xxxx). I m using a repeater on custom parent page to display children pages on the parent page.
<table calss="doctable" width="634"  height="111" style="border:1px solid black;  margin: auto;"> 
<tr>
<td><a class="header bold" style="color: Black"><%# Eval("Title", true) %></a>
</td>
</tr>
<tr>
<td>Description: <%# Eval("DocDescription") %></td>
</tr>
<tr>
<td >
<a href="<%# Eval("PDF")%>">
<img height="32" width="30" title="pdf.png" src="/getattachment/Sample- htpss/pdf.png.aspx" alt="pdf.png">
</a>
</td>
</tr>
</table>

The issue is once I go to live site it doesn't reflect the order in the CMS tree, It always show newly added document at last.
Can someone hep me on this.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 2/19/2014 8:00:16 PM
   
RE:order of the cms tree
Hello,

Basically it is about setting ORDER BY condition as follows:
NodeLevel, NodeOrder, NodeName

Regards,
Martin

User avatar
Member
Member
New-Nw - 2/19/2014 8:27:30 PM
   
RE:order of the cms tree
Where is the setting is that under properties.
Could you please help me.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 2/19/2014 8:35:03 PM
   
RE:order of the cms tree
Hello,

Yes, as you said that you are using Repeater web part, it has a property: ORDER BY as you can see also in the Web parts Reference -> Repeater properties.

Regards,
Martin

User avatar
Member
Member
New-Nw - 2/19/2014 9:00:09 PM
   
RE:order of the cms tree
Hi,
As you mentioned on the repeater
under Content filter section ->ORDER BY Expression I have put NodeOrder,NodeLevel,NodeName.
I have check Use site settings under Combine with default culture in Content filter section.
But still it displays the way I have described earlier. Any idea please.