More in this section

Forums / Developing with Sitefinity / Extending Commandpanel and ControlPanel of News Module

Extending Commandpanel and ControlPanel of News Module

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    14 Nov 2008
    Link to this post
    Hi,

    Could you help us to extending CommandPanel under Permission group adding one item that fires in one new page inside ControlPanel of News Module. Can extend-it?
    good WE
    Regards
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    18 Nov 2008
    Link to this post
    Hello Pierre,

    I think that the best way for doing so is to override the News module:
    using Telerik.News; 
     
    namespace Custom 
        /// <summary> 
        /// Summary description for MyNewsModule 
        /// </summary> 
        public class MyNewsModule : NewsModule 
        { 
            public override string Name 
            { 
                get 
                { 
                    return "MyNews"
                } 
            } 
            //public override ........ 
            //the rest of the properties here 
            //Create command and control panels here 
            //by using your custom control templates 
     
        } 
     

    I hope this helps.




    Best wishes,
    Georgi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered