Good Day,
i´m make some updates,
1. -> in GlossaryController.cs
1.1. modify :
public class GlossaryController : ISearchable
1.2 add ISearchable region with this options
#region ISearchable Members
SearchItemInfoCollection ISearchable.GetSearchItems(ModuleInfo ModInfo)
{
SearchItemInfoCollection searchItems =
new
SearchItemInfoCollection();
List<GlossaryInfo> glossList =
new
List<GlossaryInfo>();
glossList = ListGlossary(ModInfo.ModuleID);
foreach
(GlossaryInfo glossaryInfo
in
glossList)
{
SearchItemInfo defintion =
new
SearchItemInfo();
// create title for search
string
title = ModInfo.ModuleTitle +
"-"
+ glossaryInfo.Term;
// create content for search
StringBuilder content =
new
StringBuilder();
content.Append(glossaryInfo.Term);
content.Append(
" "
);
content.Append(glossaryInfo.Definition);
defintion =
new
SearchItemInfo(title,
""
, 1, DateTime.Now, ModInfo.ModuleID, glossaryInfo.GlossaryID.ToString(), content.ToString());
searchItems.Add(defintion);
}
return
searchItems;
}
#endregion
1.3 and update a xml definition in .dnn file
<
supportedFeatures
>
<
supportedFeature
type
=
"Searchable"
/>
</
supportedFeatures
>
but not working, i´m miss something?.... many many thanks for our help