not that i don't like a good body for terms, but would also like to find them in any ckk field on a node. possible?

CommentFileSizeAuthor
#5 cck_filter.jpg19.65 KBnancydru

Comments

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

If the field is set up to be filtered, it might get them. Otherwise, this would have to be a CCK issue.

fluxline’s picture

from what i see in the help:

The Glossary module scans posts for glossary terms (and their synonyms) in the body.

and the little looking i did in the module, it appears that only the body text is acted on, not anything else. digging around in cck is a bit beyond me right now.

nancydru’s picture

Me too, unfortunately. Glossary should get invoked in any content that is filtered.

alvinet’s picture

a solution is edit node.tpl.php add this line before "print $content"
$content =check_markup($content, 3);
but there is a problem in layout... Does anyone have a different solution?

nancydru’s picture

Status: Postponed (maintainer needs more info) » Fixed
StatusFileSize
new19.65 KB

In CCK, when you create a text field, you can specify that it is to be filtered. If the field is defined that way, it should go through Glossary.

fluxline’s picture

thank you nancy, i will give it a go.

nancydru’s picture

Status: Fixed » Closed (fixed)
alvinet’s picture

I add text field but it work only if widget is set to text field. I'm using check boxes with filtered text and it don't work :(

nancydru’s picture

Title: find terms in ckk fields as well as body » find terms in cck fields as well as body

When you are defining the widget, you will see a section titled "Text processing." Under that there is a radio labeled "Filtered text (user selects input format)" - select that and it should trigger Glossary as long as the input format you choose uses the Glossary filter.