All teaser - where'd my body go?
This is totally the weirdest thing I've ever experienced using Drupal. I've done so much work on this particular site in the past 48 hours. I tried to retrace my steps, revert old databases, but this problem persists - so I assuming it has something to do with files.
Problem
Viewing any content type on my site is only showing me the teaser view.
What I mean is that I can click on a $node->title; link anywhere in the site and it brings me to another teaser view. Just that node, but only the teaser. This is happening for blogs and stories. My read more links take me to teasers and everything is showing as a teaser. I'd say this is a tease, but I'm not super amused currently.
What have I done so far
I've reverted to databases with which I am sure things worked. No dice. Am back to the proper db.
I've reuploaded Drupal Core )5.17.
Everything is up to date (besides Views bonus which won't note that it's been done even though it has been done 7 times)
I've deleted all of core and replaced it with a fresh download.
Deleted date cck and ran the date uninstall, then reinstalled it.
What modules do I have installed?
Most recently:
upgraded date
installed signup and invite
What did I have installed before all this madness?
Location, GMAP, Ad, Abuse, Admin Menu, Modr8, cck_map, contemplate, emfield, link, noderef, blog, tracker, throttle, Calendar, Date, Event, Image Attach/Gallery, Imageapi imagecache, jscalendar, private messages, nodeprofile, notifications, login menu, og, fckeditor, flatcomments, formfilter, imce, logintoboggan, pathauto, quote, sitemap, views, views bonus, workflow-ng.
I have no idea where to start - how to debug in to this and what to look for.
Any help anyone is able to offer - or maybe hit me up in #drupal-support to walk through some things?
Thanks so much for reading.
Cheers,
Adam

Do you always see a teaser
Do you always see a teaser when you browse to http://example.com?q=node/{number} ?
Have you modified your current theme's node.tpl.php file?
Have you added any node-page.tpl.php or node-blog.tpl.php files to your current theme?
Hm, i think you got it there
Hm, i think you got it there cog!
My templates changed - I'm trying to have them for specific views pages and am not doing the naming properly, so trying to use the same template for
conditions:
front page
teaser
body
arg(0) = 'view_page_name"...
I know there is a beetter way to do this but i have to figure that out.
I need nodes to look a certain way in a view which shows 4 kinds of nodes - so I was trying to cheat the node.content_type.tpl.php tempalte.
i.e.
<?php
$arg0 = arg(0);
if ($is_front):
?>
front page stuff
elseif ( $arg0 ="updates_stories" ):
?>
stuff for views page
<?php
elseif ($teaser):
?>
teaser stuff
else :
main body stuff
How should I be doing this for node types specific to a view?
If this your exact code,
If this your exact code,
- $arg0 becomes "update_stories" (because of the "=" instead of "==")
- so, the first elseif is always true ($arg0 > 0), and the "stuff for views page" is always printed if it is not the front page
- nothing else after that is ever printed.
If this is not your exact code, of course I have no idea what is wrong.
oh wow .. i think i need to
oh wow .. i think i need to add .rusty to my name too!
it was the = instead of ==
wow. I vow to never make that mistake again.
thanks for the assistance. very much appreciated.
i looked everywhere but there.
cheers,
adam