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

Page -> Preview Page as User #11

Closed
aembler opened this issue Apr 22, 2014 · 0 comments
Closed

Page -> Preview Page as User #11

aembler opened this issue Apr 22, 2014 · 0 comments
Assignees

Comments

@aembler
Copy link
Member

aembler commented Apr 22, 2014

Currently, if you enable advanced permissions in 5.7.0-wip you'll get "Preview Page as User" in the lefthand page panel. This panel currently doesn't do anything. We need to do the following.

Create a route for a new sub-panel in config/routes.php, routing to a new controller: $rl->register('/system/panels/page/preview_as_user', 'PagePreviewAsUserPanelController::view');

Create a new controller panel for this.

Add a view for this panel at views/panels/page/preview_as_user.php that our controller is set up to use.

Make this panel actually contain the fields from the old preview as user dialog box.

Make this panel look like the other panels using the .ccm-panel-dark() mixin. Add CSS information to ccm_app/panels.less and ccm_app/panels/preview_as_user.less where necessary.

The timed permission list also still has to continue to work on this page.

Reference the existing preview panel detail view and modify it to accept optional date and time parameters.

Make sure the new request library is set up to honor passed-in datetimes as well as users.

@JonCope JonCope mentioned this issue Dec 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants