-
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
Use a specific template for Live Preview #1080
Comments
It would also be great to extend this feature with a drop down list in the live preview window of all the templates you wish to be able to preview for that entry. For example: if you edit a detail page of a product that is also featured on the homepage, you maybe want to see how it is changed there too before publishing on the live server. You would than be able to switch preview templates with the drop down from within the edit entry window. |
You can mimic this by using craft.request.isLivePreview in a conditional and including the appropriate template in Twig |
Yes, please! This would allow to enable Live Preview for entries that don't have an URL via the section configuration and where Live Preview can't be enabled currently. Here's an example where Live Preview makes sense but the default URL is disabled: |
@miralize that's not true, you can't get LIve Preview to work without enabling "Entires have a URL" in section settings. |
Closing this because #1489 makes a better case for the same general idea. |
Would like to be able to configure a specific (or multiple) templates for use in Live Preview.
Use cases may vary - ours involves being able to render an entry 'surrounded' by mobile phone hardware thereby giving the client/content admin a good idea of what it would look like 'in-hand'
Completely appreciate that mobile responsive templates will cater for 90% of this, but asking a client to resize their browser is a step too far for some.
Happy to discuss and develop the idea...
The text was updated successfully, but these errors were encountered: