Forum
Sort perch_content_custom by the order of pages in the CMS
Hi,
The website I'm working on has several products listed under three different product lines. Using perch_content_custom, I'm getting a region from these product pages that stores a blurb about the product, and then displaying it on the parent page.
The client asked me how they could sort the order of the blurbs; in their mind re-arranging the products' pages in the CMS list should sort the items on the frontend; this makes sense to me as I'd also expect this kind of behaviour. Unfortunately there is no way of accessing the order of the pages as seen in the CMS admin interface as this doesn't get exposed.
Would it be possible to allow sorting in perch_content_custom using the page's pageOrder value that gets stored in the DB? I'm not sure how many people encountered this before but it would be a nice to have.
This question has been asked here before: https://forum.grabaperch.com/forum/11-07-2014-sorting-by-page-order
Thanks, Sara
You can't currently, but we'll log the request.
Hi That would be a very useful feature for a project I'm working on. Thanks