New features If you wish to suggest a new feature, please use the New features forum for version 3.x.
Version 2.x > New features > CMSDesk Tree menu ordered View modes: 
User avatar
Member
Member
wahid - 5/18/2005 8:01:17 PM
   
CMSDesk Tree menu ordered
Hi,

In the CMSDesk Content page, it would be great if the tree menu could show documents ordered by the "Order" variable of Page (Menu Item), or a custom order criteria for custom created document templates.

Thank you!

User avatar
Guest
admin - 6/8/2005 7:00:04 PM
   
Re: CMSDesk Tree menu ordered
Hi Wahid,

Generally, the CMSTreMenu control should display the items ordered by the Order field. If it doesn't work, could you please send me more details? What SelectNodesClassNames value did you set?

We will try to improve the ordering support in some of the next versions.

Best Regards,

User avatar
Member
Member
kpatton - 8/17/2005 8:29:09 AM
   
Re: CMSDesk Tree menu ordered
I think that all documetns (nodes) should have an order property, not just page (menu item)s. This way, the tree menu will have a value it can use regardless of whether specific class names are specified

User avatar
Member
Member
janusz - 8/17/2005 3:27:50 PM
   
Re: CMSDesk Tree menu ordered
Yeah. I would love that feature too.

User avatar
Guest
admin - 8/18/2005 11:06:09 AM
   
Re: CMSDesk Tree menu ordered
Hi Janusz and Keith,

thank you for your suggestion. We will add this feature in version 2.0.

Best Regards,

User avatar
Member
Member
janusz - 8/18/2005 12:02:23 PM
   
Re: CMSDesk Tree menu ordered
Cool!

For now, I think I could do the different sort order by:

1. Add a new column to CMS_tree - KB0012 - Adding a custom field to all document types (global field)

2. Update GetChildNodes in TreeData.aspx that it calls tree.SelectNodes with the order clause and set on the new column in CMS_tree

3. I am still not sure how to enable users to edit a sort order in CMSDesk but in worst case I can create some simple UI outside of the normal Content tree.

Janusz

User avatar
Guest
admin - 8/18/2005 1:09:53 PM
   
Re: CMSDesk Tree menu ordered
Hi Janusz,

If you decide for this workaround, you could create up/down buttons in the "list" mode in the Content section and modify the CMS_Tree.<itemorder> column when user hits the up/down button.

Best Regards,

User avatar
Member
Member
janusz - 8/18/2005 1:29:59 PM
   
Re: CMSDesk Tree menu ordered
I like that. Thanks for the idea!

Janusz

User avatar
Member
Member
ricardo.fiel - 11/25/2010 7:00:21 AM
   
RE:Re: CMSDesk Tree menu ordered
Hi, I added a column to CMS_Tree as well, but now CMSContext.CurrentDocument is always null.

I can't find the KB0012 article.

Are there any aditional procedures that need to be taken?

Thank you

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 11/25/2010 7:20:36 AM
   
RE:Re: CMSDesk Tree menu ordered
Hi,

what version of Kentico CMS do you use?

This forum thread is 5 years old... The newer versions have the field for node order built-in.

Best regards,
Helena Grulichova

User avatar
Member
Member
ricardo.fiel - 11/25/2010 7:38:45 AM
   
RE:Re: CMSDesk Tree menu ordered
Hi Helena,

We're using the latest version (5), and our problem is not the node order. Is implementing a comments feature, common to a lot of document types.

Thank you,
Ricardo

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 11/25/2010 9:31:19 AM
   
RE:Re: CMSDesk Tree menu ordered
Hi Ricardo,

in this case please see this documentation: http://devnet.kentico.com/docs/devguide/custom_document_data.htm

Best regards,
Helena Grulichova

User avatar
Member
Member
ricardo.fiel - 11/25/2010 9:52:28 AM
   
RE:Re: CMSDesk Tree menu ordered
Hi Helena,

That's one of the first options we considered, but doesn't fit our needs. We ended up doing this in a different way after talking with the client.

But changing CMS_Tree may be an option in some scenarios and I'm still wondering the impact it would have on the rest of the cms.

Thank you,
Ricardo

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 11/26/2010 2:21:05 AM
   
RE:Re: CMSDesk Tree menu ordered
Hello,

Thank you for your reply. If you follow the instructions from the Developer's Guide it does not affect the standard behavior of system. Do you have on your mind a distinct impact?

Best regards,
Helena Grulichova

User avatar
Member
Member
ricardo.fiel - 11/29/2010 8:14:27 AM
   
RE:Re: CMSDesk Tree menu ordered
Hi Helena,

Using the instructions for NodeCustomData doesn't have any impact. In more advanced scenarios, a single column (even when xml is used) may not be enough. But for now, we're ok.

Thank you,
Ricardo