using the admin form found at /admin/content/types/content_type/display I'm using cck to hide field data that I don't want to appear in the body of the node. However, this also affects whether or not they appear in the title.

Is there a better workaround to this other than creating a node-content_type.tpl.php file?

Comments

matt@antinomia’s picture

Project: Automatic Nodetitles » Token
Version: 5.x-1.1 » 5.x-1.x-dev

I can confirm the problem, but I'm pretty sure it's a token.module issue. Hiding a field appears to null its token. This can be evidenced in auto_nodetitle as Steve points out above, and also in pathauto.module. Subscribing.

matt@antinomia’s picture

Title: When fields are hidden, they don't appear in title either » Token does not pass hidden CCK field values
Status: Active » Closed (duplicate)
matt@antinomia’s picture

Steve, what type of field is this? If it's a text field, just use the "raw" field instead of the formatted version. I'm trying to figure this out with nodereference fields and am still having trouble.