v2-hub icon indicating copy to clipboard operation
v2-hub copied to clipboard

No Live Preview Button shown When Creating New Page or Entry in a Collection

Open hypermagix opened this issue 5 years ago • 4 comments

Describe the bug No Live Preview Button shown When Creating New Page or Entry in a Collection. This bug has been around since at least 2.10.5.

Expected behavior The live preview button should show when creating a new page or new entry in a collection.

Screenshot

Screeshot

Environment details (please complete the following information):

  • Statamic Version 2.11.20
  • Fresh Install or Upgrade: Fresh
  • Browser: ALL
  • Web Server: Apache
  • PHP Version: 7.2
  • Addons installed: NONE

hypermagix avatar Jun 14 '20 14:06 hypermagix

Does your collection have a route set? Without one Statamic doesn't know what template to render the Live Preview with and hides the button.

jackmcdade avatar Jun 29 '20 14:06 jackmcdade

Hi Jack,

Thanks for the reply.

Yes, collections always have a route set. And template is also set in the folder.yaml in the collection as well.

If you do a fresh install with the default theme, then delete all the entries in My Magical Blogventure, then create a new blog post, you'll be able to replicate.

hypermagix avatar Jul 02 '20 15:07 hypermagix

Hi Jack, Are there any updates on this? Seeing as we will be on V2 for the foreseeable future, it would be nice to get this fixed. Thank you.

hypermagix avatar Jul 09 '20 04:07 hypermagix

I completely understand than V2 is now in the rear view mirror and has no priority as all hands on deck for V3, but would really like to know if this is a bug that should be fixed or some sort of error on my part. Thank you.

hypermagix avatar Jul 28 '20 14:07 hypermagix