Andrey S Posted September 22, 2020 Posted September 22, 2020 How to filter by additional fields in a template? I cannot understand how to filter by additional fields in the "Featured Records (First page when viewing a database set to show featured articles)" template? Filtering (sorting) is available in the "Categories" template, but I can't do it in the news list ... Prompt or push on the right idea. Thanks in advance.
Solution opentype Posted September 22, 2020 Solution Posted September 22, 2020 (edited) Yeah, it works like that. The featured records template is meant like a “blog homepage showing latest articles”. It doesn’t do much more. Everything to control this view is in the database settings: You can narrow down the selection to certain categories or featured records only but that’s it. Edited September 22, 2020 by opentype Andrey S 1
Andrey S Posted September 22, 2020 Author Posted September 22, 2020 2 minutes ago, opentype said: Yeah, it works like that. The featured records template is meant like a “blog homepage showing latest articles”. It doesn’t do much more. Everything to control this view is in the database settings: You can narrow down the selection to certain categories or featured records only but that’s it. That is, I can only sort by database categories? Is it impossible to do this by fields separately using Ajax? Is it only possible to make a drop-down menu using ntml and add links to categories there, make similar templates for each category and thus implement your idea? Or use javascript to make a separate sorting via data-filter='7.62' 😕
Recommended Posts