Theming a single node.
I've been looking all over to try and figure this one out but haven't found what I'm looking for yet.
The situation.
I have a group of nodes all of a certain content type.
They all belong to different terms and have paths accordingly. ie. sitename/sectionname/termname/title
Except the one landing page which is sitename/sectionname, which is a node of the same type. (It is using the wikitools module and is the main page of the wiki)
This is great except that I need to theme the front page differently than the rest of the content.
Specifically I need to theme how the node is displayed (the rest of the page is fine).
ie. I don't want title, tags, etc to appear.
I also have pathauto installed.
Currently:
page-(sectionname).tpl.php
node-(type).tpl.php
both are working on all content of that type....
I have tried using these below to differentiate:
node-(nid).tpl.php
node-(type)-(nid).tpl.php
node-(sectionname).tpl.php
node-(sectionname)-(nid).tpl.php
page-(sectionname)-(nid).tpl.php
page-(nid).tpl.php
I'm not sure what else to try here...
and am hoping I'm missing something obvious...
any suggestions out there?
-brian
a bit more to add....
Themeing based on path. I have this happening all ready, and the node is the root of that path, but I want it to be the exception of how the path is themed, without having to create a deeper path or theming all the sections separately.
ie. siteaname/sectionname/term/ I don't want to become siteaname/sectionname/string/term/
nor do I want to put separate themes for all siteaname/sectionname/term/'s + siteaname/sectionname

One quick-and-dirty way to do
One quick-and-dirty way to do it is:
Add the node's ID to the body tag, e.g.:
<body id="12345">Then style the node using
body#12345 {my-style: is here;
}
A sprinkling of display:none; should remove your titles, tags, etc. from the "visible" content.
HTH,
Phillip.
--
Phillip Smith,
Community Bandwidth
Keeping technology simple for progressive non-profits
http://www.communitybandwidth.ca
This comment in the theme
This comment in the theme developers guide tells you how to have node-[nid].tpl.php suggestions - http://drupal.org/node/190815#comment-1113949
Unfortunately they are not default template suggestions in Drupal 6, so you need to add the snippet of code the preprocess node function.
Professional Drupal Design and Theme Services