Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2023-02-19 11:53:07
- murnau
- Member
- From: Lower Saxony, Germany
- Registered: 2022-10-23
- Posts: 11
Main menu -- sort items
I made a new section including a page. It is now present in the main menu. How do I change the order of the items in the menu?
Offline
#2 2023-02-19 14:51:27
- murnau
- Member
- From: Lower Saxony, Germany
- Registered: 2022-10-23
- Posts: 11
Re: Main menu -- sort items
I looked around and finally found a solution:
In Presentation > Forms > Miscellaneous > body_header i had to put the textpattern-tag ‘sections’ in – with the sections in the correct order.
In my case it looks like this:
Before:
<txp:section_list default_title='<txp:text item="home" />' include_default wraptag="ul" break="">
After:
<txp:section_list sections="default, articles, about" default_title='<txp:text item="home" />' include_default wraptag="ul" break="">
The menu now:
Home Articles About
Last edited by murnau (2023-02-19 16:57:35)
Offline
Pages: 1