Problems with filter and ajax filters

Posted in: Newspaper
Post count: 5

Hello!
I filter out everything in a category that has a specific tag (MySpecialPosts). Uses Block 16.

I also use Ajax filter to view different tags.

Here comes the problem. When I click on a tag in Ajax filter all posts shows with that tag.
But do not hide posts that do not have the basic tag (MySpecialPosts) that I put into the filter settings?

Post count: 22421

Hello,

Please make sure you add the tag id in the ajax filter: http://screencast.com/t/hEtCVRnaPeI
The ajax filter works with id;s not the tag itself.
I just tested this on my end but could not see the issue. If you select a particular category and a particular tag inside the filter section of the block settings and then use the tag id in the ajax filter: http://screencast.com/t/uWXL3TXhhj8l then there won;t be any posts from outside the category and the tag.

Thank you!

Post count: 5

Hm, I have 4 posts

Post 1: tag1, tag2
Post 2: tag1, tag3
Post 3: tag1, tag2, tag3
Post 4: tag2, tag3

In the filter settings, I choose to only show posts with “tag1”
In ajax setting only to show tag2 and tag3

If i select tag2, “Post 1”, “Post 2” and “Post 4” will show upp? (Post 4 has no “tag1”).

Shouldn’t “Post 4” be hidden because I choose to only show posts with “tag1” in filter settings?

Post count: 22421

Hello,

Here is how the filtering settings work .on your first load there will be all posts that contain tag 1 as you filtered the block to show tag 1. On the ajax filter you will show all posts from tag 2 and tag 3, but they do not have anything to do with the first tag on the filter tab. Here is another example so you will understand this better. If we use categories instead of tags. If i filter a category in the filter and another in the ajax filter…what happens then? should the ajax filter not show anything because I filtered another category. That is why on elements of the same level meaning tags or categories, the ajax filter will be separate from the block filter. If you filter tags from a certain category it will work but if you filter tags and other tags, then on your first load, you will see posts from tag 1 and in the ajax filter you will see posts that have tag 2 and tag 3.

Thank you!

Post count: 5

Thank you for the explanation!

Post count: 5

I do not really understand.

I use one category and one tag (tag1) to filter.

If I choose a different category for Post 4.
Post 4 will not show if I click “tag2” on ajax.

If the filter and ajax filters do not work with each other, why it is not visible when I click on tag2 now?

Post count: 5

You must not answer. I’ve tried some different set-up and understand enough what works and not between the filter and ajax.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.