Skip to content

Why does "preview" button in element edit page redirects to seo preview? #93

Answered by mmikkel
piotrpog asked this question in Q&A
Discussion options

You must be logged in to vote

This isn't a problem with SEOMate, it's what happens when the section has no preview targets defined in its settings – making the preview target added by SEOMate the only preview target.

The "View" button is never actually a link to the entry's URL or template; it's either a menu with links to all the preview targets (if there are multiple), or a simple link to the first and only preview target (if there is only one).

button just vanishes instead reverting to its original function

That's expected behavior; if you disable SEOMate's SEO preview and the section has no preview targets in its settings, there is nothing for the Preview and View buttons to link to, and Craft doesn't render them.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mmikkel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #77 on September 07, 2024 21:32.