drupaldrupal-7drupal-viewsdrupal-exposed-filter

drupal 7 views block and contextual filter not working


I'm trying to set a contextual filter for a block type views but when I preview it, it returns nothing... More specifically when I try the same view as a page the Contextual filter is working fine and filtering the content but when I try the view as a block nothing is returned although the "Provide default value" is set as "raw value from url". Any idea what might be the problem? By the way I tried the solution here but it's still not working https://drupal.stackexchange.com/questions/13868/drupal-7-views-contextual-filters-with-page-blocks


Solution

  • The solution was to re-install drupal, no idea why, clearing the cache wasn't helping.