Jump to content

Sorting pages in templates with a field and page width different templates


Guy Verville
 Share

Recommended Posts

I have a template called activité (activity) which is sorted by a date field in the template. In the depth of a branch of the the activité page trees are regular pages that belongs to just one activity. I can't rearrange those regular pages (they don't have a date field). Why?

The image below shows the tree.

Montreal en rose is an activity sorted by the date field, but its children are regular pages with no date field. 

post-1691-0-38619500-1396105577_thumb.pn

Link to comment
Share on other sites

From here i can not see what kind of child pages Organigramme has, but in general when you want sorting for the children you need to set it in the parent template. So when you need different sorting you need to use an other template.

You could try the following setup where you have the folowing templates:

(You might be able to do it with less then these templates, but its just to give an idea)

  • activites-group -> children sorted by: none
  • activites -> children sorted by: date field
  • activite -> children sorted by: manual drag&drop
  • activite-detail -> children sorted by: none
  • activite-detail-child -> children sorted by: none

With the page tree used from your screenshot:

Activités

Activités à venir

Activités récentes

Le vieillissement dans tous ses états

Montréal en rose

Nous joindre

Pré-programmation

Organigramme

Child 1

Child 2

Child 3

Informations pratiques

Appel à bénévoles

Archives

Archive-activité 1

Archive-activité 2

Archive-activité 3

  • Like 1
Link to comment
Share on other sites

Hello Raymond,

As I have said, there is only one template who is sorted by a field, and it is activite. Underneath it, what you have entitled activite-detail has not that field and it is sorted by none, as you suggested. But I get this error message when I try to sort those activite-detail.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...