Skip to main content
Post Merged (destination) from drupal.stackexchange.com/questions/73136/…
edited title; edited tags
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Candidate page tpl nametemplate filename for particular custom content type entry

I'm working on a Drupal 7 website. I created custom content type for works. I have many fields, and some of them are related to page layout like particular page bg for each entry. So I need custom page.tpl for this particular content type.

So I activated and opened Theme Developer module, and clicked the body area to get candidate name for this particular content type page entry. and it gives me the screen below which doesn't mean anything to me :/ When I click the node area, it is fine, it gives node--work.tpl.php, but I need for page. I tried "page--work.tpl.php", it didnt work.

What am I missing?! Appreciate helps!! thanks a lot!!!

enter image description here

Candidate page tpl name for particular custom content type entry

I'm working on a Drupal 7 website. I created custom content type for works. I have many fields, and some of them are related to page layout like particular page bg for each entry. So I need custom page.tpl for this particular content type.

So I activated and opened Theme Developer module, and clicked the body area to get candidate name for this particular content type page entry. and it gives me the screen below which doesn't mean anything to me :/ When I click the node area, it is fine, it gives node--work.tpl.php, but I need for page. I tried "page--work.tpl.php", it didnt work.

What am I missing?! Appreciate helps!! thanks a lot!!!

enter image description here

Candidate page template filename for particular custom content type entry

I'm working on a Drupal 7 website. I created custom content type for works. I have many fields, and some of them are related to page layout like particular page bg for each entry. So I need custom page.tpl for this particular content type.

So I activated and opened Theme Developer module, and clicked the body area to get candidate name for this particular content type page entry. and it gives me the screen below which doesn't mean anything to me :/ When I click the node area, it is fine, it gives node--work.tpl.php, but I need for page. I tried "page--work.tpl.php", it didnt work.

What am I missing?

enter image description here

Drupal 7: Candidate page tpl name for particular custom content type entry

Post Migrated Here from stackoverflow.com (revisions)
Source Link
Drupal guy
  • 296
  • 2
  • 6

Drupal 7: Candidate page tpl name for particular custom content type entry

I'm working on a Drupal 7 website. I created custom content type for works. I have many fields, and some of them are related to page layout like particular page bg for each entry. So I need custom page.tpl for this particular content type.

So I activated and opened Theme Developer module, and clicked the body area to get candidate name for this particular content type page entry. and it gives me the screen below which doesn't mean anything to me :/ When I click the node area, it is fine, it gives node--work.tpl.php, but I need for page. I tried "page--work.tpl.php", it didnt work.

What am I missing?! Appreciate helps!! thanks a lot!!!

enter image description here