1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Change Module Name

Change Module Name

9 posts, 0 answered
  1. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    23 Sep 2007
    Link to this post
    Sitefinity Team,

    I'm just wondering if I can change your news Module name from news to something like Current News.... If I can, please show me how...

    Thanks in advance
    Tim
  2. Bob
    Bob avatar
    330 posts
    Registered:
    30 Dec 2016
    24 Sep 2007
    Link to this post
    Hi Tim,

    Can you elaborate where you want to see the changed name? Module name is displayed only on TabStrip under Modules in the administration and Toolbox in page editor.

    Module name is read from a compiled resource and therefore cannot be easily changed. However, we have plans to pull all messages in uncompiled XML files so everyone will be able to change them easily in the future.

    If you want the name changed in other areas than the two mentioned above, there might be a solution for you.

    Greetings,
    Bob
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    24 Sep 2007
    Link to this post
    Bob,

    Actually I want to change the module name on TabStrip under Modules in the administration and Toolbox in page editor.

    Tim
  4. Vlad
    Vlad avatar
    498 posts
    Registered:
    19 Jun 2017
    25 Sep 2007
    Link to this post
    Hi Tim,

    The only way to accomplish this is to create a custom module, e.g. MyNews:

      - Create a class library project MyNews in VS.NET;
      - In MyNews project add reference to Telerik.Framework, Telerik.Security and Telerik.News;
      - Create a class MyNewsModule (MyNewsModule.cs):

    using System;  
    using System.Collections.Generic;  
    using System.Text;  
    using Telerik.News;  
     
    namespace MyNews  
    {  
        public class MyNewsModule : NewsModule  
        {  
            public override string Title  
            {  
                get 
                {  
                    return "Current News";  
                }  
            }  
        }  

      - Compile the project in MyNews.dll and copy the .DLL into your Web Site Bin folder;
      - Change in the web.config:
       
       <
    add type="Telerik.News.NewsModule, Telerik.News" />    
        
        with:

       <
    add type="MyNews.MyNewsModule, MyNews"/>


    Hope this helps.


    Best wishes,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    25 Sep 2007
    Link to this post
    I will give a try and keep you posted.

    Thanks
    Tim
  6. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    28 Sep 2007
    Link to this post
    Vlad,

    FYI, it works and just wondering if I could do the same thing for the Blog and Poll.

    Please let me know
    Thanks
    Tim
  7. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    28 Sep 2007
    Link to this post
    Yes Tim, you can do the same for Blogs and Polls.

    Have a nice weekend,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Tim
    Tim avatar
    156 posts
    Registered:
    23 Sep 2007
    07 Oct 2007
    Link to this post
    I did same thing to the Sitefinity 3.1 and get following error messgae:

    Could not find a type for a name.  The type name was 'Telerik.News.Rss.RssChannelProvider, CurrentNews, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

    Please help
    Thanks
    Tim


  9. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    08 Oct 2007
    Link to this post
    Hello Tim,

    If you are using Sitefinity version 3.1 version, you should add reference to the Telerik.RSS assembly as in this version Sitefinity offers Rss feeds for the News and Blogs modules. Do not forget to rebuild your project and copy the newly created assembly to your site.

    Best wishes,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
9 posts, 0 answered