Hi, 

I created a content type as "where we buy" and machine name is "where-we_buy".

I created a block and I like to display to some pages and all pages of the content type. 

Under block edit page, I selected "only the listed pages". then pasted this:

where we buy*
where-we_buy*
where-we_buy/*
blog
faq

I can see the  block on blog and faq pages but I do not see it any pages of the content type. How do I say "all pages of content type using *"?

Thanks.

Comments

VM’s picture

What matters here is the entirety of the URL. What is the URL that includes one of these content types.

Michael-IDA’s picture

What VM said, path to D7 URL aliases » Patterns is:

Home » Administration » Configuration » Search and metadata » URL aliases » Patterns
/admin/config/search/path/patterns
 

Best!

passionatestars’s picture

step 1 - You will need to set the url patterns for "what_we_do" content type from here - /admin/config/search/path/patterns

step2 - once, you set the pattern, you will need to perform the bulk updates of the nodes for this content type, so the path for all nodes from this content type will like this -

what-we-do/title-of-page-1

what-we-do/title-of-page-2

what-we-do/title-of-page-3

step 3 - Iinto the block visibility rules, you should choose "only the pages listed below"

what-we-do/*

Hoope, this solves your problem.

Thanks and Regards

passionate stars

http://www.passionatestars.com

drupol’s picture

Thanks.