Good afternoon,
I'm working through a new installation of drupal. It's a mountain biking site. There are three + one main trails that I want to do a little news feed for. The latest news should appear on the front page (currently just promoted blog entries) http://www.mtbthebruce.com/
However, when I click on the title for the blog entry, the story doesn't appear on the node/## page. For example:
http://www.mtbthebruce.com/node/97
I've wandered all through the blog.module and the node.tpl.php files and I can't figure out what I've "customized" that's making the $content not display on the second page. Do I need to add another node-blog.tpl.php file?
Thanks for any pointers, I'm at a bit of a loss on this one!
Comments
print_r($GLOBALS)
I tried printing all the available variables by using print_r($GLOBALS), and indeed the $content is not available on the second "node" page for my blog entries...
try print_r($node)
Try print_r($node) to see node specific variables and consider removing your node.tpl.php to see if that's causing the problem or not.
problem lies in node.module
AHA! Thanks for the clue of removing node.tpl.php... I remember now that (back in May) I was getting error messages and tried tweaking the node.module file. Obviously something went wrong, but now I know where to look. (I tried just putting the original version back in and I still get the error message.) MUCH THANKS for the pointer though. I've got somewhere to look now!!