Dear All,
I've created new table and would like to launch it in an administrator setting.
I've tried to create new controller, but I got this error
Geschrieben: 30 August 2016 - 08:23
Dear All,
I've created new table and would like to launch it in an administrator setting.
I've tried to create new controller, but I got this error
Geschrieben: 30 August 2016 - 19:08
Obviously you tried to create a new controller with Visual Studio scaffolding tools. Honestly, I've never tried scaffolding in SmartStore.NET and would not advise to do so. Just create an empty controller wich inherits from AdminControllerBase or SmartController (or just Controller if you don't need all the sugar) and add your desired action methods.
I also advise to encapsulate your customizations in a separate plugin. Please have a look at GoogleMerchantCenter or ShippingByWeight plugin. These plugins contain the whole stack you need: new entity, new data context, controller, views etc.
You can modify the country view in in SmartStore.Admin/Views/Country/_CreateOrUpdate.cshtml.
Murat Cakir
SmartStore AG
Geschrieben: 31 August 2016 - 03:25
Hi Murat,
Thanks for your advise
Best Regards,
Afin