Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add front-end pages and menu #72

Open
Slowchaos opened this issue Dec 3, 2018 · 4 comments
Open

[Feature request] Add front-end pages and menu #72

Slowchaos opened this issue Dec 3, 2018 · 4 comments
Labels

Comments

@Slowchaos
Copy link

Bug report

What I did: Downloaded and installed demo per instructions. Ran all composer and artisan commands. Started site and logged in as "[email protected]" with password "admin".

What I expected to happen: Fully functional admin panel.

What happened: Panel loads but I had no privileges. I can create page but get 404 error when navigating to it. I can not create roles, permissions, privileges, or create menu items. All return a 403 error code.

What I've already tried to fix it: Not going to try. Not my demo.

Backpack, Laravel, PHP, DB version: Latest download of the demo package.

@welcome
Copy link

welcome bot commented Dec 3, 2018

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication mediums:

  • Bug Reports, Feature Requests - Github Issues (here);
  • Quick help (How do I do X) - Gitter Chatroom;
  • Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the backpack-for-laravel tag;

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

--
Justin Case
The Backpack Robot

@johnpuddephatt
Copy link

Having same issues on fresh install of Laravel-Backpack/Demo.

can create page but get 404 error when navigating to it

Frontend routes for pages are not defined, see here

@tabacitu – while it makes sense that PageManager doesn't define frontend routes, I think that either: a) they should be defined in the demo, or b) the open button should be disabled by default as its presence in the backend probably leads users to expect the frontend to work.

I can not create roles, permissions, privileges, or create menu items

@tabacitu Updating Laravel-Backpack/PermissionManager to ^3.12 fixes the first three things, and Laravel-Backpack/CRUD#1741 addresses the final one (menu items).

@tabacitu
Copy link
Member

tabacitu commented Dec 6, 2018

Hmm... you're right @johnpuddephatt . I think it would be best for the Demo to also "demo" the front end routing. So that the "open" button to actually work. Will do.

Thanks for pointing this out @Slowchaos !

@tabacitu
Copy link
Member

tabacitu commented Dec 6, 2018

To do:

  • front end should show the menu content (basic bootstrap design)
  • front end should routing should show the pages created with PageManager (basic bootstrap design)

@tabacitu tabacitu changed the title Lack of Functionality [Feature request] Add front-end pages and menu Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants