Leupold,
Hey, thanx for the quick replies. If this is in the wrong place, feel free to move it. It's actually a problem with the eventcontroller.vb file. So I think this is in the right place.
I've got it fixed. I can tell you what's going on.
When the event module implements the abstract method GetSearchItems it's using the following code:
Dim strTitle As String = System.Web.HttpUtility.HtmlDecode(ModInfo.ModuleTitle & ": " & .EventName & " - " & Format(.EventDateBegin, "D") + " " + Format(.EventTimeBegin, "T") + " (UTC 00:00) ")
Dim strDescription As String = HtmlUtils.Shorten(HtmlUtils.Clean(.EventDesc, False), 100, "...")
Dim strContent As String = System.Web.HttpUtility.HtmlDecode(ModInfo.ModuleTitle & ": " & .EventName & " - " & Format(.EventDateBegin, "D") + " " + Format(.EventTimeBegin, "T") + " (UTC 00:00) " + strDescription)
It seems that the Format(.EventDateBegin, "D") is returning the host servers default local settings, not what I have set my portal to or what's in the web.config file (I had already checked
that setting in the web.config file). So, to remove any words from the title stored in the searchitems table, I changed it to format the date as mm/dd/yyyy as seen below.
I recompiled it with visual studio 2005 and put the new dll out there and re-indexed my content manually. And wala... No german! :) I think this has to do with DNN, not the framwork however because I put a statement in my default.aspx page to print out <%Response.Write(Format(Today(),"D"))%> to see what it would print and it printed the english day of week. Go figure...
Anyhoo... Thanx for your quick replies.
'FTC CHANGE - 10/16/2006 - CHANGE DATE FORMAT TO MM/DD/YYYY
Dim strTitle As String = System.Web.HttpUtility.HtmlDecode(ModInfo.ModuleTitle & ": " & .EventName & " - " & Format(.EventDateBegin, "M/d/yy") + " " + Format(.EventTimeBegin, "T") + " (UTC 00:00) ")
Dim strDescription As String = HtmlUtils.Shorten(HtmlUtils.Clean(.EventDesc, False), 100, "...")
'FTC CHANGE - 10/16/2006 - CHANGE DATE FORMAT TO MM/DD/YYYY
Dim strContent As String = System.Web.HttpUtility.HtmlDecode(ModInfo.ModuleTitle & ": " & .EventName & " - " & Format(.EventDateBegin, "M/d/yy") + " " + Format(.EventTimeBegin, "T") + " (UTC 00:00) " + strDescription)