令人满意的内容过滤器可能在drupal? [英] Behance-like content filter possible in drupal?

查看:129
本文介绍了令人满意的内容过滤器可能在drupal?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问了同样的问题这里,但没有回答,所以我在这里试试而是:)



嘿,



我在一个类似于 Behance



为了让你明白我在说什么,我我会解释一下;



我有一个名为内容的内容类型,可以分为三类:类别1,类别2和类别3。



然后,我找到一个名为内容过滤器的页面,我可以看到不同类别的所有内容。 >

在此页面上,我可以通过选择类别和时间(自上传内容以来的时间)过滤应显示的内容。



所以如果我选择类别1和1个月或类似的东西,它将过滤页面上的内容到我所选择的,而无需上传页面。所以我会称之为直播内容过滤器,我希望你得到这个想法。



无论如何,
我知道如何做到这一切,但是那么它不是过滤而不去另一个页面,我必须让太多的意见。



希望有人可以帮助我,这将是非常好的。 p>

解决方案

你想要设置你的View设置,它说,使用AJAX:否。这样和暴露的过滤器/寻呼机将动态加载过滤的内容,而无需重新加载页面或转到其他页面。您可能需要尝试使用阻止显示与页面(URL路径)显示。您可能还需要使用视图参数来减少您需要创建的视图数量。


Asked the same question here but got no answer, so I'm trying here instead :)

Hey,

I'm working on a site somewhat similar to Behance.

To make you understand what I'm talking about, I'll explain a little bit;

I got a content type called say... "Content", which can go into three different categories, "Category 1", "Category 2" and "Category 3".

Then, I got a page called "Content filter" where I can see all the content in the different categories.

On this page I'm able to filter what should be shown by choosing category and time (time since uploaded content).

So if I choose Category 1 and 1 Month or something like that, it will filter the content on the page to what I choose, without uploading the page. So I would call it something like "Live content filter", I hope you get the idea.

Anyways, I know how to make all this, but then it's not filtering without going to another page, and I have to make way too many views.

Hopefully someone can help me with this, would be really great.

解决方案

You would want to set your View setting where it says, Use AJAX: No to "Yes". That way and exposed filters / pagers will dynamically load the filtered content without doing a page reload or going to another page. You may have to experiment with using a "Block" display vs. a "Page" (URL path) display. You may also need to use Views Arguments as a way on cutting down on the number of Views you need to create.

这篇关于令人满意的内容过滤器可能在drupal?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆