Close

Profile: cayaniss

Avatar

User posts

8 years ago

Greetings,

I purchased Ultimate theme collection,Great templates and design!!

I developed a plugin according to my client requirements. 

I am overriding the registration controller and view its working perfectly.When i install Seven Spikes Core plugins,its overriding my views and displaying default view. 

Please suggest how do i make my plugin  and nop template views plugin work simultaneously.

 public int Priority
        {
            get
            {
                return 0;
            }
        }


  public void RegisterRoutes(RouteCollection routes)
        {
                var route = routes.MapLocalizedRoute("Nop.Plugin.SMS.xxx.Register",                         "register"
            , new { controller = "Customer", action = "Register" }
            , new string[] { "Nop.Plugin.SMS.xxx.Controllers" }
             );


            routes.Remove(route);
            routes.Insert(1, route);
        }