More in this section

Forums / Developing with Sitefinity / Custom Module Creation

Custom Module Creation

3 posts, 0 answered
  1. Rakesh
    Rakesh avatar
    72 posts
    Registered:
    11 Jan 2011
    24 Jun 2011
    Link to this post
    I have created a custom module called " HelloWorld ",referring the tutorials given in

    http://tv.telerik.com/watch/sitefinity/how-to-extend-sitefinity-4-using-page-based-modules
    http://tv.telerik.com/watch/sitefinity/developing-intra-site-modules-in-sitefinity-4

    The screenshot is attached here.(The contents of my usercontrol is blank..)

    My question is how can i configure the command panel for my module ?
    (like "Pages" module  ! ! !)

    I created the control panel and command panel in Sitefinity3.7 using class files.Is their anything like that in Sitefinity4.1?

    Please give a fast reply...We have to start our work day after tomorrow..
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    24 Jun 2011
    Link to this post
    Hello Rakesh,

    The problem you are facing is concerned with some resources or definitions which do not match. Do you have  a custom resource classes? If some make sure that the names and keys are the same if all instances you use them. Recently I faced this problem and the module installation failed silently

    [ResourceEntry("ProductsConfigDescription",
                Value = "Global configuration file for the Products module",
                Description = "Description of the ProductsConfig configuration class",
                LastModified = "2010/12/17")]
            public string ProductsConfigDescription
            {
                get { return this["ProductsConfigDescription"]; }
            }


    Note all of the highlighted should be identical. If you want to change them with something else you will have to change the definition for that resource

    When you check FireBug under the net tab are there any requests? Following the tutorial with the exact same code will get display the module screen as shown in video. I will illustrate this with the products module which is available in the SDK. There is a file ProductsResources.cs where you have a given resource entry:


    All the best,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Rakesh
    Rakesh avatar
    72 posts
    Registered:
    11 Jan 2011
    27 Jun 2011
    Link to this post
    Hai,

    No, I dont have any Resources class.I have only one class " HelloWorldModule.cs " in the App_Code folder,
    which is same as that of " HelloWorldModule.cs " in the " Modules/HelloWorld " folder in the tutorial.

    In FireBug their is one request  >> " GET WebResource.axd?d=......... ".

    My actual requirement is,
    I have created the module.now i want to create the control and command panel for that module .
    Is their any way for that..
    please help me..
3 posts, 0 answered