开发者

Drupal : Drupal6 views : Filter restriction

开发者 https://www.devze.com 2022-12-21 11:23 出处:网络
I am a newbie to Drupal, hope somebody can answer my query. I think I am facing a weird problem in views..I have a content type of say Company and have 开发者_JAVA百科around 3-4 pages added to it. The

I am a newbie to Drupal, hope somebody can answer my query. I think I am facing a weird problem in views..I have a content type of say Company and have 开发者_JAVA百科around 3-4 pages added to it. The sequence is as 1. Company - default page 2. View company 3. Search company 4. New page

The problem is when I go and add a Filter to the Search company page then that filter get shared with the default page and new page but doesn't get shared with the view company page, I am not sure what is causing this as I want that filter to be applicable for the search page and do not get shared across other pages.

is there a setting where I can restrict this filter getting shared ?

Thanks in advance - Dev-Drupal.


If you want to set a filter only for one display, you have to, on the configuration of that display :

  • specify that the filters should "override" the default ones
  • specific the specific filters you want on that display.

See What are overrides? for a little longer description.

Basically, on the configuration of the "Search company" display, when you are trying to configure filters, you should choose "override" before specifying your filters.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号