By geestring on
I have my page.tpl.php that I have been working with but now I need custom node tpl's. So far i've been feeding in page Views and Page node types, however any other node type like my Event type displays nothing. creating a node-event.tpl.php does nothing. Theme developer shows that I can use page.node-111.tpl.php, but I dont think that is what I want.
Why don't my node types display anything, other than Page and page Views?
Thanks
Comments
Please be more specific. What
Please be more specific. What you want to print from the node templates? What theme are you using as sub-theme??
Use Zen starter theme. There are a list of available variables on the top of the template files commented. When you are creating a content-type-specific template, first copy-paste the original node.tpl.php and then rename it to whatever you want. Then make change to the template file.
Thanks
this is a custom theme from
this is a custom theme from scratch.
I have made custom templates for my Views, and Page nodes just show up in page.tpl.php.
Basically, im listing my Event nodes using a page View, and when you click on the link it will bring you to the full node. The actual node.
actually my node template is
actually my node template is being seen because I did this:
print $content; print "blag";and blag showed up!
What is $content then? What is that supposed to print out?