How can I build differents node type.
oskar_calvo - May 9, 2008 - 11:41
Hello, I am reading that If I want to make a ifferent block I only need to make a new block.tpl.php file and bring up to the theme.
But If I want to make a new node.tpl.php How can I make it.
Can I make node-idnode.tpl.php, or node-module.tpl.php, or node-typeofcontent.tpl.php?
I only have found this nodes in the community
http://drupal.org/node/46012
http://drupal.org/node/45944
http://drupal.org/node/11816
http://drupal.org/node/11813
thanks
Oskar

=-=
node-contenttype.tpl.php themes that content type
That much I can tell you at this point, Unfortunatley you did not tag your thread with the version of Drupal in use, nor did you mention it in your post. That said, it's hard to be specific and point to you correct documentation as well as help.
If using Drupal 5 & earlier you will want to start here: http://drupal.org/theme-guide/5 & http://drupal.org/node/104316
head over to the drupal-dojo.com site and search for themeing to find videocasts on how to theme in Drupal.
and if you've not already check out this area of drupal.org for some videos and slides http://drupal.org/handbook/customization/videocasts
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
After reading the link
After reading the link above, http://drupal.org/node/104316, have a look also on contemplate module.
Hi Oskar!
According to Pro Drupal Development (the book), yes, you can do just that.
PHPTemplate will choose your new node template over the default.
Sorry VeryMisunderstood , I
Sorry VeryMisunderstood , I do not realize of that, I'm working with Drupal 5.x, the theme is zen. And thanks proudleo.
I think I get it in this comment: http://drupal.org/node/117491#comment-231929
Oskar
gestión del conocimiento y de la información con software libre
Actually I think you want
Actually I think you want http://drupal.org/node/17565
What VeryMisunderstood pointed out in the first comment is correct.