logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Thursday, November 8, 2018 12:08:05 PM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I have made a new view under Areas/Admin/Views/Report (W2M_ReportWizard.cshtml) and added it to the App_Data/adminmenu.xml under the Reports-->System section
<menuItem title="W2M ReportWizard" navtitle="W2M Report Wizard" controller="Report" action="W2M_ReportWizard" description="W2M Report Wizard for ad-hoc reporting and exporting data." />

It shows up in the menu, but I get a 404 when I try to browse to it. This is one of our most used plugins and I'm trying to adapt it to AC9. (I do have a controller and the view in a compiled project also and have copied it over to the site)
Thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

mazhar  
#2 Posted : Friday, November 9, 2018 5:53:01 AM(UTC)
mazhar

Rank: Administration

Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered
Joined: 10/5/2018(UTC)
Posts: 175

Thanks: 8 times
Was thanked: 17 time(s) in 15 post(s)
Simply adding the view won't work, you must have a controller in place with an appropriate route in place.

Quote:
I do have a controller and the view in a compiled project also and have copied it over to the site

AC9 allows you to extend the front end using plugins without making direct code customizations. We still have to document the process of creating plugins but you can check the /Plugins which contains DLL/VIEW/CONTENT for plugin modules. I will ask someone to prepare some test plugin for demonstration.
judy at Web2Market  
#3 Posted : Friday, November 9, 2018 6:42:43 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Thanks, that would be very helpful. I don't think we have any sites that would want to go live without some plugins or adaptations that involve new controllers/models.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.