Timeline for How to filter articles that are in front page with taxonomy
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 15, 2020 at 9:13 | history | edited | CommunityBot |
Commonmark migration
|
|
Mar 8, 2017 at 16:20 | comment | added | George Chanturia | yes i solved it.... i made entirely different solution... i made 4 twig files for each taxonomy term and made also 4 views with 4 different URLs and by hitting thous URLs i get filtered articles by taxonomy term. I know this solution is not ideal but it works for now. | |
Mar 8, 2017 at 15:28 | comment | added | Yassin Tahtah | Sorry for the late answer, have you solved it yet? It is indeed possible to create 4 different displays in a view. You could just render each view block under each tab. This will be harder on your database since they will all load at the same time, but if we aren't talking about a lot of data it should be minor. | |
Mar 7, 2017 at 14:03 | vote | accept | George Chanturia | ||
Feb 23, 2017 at 15:41 | comment | added | George Chanturia | aaa OK i get your point... but doing so, I would have only filtered article by one taxonomy criteria in a view... I want to have them all and by the clicking the buttons that i have in moqup in the center of a page i want to filter the article by the taxonomy criteria... (by the way can i have multiple views in a view? if i can than the problem is solved i could use 4 different views with filtered by taxonomy criteria and show them in one view in a front page) | |
Feb 23, 2017 at 15:07 | comment | added | Yassin Tahtah | I assume you have already made your view filtering on content type "Article"? And that you are already displaying it on the front page? Just go back to that view and add a new filter under "filter criteria" in the bottom left of the view admin UI. Pick the taxonomy field you use in your article content type. For example, if the field is called field_category, search for that field when adding a filter. | |
Feb 23, 2017 at 12:11 | comment | added | George Chanturia | Thanks for replay, but could you be more analytic of what should i do? i am not good at drupal at this moment.... | |
Feb 23, 2017 at 11:18 | history | answered | Yassin Tahtah | CC BY-SA 3.0 |