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

Live preview not working for third level deep element in structure #5009

Closed
texasbaptists opened this issue Sep 27, 2019 · 3 comments

Comments

@texasbaptists
Copy link

commented Sep 27, 2019

Description

I have a pages that are level three in the page structure or more.
example.com/grandparent/parent/page

Pages at this level work when published. When unpublished the share link with a token will work. But live preview will not work. If I move the page to level two: example.com/parent/page live preview works.

Steps to reproduce

  1. Make an entry that is the child of a page that is a child.
  2. Click live preview button.

Additional info

  • Craft version: 3.3.4.1, 3.3.5
  • PHP version: 7.2.20
  • Database driver & version: MySQL 5.7.27
  • Plugins & versions:
@brandonkelly

This comment has been minimized.

Copy link
Member

commented Oct 3, 2019

Live Preview loads the exact same URL as the Share button – just in an iframe rather than a new browser tab.

Try opening your browser’s console, then open Live Preview, and see if any issues are reported in your console.

@texasbaptists

This comment has been minimized.

Copy link
Author

commented Oct 10, 2019

False alarm. It seems to have been an issue with my adblocker. Not sure why pages three levels deep were getting blocked but not other live preview pages...

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Oct 10, 2019

Huh, weird. Glad it’s working though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.