BigCommerce - Hosted Ecommerce Software by Interspire

Interspire Forum

 
Go Back   Interspire Forum > Interspire Knowledge Manager Community Forum > Customization and Integration

 
 
Thread Tools Display Modes
  #1  
Old 01-06-2011, 08:50 PM
aloschert
Guest
 
Posts: n/a
Default Glossary help

Anyone know of a way to tweak the KB glossary in order to either have some entires be case sensitive or have some articles not be populated by glossary terms. A good example of my problem is that we have a glossary term, VE. But the system highlights the "ve" in you've. This is no good.

Anyone with creative workarounds for improper glossary links?

Thanks,

Andrew
  #2  
Old 03-07-2011, 09:20 PM
cberry + cberry is offline
Interspire Customer
 
Join Date: Feb 2011
Posts: 3
Default

In: lib/general.php

In: function ReplaceString($str, $arrWords, $callback)
Remove the "i" from the regex

This regex controls which glossary terms are highlighted. It was case insensitive.
This causes words like "you've" to show "ve" as a glossary term. If you want
a word highlighted that is in the Glossary you need to have it Capitalized exactly
as it is in the glossary now.
 

Tags
glossary

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump