Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a Field Section appear first?

I have a page template that inherits multiple data templates.

Take for example: Event Page

which inherits: Basic Page, HasDateRange, and HasLocation

Now, I want the Date Range field group of the HasDateRange template to appear first when editing Event Pages. That's a simple example, but in general, how can I influence the field group order on templates when using multiple inheritance? Let's say I don't need DateRange at the top of one template and at the bottom of another... I generally have more important fields that need to appear at the top of every template they are included on.

Not sure it matters, but I am using Sitecore version 7.1

like image 347
Patrick Jones Avatar asked Dec 18 '25 14:12

Patrick Jones


1 Answers

Template Section items have a sortorder field which accepts an integer. That number governs the order in which sections will appear.

enter image description here

Here's an article from the Sitecore site: Sorting sections in templates

Also, see the following Stack Overflow question: Sortorder of Inherited Templates

like image 136
Martin Davies Avatar answered Dec 21 '25 23:12

Martin Davies



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!