-
Notifications
You must be signed in to change notification settings - Fork 645
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
Allow disabling of Live Preview #3192
Comments
...or even better, have a way to map it to the "real" URL for the site, so content authors can preview it. |
In my case, the Craft URL is the "real" url…(but the site's URL isn't pointing to the Craft Server, it points to a Node/Express server). But that page just makes calls to the craft server/api, it doesn't know how to response to live preview POST data like Craft Twig templates do. Related: see comment from @narration-sd: #1521 (comment) |
Tim, my first thought was that if you're in a pinch, why not use @lindseydiloreto 's Control Panel CSS plugin to just disappear the button? It's alive; just apparently not on the store because it's free.
As far as upcoming solutions, I've been mulling whether you and one other at least ought to be getting some email soon. I have to limit the onslaught, and would have to tease about impatience-as-a-virtue ;), but beta on someone else's prototype website has been quite valuable, seeing how people are in realities likely to employ this thing. |
We’ll most likely make this possible when we get around to #1489. In the meantime, you could just set your section’s Template setting to an invalid template path. The Live Preview button will only show up if the section has URLs and the template exists. (A blank Template path is still valid if you have an |
Good tip, @brandonkelly! |
That is a smart one :)
…On Fri, Aug 10, 2018, 14:00 Tim Kelty ***@***.***> wrote:
Good tip, @brandonkelly <https://github.com/brandonkelly>!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3192 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAPIiURj0VD5dBzloxhtuPno0ATnAw7Mks5uPfSGgaJpZM4V4h5a>
.
|
@brandonkelly the bummer about that is it also removed the "share" button, so there's no way to open the entry URL from entry edit. For a quick fix, made this: #4275 |
Live preview doesn't currently work for SPAs or API-driven sites where you're not using Twig, but still have Craft-managed URLs.
It would be nice to be able to disable the Live Preview button all together.
The text was updated successfully, but these errors were encountered: