Jump to content

PageTable field content in wrong order


Jozsef
 Share

Recommended Posts

Hi there, I can't wrap my head around this one, can someone help me with sorting this multi value field?

Pages created by PageTable are hidden so they don't mix with "real" pages in the admin. I get the page content with $page->getUnformatted("field") and the use a foreach loop to display the content.

It used to work just fine but on the last two websites the pages are all mixed up. Using the selector sort=sort displays them in the order they are listed in the admin, not in order they are listed in the PageTable field. I don't know how to access the "internal" sorting as per screenshot. Again, it used to work just fine, i don't know what has changed.

Does anyone have any idea how to get the front end follow the order of the PageTable field content?

282645152_Screenshot2023-03-22at17_39_33.png.0eaaefb07e45d08533a37b783962a39e.png

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...