Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By drupol on
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
=-=
What matters here is the entirety of the URL. What is the URL that includes one of these content types.
What VM said, path to D7 URL
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!
Drupal Hosting
NIH Cancer Study: Supplemention with both vitamins and fenbendazole exhibited significant (P = 0.009) inhibition of tumor growth.
step 1 - You will need to set
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
Thanks.
Thanks.