+ Reply to Thread
Results 1 to 3 of 3

Thread: Is there a way to add sort by: fields to pages generated by field bound boxes?

  1. #1
    Senior Member
    Join Date
    Dec 2023
    Posts
    161

    Is there a way to add sort by: fields to pages generated by field bound boxes?

    Under the H1 title is a dropdown sort by:
    On category and filter generated pages, this sort by: dropdown has the fields I've added to the sort box builder for my main category including length, price, and year.

    However, on pages generated by field bound boxes, the sort by: dropdown has only category, status, and date. Is there a way to add the same sort fields (length price year) to the sort by: on pages generated by field bound boxes?

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,174
    It will require a customization as the listings are from different categories, therefore, they will have different forms

    but you can add sorting fields manually here: plugins/fieldBoundBoxes/listings_by_field.inc.php > $sorting = ...

  3. #3
    Senior Member
    Join Date
    Dec 2023
    Posts
    161
    Perfect! I only have one type (all categories are the same sorting options right now) so doing this manually works for me for now, and then I can customize if I need to add complexity to this later. Thanks!

+ Reply to Thread