We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Question

Perch_item_index in reverse?

I'm using perch_content_custom to display a list of events and numbering them with perch_item_index. I'm also sorting the list by date and in reverse chronological order using sort-order->DESC. When I do, the list is numbered 1-X thanks to perch_item_index. However, I'd like it instead to be numbered X-1. Is there a way to have perch_item_index number this list, but in reverse, with the most recent event having the highest number of total items, and the oldest event being numbered with 1?


Franz Neumann

Franz Neumann 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Awesome. Thanks!