Custom module doesnt install
Hi,
It seems I can't install more than one custom module in the same website. I have two modues and I can installs only only one of them on a fresh SF website. After one module is installed the second one cannot be installed. When i install the two modules on two different websites it worked. So for the second module that I install, everything has been created except the backend database tables and sitefinity backend landing page. Any idea why?
Thanks!
Duneel
Hi Duneel,
When creating modules please verify that all the needed steps for creating and registering modules are followed correctly. I would recommend checking the online documentation and tutorials available on our website.
http://www.sitefinity.com/documentation/how-to-create-a-basic-module/register-the-module.aspx
Also I would suggest you to make a break point in the Install method and verify whether everything is installing correctly. If your module is not visible in the Menu it doesn't mean that it is not working, simply the install method doesn't install correctly the page. It is up to you to modify the Install method of the module to include as many pages as you like.
Please have a look at this thread:
Hi Victor,
As you said I placed a breakpoint in the Install and InstallPages methods and everything was executed without any errors. I'm not getting any errors. Looks like although the code is executed, the backend pages havent created unser Sitefinity->Content->Types of Content. Also I checked the GUIDs I'm using in this module for the landing pages and they are unique to this module.
The interesting thing with this is if I install this module on a fresh website that doesnt have any custom modules installed, Then the module installs successfully.
Thanks,
Duneel
Hi guys,
No worries my problem is solved. I dont know exactly what was causing this issue. I copied the ProductsModule.cs to my module and changed and it installed properly.
Thanks!
Duneel
@Telerik Admin, the link http://www.sitefinity.com/documentation/how-to-create-a-basic-module/register-the-module.aspx is broken.
Please update your post.
Hello Chris,
My post dates back to the beginning of April and our documentation has been upgraded numerous times since then. Please find the requested information here:
http://www.sitefinity.com/40/help/developers-guide/how-to-how-to-create-a-jobs-module-installing-the-module.html
All the best,
Victor Velev
the Telerik team