AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
New admin page, but not accessible from menu
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'm trying to add a new admin page for a custom class, passing in an id as a parameter to pull up an object to edit. I can get the page to come up via the url and show the correct data, but can't figure out how to have it display AC admin styles and admin header. How can I get it to do that? (I tried doing it as a popup on the Edit User page, but couldn't get that to work, although I did get two other Edit something popups to work.) Thanks
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Hi Judy,
Can you please confirm if you are working in a plugin or you are creating a page directly in the application?
Also, if possible, can you share the view file so I can suggest if something is missing.
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
This isn't a plugin. Let me work on it some more. Maybe it's because I created a partial view to try to use as modal popup. I've since created another admin page that I access via a menu link and it shows AC admin styles OK. Is it this that adds the admin header and styles? <div class="wrapper wrapper-content animated fadeInRight">
etc
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
Quote:<div class="wrapper wrapper-content animated fadeInRight"> This is the parent container classes for the content area of an admin page. The header and styles comes from the parent/master layout that is, in our case, placed in \Website\Areas\Admin\Views\Shared\_Layout.cshtml
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
New admin page, but not accessible from menu
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close