drupalfun.com
Create a block with .tpl file
Submitted by rohitgoyal on Fri, 04/30/2010 - 14:06
Status:
Open Question:
I want to create a block and when we click on its content i want to call a .tpl file for their structured view? I am wondering how could i do this.If someone have suggestions or have some code snippets please share this. Thanks !


1. what do you mean by 'when i
what do you mean by 'when i click on its content'.
I think you might be trying to view a certain node type. In that case, you can just create a .php.tpl file with the name of the content type in it, it will automatically be used.