Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2023-02-19 11:53:07

murnau
New Member
From: Lower Saxony, Germany
Registered: 2022-10-23
Posts: 9

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
New Member
From: Lower Saxony, Germany
Registered: 2022-10-23
Posts: 9

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

Board footer

Powered by FluxBB