custom module in sitefinity 4.2

Posted by Community Admin on 03-Aug-2018 13:58

custom module in sitefinity 4.2

All Replies

Posted by Community Admin on 07-Sep-2011 00:00

HAI

i followed all the steps:

i created one project custom_module,and then followed all the things in
http://www.sitefinity.com/40/help/developers-guide/sitefinity-essentials-modules-creating-custom-modules.html

at last i did
  

To install the Products module in Sitefinity project, perform the following:

  1. Go to the Sitefinity backend (http://<yoursite>/sitefinity).

  2. In the main menu, click Administration » Settings » Advanced.

  3. In the treeview on the left, click System » ApplicationModules.

  4. To register the module, click Create New.

  5. In the Name input field and in the Title input field, enter Products.

  6. In the Type field, enter ProductsModule.ProductsModule.

  7. In the StartupType field, enter OnApplicationStart.

  8. Leave the Version field empty.

  9. To save your changes, click Save changes.

    but i couldnt get the protects in content.

    plz guide me,

    i thought . the type is the problem in above

    ProductsModule.ProductsModule

Posted by Community Admin on 08-Sep-2011 00:00

HAI

i did all the steps in that link
but
that custom module not come.
i created the project name:custom_module
and add project name as
HellWorld
BUT its not showing the module.
i refered below the link:

http://www.sitefinity.com/blogs/joshmorales/posts/11-07-07/creating_sitefinity_4_content_modules_part_1_project_preparation_and_hello_world.aspx

Plz help me

Thanks and regards,
MARI

Posted by Community Admin on 12-Sep-2011 00:00

Hi Mari,

Can you make sure you have added reference to your module in your project ( check attached image )? Also  verify that the dll file of the module is in the bin folder of  SitefinityWebApp.

Let me just review the steps to make sure everything is correct. For example if you have created Jobs module and your namespace is Jobs and your module class is JobsModule, you need to have it like this in your SystemConfig ( if you register it programatically ):

<add title="Jobs" description="Jobs" resourceClassId="" type="Jobs.JobsModule, Jobs" startupType="OnApplicationStart" name="Jobs" />

Also you may place a breakpoint at the initialize method of the module and check if it passes.

Please be sure to include resourceClassId if you have Resource file in your module.

Kind regards,
Victor Velev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

This thread is closed