The 5th annual nopCommerce conference will take place in India on the 10th-11th of October. Please find more about this event here

How can I use _AdminLayout page inside my Plugin View in nopCommerce 4.10 ?

Posted: March 18, 2019 at 8:34 AM Quote #225196
I have created one Plugin for nopCommerce 4.10. In that I want a view which will have kendo ui in Administration area. if I am using using...
@{
   Layout = "_AdminLayout";
}

I am getting error. _AdminLayout can't found (something like that).

Please help me with this.. Thanx
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: March 18, 2019 at 9:08 AM Quote #225197
Hi,

You have to use this code:

@{
   Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}
This post/answer is useful
1
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
ResanehLab, Digital Agency
E-commerce solutions
nopCommerec solution partner
-------------------------------
Website: resanehlab.com/en
Posted: March 21, 2019 at 8:18 AM Quote #225309
Not Working
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: July 12, 2019 at 12:29 AM Quote #242456
Sorry... It is working ... I had some attribute problem.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: July 12, 2019 at 12:38 AM Quote #242457
Hi,

If you create a Plugin, you don't use the default layout of Plugin.

Layout = "_ConfigurePlugin";
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Plugin Dynamic Form for nopCommerce (Plugin Contact Form Nopcommerce): http://nopplugin.com/dynamic-form-nopcommerce

Nopcommerce Amp Plugin: http://nopplugin.com/google-accelerated-mobile-for-nopcommerce

Nopcommerce Multi Tenant: http://nopplugin.com/nopcommerce-multi-tenant-download
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2019
Learn more