Drupal - özel içerik türüne özel bölge

0 Cevap php

Ben sadece özel bir içerik sayfasında ve bloklar da büyük sıkıntılar yaşıyorum.

So here's the problem; I have block X that I want to display on a node that is of a custom content type Y. I do not want this block to show on every page, only those that are of a given content type.

If I define custom region Z on my custom content page template (eg. Y.tpl.php) I can't print region contents on there ($Z) since the variable appears to be empty. If I define that very same region on a page.tpl.php i can print region contents with no problem.

Yani sorun bölgenin değişken ($ Z) özel içerik sayfasında geçti olmadığını düşünüyorum. I bu davranışı elde edebilirsiniz herhangi bir yolu var mı?

0 Cevap