I'm new to Drupal, so perhaps I'm not thinking through this clearly. But due to the way I need to theme my site, I am using a custom Body field for my pages instead of the built-in field. I'm doing this because in node.tpl.php the $content variable shows title, body and all CCK fields together. I need more control over where these are displayed.

The problem is that this wonderful Glossary Module only works if you use $content in the template. What I would love is a configuration option (or quick hack!) that would search for glossary terms in a custom CCK field(s) I specify. I hope this is not a difficult request to fulfill.

Comments

pbindagorge’s picture

Status: Active » Closed (fixed)

I've closed this request because I figured out a good work-around. I'm basically hiding all my CCK fields so that $content contains only the built-in Body field. I can then directly access the CCK fields using $field_ on node.tpl.php and $node->field_ on page.tpl.php. Sorry to bother you with this! The light hadn't come on yet about how to work around this.

nancydru’s picture

Status: Closed (fixed) » Fixed

Glad you got it fixed. BTW, you should have changed the status to fixed rather than closed so that others would have two weeks to see the solution. I'm surprised that CCK doesn't force everything through the filters, which would include Glossary.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.