Add new Page as Plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Hello-
I'm new with nopcommerce, I'm working on new e-commerce site, and I need to add some new pages to nopcommerce, I searched out and get those two options:
1) Add new Controller and Views to nopCommerce core ( this modifications will be lost once i do upgrade, and this is not what i need )
2) Add new Pages as plugin, and do Install/Uninstall for it.

I'm not able to find how i can work on option 2, I need a new Screen with just header and footer, to be more specific, i need my new plugin to be Full screen with just menus,  I'm not able to find a widgetzone to be full screen , or something like that.

any help will be appreciated.

Thank you
8 years ago
Please check below links for how to create plugins

http://docs.nopcommerce.com/display/nc/Creating+a+nopCommerce+plugin
8 years ago
Read this tutorial, as another option for adding a new page (besides plugin): http://www.strivingprogrammers.com/Blog/post/Lavish-Kumar/20/Steps-to-add-a-new-custom-page-in-nopCommerce-3-1-MVC-Version/
8 years ago
Thank you for replay.
vipul.dumaniya , do you have Idea how to make plugin Zone to be full screen  ? so it will appear as new Screen ?


New York , I don't wanna to change to core of nopcommerce, this will affect upgrading in future , correct ?

Thank you
8 years ago
You have to create all required things to create new page on plugins llike controller action for get and post ,model and views for page

And also need to create new route for new page

All things required for new page and you need to implement your functionality that you want on new page

And it will be full screen as well as per the layout you choose
8 years ago
what is your requirement on new page ?
8 years ago
MM2015 wrote:
New York , I don't wanna to change to core of nopcommerce, this will affect upgrading in future , correct ?


In future, it would require having the source code and recompiling with your new code, but you are not modifying any core code.
8 years ago
Thank you for quick Response vipul.dumaniya,

What I need is  Add:

A) New Registration Process to my site, so I need to Create New screens to collect information ( Client Information, next step will be Event Information  ) , so my concerns are :
1) I need to create new plugin , should it be widget plugin ?
2) If it's widget plugin , what should widget Zone value be ?
3) My plugin had to be full screen, I don't wanna see any thing related to e-commerce, it's just new screens to collect information.

B) Add New Home pages with Images and links that can be modified by Admin.

Please any help appreciated
8 years ago
Thank you for quick Response New York

If I add new Controller,Views to nopCommerce , those modification will not be loosed when i do upgrade ?

Thank you
8 years ago
MM2015 wrote:
Thank you for quick Response New York

If I add new Controller,Views to nopCommerce , those modification will not be loosed when i do upgrade ?

Thank you


If it's in your plugin, you have to update the plugin for the new version. The plugin code should remain intact (if there is no breaking change in update).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.