Drupal: Toggling "posted" Information in Content Types
File this one under "holy-cow-I-can't-believe-how-much-time-I-just-spent-figuring-out-how-to-this".
What I'm talking about is this: the "posted" information is the information stored in the PHPTemplate's $submitted variable: "posted 2007-08-01 12:32:42 by admin". Normally, this information is displayed right before or right after the node's main content.
I recently ran across this problem when I was working on a site with numerous content types - all created with CCK. I was working on theming one of the content types and I couldn't figure out why the $submitted variable wasn't being populated when the node was displayed.
All the other content types were behaving as expected - all their "posted" information was displaying. I checked the content type definition and the content type settings for a checkbox or something that would toggle the "posted" information. No luck. Only after searching Drupal.org did I find it: the checkbox is located on the theme config page.
Now, on one hand, I can understand why it is there - it is sort of a theming thing. But for me, I think it makes much more sense on the content type's edit page. This way, it appears along side the rest of the configuration items for a particular content type. Taking it off the settings page for themes doesn't really make that much of a difference, as it only appears on the global settings - it is an all-or-nothing thing regardless.
At least I'm not alone.
