A
A
Adam2015-05-15 22:04:21
MongoDB
Adam, 2015-05-15 22:04:21

Drupal: Create your own template for a single article type of material?

Welcome all.
Comrades, if anyone knows, tell me.
There are (for example):

  1. Drupal 7.37
  2. It has a material type "Services (Machine name: services)"
  3. Based on this material, the article "Article-Machines" has been added and its url is "www.site.ru/services/statya-mashini/"
Question:
Is it possible to make (customize page.tpl.php) a template/view just for this article "Article-Machines", i.e. do like "page--services--statya-mashini.tpl.php"?
Attempts to follow the recommendations:
How to change the template for a specific Drupal 7 page?
https://www.drupal.org/node/1089656
www.drupal.ru/node/80858
unfortunately did not give the desired result :(
The template itself for all material "services" works i.e. "page--services.tpl .php" displays as it should, but as if on a separate article ...
And is there such a possibility in principle?
I hope for the help of experts. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Romashkan, 2018-06-12
@Jumandjilos

Free hosting for nodejs + mongodb project?

A
afi13, 2015-05-15
@Adam

https://www.drupal.org/node/1089656
Create a page--node--NID.tpl.php template, substitute the nid of the desired node. Clear cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question