I have managed to clear up my issues but I have not pinpointed the root cause of my original problem. The only difference that I noticed between my old module and the Jobs Module was the following two items. The first item is the following method:
void InstallCustomVirtualPaths(SiteInitializer initialzer)
virtualPathConfig = initialzer.Context.GetConfig<VirtualPathSettingsConfig>();
var questionTemplatesModuleVirtualPathConfig = new VirtualPathElement(virtualPathConfig.VirtualPaths)
VirtualPath = Jobs
Module.VirtualPath + "*",
if (!virtualPathConfig.VirtualPaths.ContainsKey(QuestionTemplatesModule.VirtualPath + "*"))
The method was called as followed:
override void Install(SiteInitializer initializer)
In addition, the following documentation seems to state that your custom resource file should be located in a directory name Localization. Sitefinity staff, is this required? Does the resource file have to be in a directory called Localization?
So what I did was created a new custom module and carefully followed the Jobs Module sample and included the above items. This seemed to work and resolve my issues. I have been trying to reproduce the original problem but I have not be able to so far. Unfortunately, I erased my project with the problems. I will spend some time trying to reproduce the issue but just in case I can't, if you carefully follow the Jobs Module example, you should be fine. Hope this helps someone or helps pinpoint the orginal issue from this thread.