Drupal 7 - Blocks: how do you specify it a list of pages except certain pages? -
Drupal 7 - Blocks: how do you specify it a list of pages except certain pages? -
i created block want appear on these paths:
example.com/sample/1 example.com/sample/2 example.com/sample/3 example.com/sample/4 example.com/sample/6
however, don't want appear on:
example.com/sample/5
under visibility setting block, can select show block on "only listed pages" , come in /sample/*
howevever, how tell not show in /sample/5 without typing out other paths individually? there "except" or "not" indicator somehow how * indicates all?
use the context module handle placement of block. allows specify paths block should display on, should not (by starting path ~)
for example, in context can specify paths so: sample/* ~sample/5
this tells drupal display block on paths match "sample/*" except "sample/5"
drupal-7 block
Comments
Post a Comment