More in this section

Forums / General Discussions / Renamed Module and Controls disappeared

Renamed Module and Controls disappeared

4 posts, 0 answered
  1. Sonu Kapoor
    Sonu Kapoor avatar
    41 posts
    Registered:
    24 Apr 2006
    18 Jun 2011
    Link to this post
    Hello,

    I created a copy of the Products module, renamed the classes and was able to get my version working the same way the Products module works. Now I started to change the labels in the *Resources.cs class. Basically I replaced most of the Products* to Articles*.

    This:

    [ResourceEntry("MyProducts",
        Value = "My products",
        Description = "The text of my products sidebar button",
        LastModified = "2010/08/19")]
    public string MyProducts
    {
        get
        {
            return this["MyProducts"];
        }
    }

    became:

    [ResourceEntry("MyArticles",
        Value = "My articles",
        Description = "The text of my articles sidebar button",
        LastModified = "2010/08/19")]
    public string MyProducts
    {
        get
        {
            return this["MyProducts"];
        }
    }

    I did not change the property name itself for now. After making the changes, I uninstalled the module using this thread. Then I reinstalled it and when I visit the admin page of my module, /sitefinity/content/Articles then the page is suddenly blank. I have no idea why this would happen. Anyhow, I had the file still open, so I pressed CTRL+Z to undo everything, removed the module and reinstalled. However when I visit the module page, its still blank and there is no error in the logs. Attached is a screenshot of what I see.

    Does anybody know what is going on here?

    Thanks
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    20 Jun 2011
    Link to this post
    Hi Sonu,

    Can you try restarting the application restart the web configuration files in your project. Note you have config file in your module. To restart make a dummy change in the web.config and save. Then your application is restarted.

    Best wishes,
    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. Sonu Kapoor
    Sonu Kapoor avatar
    41 posts
    Registered:
    24 Apr 2006
    20 Jun 2011
    Link to this post
    I did restart the application several times, but still there is nothing displayed.
  4. Sonu Kapoor
    Sonu Kapoor avatar
    41 posts
    Registered:
    24 Apr 2006
    20 Jun 2011
    Link to this post
    Hello,

    I have opened a support ticket and uploaded my project. The ticket# is 435949.

    Thanks
4 posts, 0 answered