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

Preview Button #24

Closed
herooutoftime opened this issue Jul 24, 2013 · 1 comment
Closed

Preview Button #24

herooutoftime opened this issue Jul 24, 2013 · 1 comment

Comments

@herooutoftime
Copy link

Are there plans to implement a preview button in the near future? If not I will have to do it pretty soon.
Do you have any help, guidance, suggestions regarding this issue?

@BobRay
Copy link
Owner

BobRay commented Jul 24, 2013

It's an interesting idea, but it's not on the roadmap for me any time soon. I think the easiest way would be by saving the resource to a different location (e.g., as a resource called "NewsPublisher Preview), then loading an iFrame with that resource as its source. The Notify extra does something similar. It would be tricky to also set all the TV values for the preview resource when saving, but it could be done.

I think the way to start might be to duplicate the save() function in the NewsPublisher class as a new method called savePreview().

@BobRay BobRay closed this as completed Jan 12, 2017
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