Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-13 17:51:06

twisted29
New Member
Registered: 2008-03-11
Posts: 3

Sections Order

When I create a new section it just gets added to the end. How do I change the order in which the section show up.

For example I have 2 sections A and B. I create section C. Now in my Nav I have sections A, B, AND C, but I want section C to show up first C, A, and B.

Offline

#2 2008-03-13 18:00:10

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Sections Order

<txp:section_list sections="C,A,B" />

regards

Last edited by marios (2008-03-13 18:01:05)


⌃ ⇧ < ⌃ ⇧ >

Offline

#3 2008-03-13 18:06:45

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Sections Order

Are you using the “<txp:section_list />” tag?
In such a case you can add the “sections” attribute to the tag:

<txp:section_list  sections="section c, section a, section b" />

edit
Oops sorry for the repetition marios was faster than me ;)

Last edited by redbot (2008-03-13 18:10:24)

Offline

Board footer

Powered by FluxBB