<p>Have you specified a template to use under that section's settings?  If you didn't,  the Live Preview button won't show.</p>

CC BY-SA 3.0
2014-07-03T11:11:27.013Z
2014-07-03T11:11:27.013Z
Brad Bell
<p>I just had the same issue of the Live Preview button not displaying. 
I followed the instructions from Brandon and Brad and still did not see the live preview button.
<strong>It was not till that I created the template in the template directory that the live preview button appeared</strong>. </p>

<p>I am using Craft Pro 2.5.2759, installed on my local machine with MAMP. </p>

<p>I hope this helps others coming to this page with the same issue.</p>

CC BY-SA 3.0
2016-01-20T16:53:47.827Z
This is of course expected behaviour with Craft and is completely un-dependant on the version of Craft or using MAMP. How can Craft create a live preview of a page that doesn't have a template? How would it know what fields to use, how would it know where to put those fields, what would the fields look like? ☺
Jamie Wade
CC BY-SA 3.0
2016-01-21T00:55:05.933Z
I just assumed that CraftCMS would have thrown a 404 error or something. Usually, as I create channels I also create templates but today I was setting up a test site and skipped setting up templates. I thought Craft was broken after updating since I have always seen the Live Preview button. I like the fact that the button does not appear till everything is setup for the live preview feature to properly work.
johnHoysa
CC BY-SA 3.0
2016-01-20T16:18:57.090Z
2016-01-20T16:18:57.090Z
johnHoysa
<p>Had the same issue. However, I had valid URLs and templates, as I used the same setup for other news sections on the site.</p>

<p>I resorted to creating a new section for the entries with the same details as the previous (had to change the details of the original one first) then, in the database I changed the section IDs in the entries to move them to the new section I created. </p>

<p>This fixed the odd issue I had, where everything looked fine but didn't work.  </p>

CC BY-SA 4.0
2019-01-10T13:40:41.190Z
2019-01-10T13:40:41.190Z
Ash Bryant
<p>For the Live Preview button to show up, two criteria must be met:</p>

<ul>
<li>Your section’s <em>“Entries in this section have their own URLs”</em> setting must be checked</li>
<li>Your section’s <em>“Entry Template”</em> setting must be set to a <strong>valid</strong> template path</li>
<li>For Craft 3.2+ pro version, a preview target must be specified. This happens automatically, but might be missing <a href="https://github.com/craftcms/cms/issues/5844" rel="nofollow noreferrer">due to a bug</a>. Add a preview target with Primary entry page => {url} to fix this.</li>
</ul>

<p>Make sure both of those are set correctly, and the Live Preview button will show up.</p>

CC BY-SA 4.0
2018-06-21T18:22:58.137Z
Also, an empty value for the Entry Template is a valid value. I was trying to remove Live Preview and it took me way too long to realize that. Using some gibberish removed it, though.
kotyy
CC BY-SA 4.0
2014-07-03T13:10:02.323Z
2020-05-05T11:38:51.437Z
2020-05-05T11:38:51.437Z
Brandon Kelly
<p>I upgraded to Craft 2.1 and there is no Preview Button visible. </p>

<p>It must have something to do with the configuration I created for the different sections because when I use the same craft installation with a clean database the preview button is visible.</p>

<editor>
Live Preview Button missing
# Live Preview Button missing

(Asked by: username_0 on 2014-07-03)

I upgraded to Craft 2.1 and there is no Preview Button visible.

It must have something to do with the configuration I created for the different sections because when I use the same craft installation with a clean database the preview button is visible.

**Tags:** editor

---

## 4 answers

### Answer by username_5 on 2014-07-03. Score: 15 | Accepted answer

For the Live Preview button to show up, two criteria must be met:

* Your section’s *“Entries in this section have their own URLs”* setting must be checked
* Your section’s *“Entry Template”* setting must be set to a **valid** template path
* For Craft 3.2+ pro version, a preview target must be specified. This happens automatically, but might be missing [due to a bug](https://github.com/craftcms/cms/issues/5844). Add a preview target with Primary entry page => {url} to fix this.

Make sure both of those are set correctly, and the Live Preview button will show up.

> **Comments:**
> **username_6**: Also, an empty value for the Entry Template is a valid value. I was trying to remove Live Preview and it took me way too long to realize that. Using some gibberish removed it, though.  

---

### Answer by username_1 on 2014-07-03. Score: 3

Have you specified a template to use under that section's settings? If you didn't, the Live Preview button won't show.


---

### Answer by username_2 on 2016-01-20. Score: 2

I just had the same issue of the Live Preview button not displaying.
I followed the instructions from Brandon and Brad and still did not see the live preview button.
**It was not till that I created the template in the template directory that the live preview button appeared**.

I am using Craft Pro 2.5.2759, installed on my local machine with MAMP.

I hope this helps others coming to this page with the same issue.

> **Comments:**
> **username_3**: This is of course expected behaviour with Craft and is completely un-dependant on the version of Craft or using MAMP. How can Craft create a live preview of a page that doesn't have a template? How would it know what fields to use, how would it know where to put those fields, what would the fields look like? ☺  
> **username_2**: I just assumed that CraftCMS would have thrown a 404 error or something. Usually, as I create channels I also create templates but today I was setting up a test site and skipped setting up templates. I thought Craft was broken after updating since I have always seen the Live Preview button. I like the fact that the button does not appear till everything is setup for the live preview feature to properly work.  

---

### Answer by username_4 on 2019-01-10. Score: 1

Had the same issue. However, I had valid URLs and templates, as I used the same setup for other news sections on the site.

I resorted to creating a new section for the entries with the same details as the previous (had to change the details of the original one first) then, in the database I changed the section IDs in the entries to move them to the new section I created.

This fixed the odd issue I had, where everything looked fine but didn't work.


---

