New custom module using Thunder
I've added a new custom module called Test (using Sitefinity Thunder). It creates two classes and without changing too much when I run Sitefinity the module is installed.
My install method looks like this:
public
override
void
Install(SiteInitializer initializer)
App.WorkWith().
Module(MyTestModule.ModuleName, initializer.PageManager).Install().
CreateModulePage(Guid.NewGuid(),
"MyTestModule"
).
SetOrdinal(1).
ShowInNavigation().
SetTitle(
"MyTestModule"
).
SetHtmlTitle(
"MyTestModule"
).
SetDescription(
"MyTestModule"
).
SetUrlName(
"MyTestModule"
).
PlaceUnder(CommonNode.Content).
AddControl(
new
Literal() Text =
"<h1 class=\"sfBreadCrumb\">Module MyTestModule Installed</h1>"
, Mode = LiteralMode.PassThrough );
Quick follow up to my post:
I restarted the app again and for some reason the module was removed and now the SystemConfig.config shows an error for this module.