More in this section

Forums / General Discussions / custom module in sitefinity 4.2

custom module in sitefinity 4.2

3 posts, 0 answered
  1. MARI
    MARI avatar
    17 posts
    Registered:
    31 Aug 2011
    07 Sep 2011
    Link to this post
    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

  2. MARI
    MARI avatar
    17 posts
    Registered:
    31 Aug 2011
    08 Sep 2011
    Link to this post
    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
  3. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    12 Sep 2011
    Link to this post
    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 >>

3 posts, 0 answered