Answers.Body: <p>Live Preview will be available when the following are true:</p>
  
  <ul>
  <li>The section’s “Entries in this section have their own URLs” setting is checked</li>
  <li>The section’s “Entry Template” setting points to a valid template path</li>
  <li>The entry has been saved</li>
  </ul>
  
  <p>It doesn’t matter if the entry is enabled or not.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-28T23:05:03.357Z
Answers.Text: All of those conditions are met. I'll send in some logs from the dashboard widget.
Answers.UserDisplayName: Tom De Smet
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-13T21:57:07.930Z
Answers.Text: I have checked everything again and all conditions are met, but now I see that I actually don't use the "entries own url" setting. It's enabled, so I get the live preview button, but I use dynamic routing to create my own url's (because I need to add a category as a segment in the URL). So that's probably where it goes wrong. I check the last segment of the URI as the slug of the product and set my entry manually by it. So how do I make live preview work than?
Answers.UserDisplayName: Tom De Smet
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-15T00:21:45.063Z
Answers.Text: @TomDeSmet You should probably create a new thread for that last question.
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-25T16:26:37.850Z
Answers.LastActivityDate: 2015-10-25T16:26:37.850Z
Answers.UserDisplayName: Brandon Kelly
Answers.Body: <p>I assume your entry has a category field in it? In your section's settings, use something like this for the format URL:</p>
  
  <pre><code>{myCategoryField.first().slug}/{slug}
  </code></pre>
  
  <p>No need to roll you own routing, Craft will add the category's slug to your URL and do all of that properly for you.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-14T01:31:26.510Z
Answers.LastActivityDate: 2015-11-14T01:31:26.510Z
Answers.UserDisplayName: RitterKnight
Body: <p>I have a few entries which are set to disabled. It seems that the live preview is not working then. It only works when the entry status is enabled.</p>
  
  <p>This seems more like a bug than a feature, right?</p>
  
  <hr>
  
  <p><strong>Update</strong></p>
  
  <p>I have checked everything again and all conditions stated by Brandon below are met, but now I see that I actually don't use the "entries own url" setting. It's enabled, so I get the live preview button, but I use dynamic routing to create my own url's (because I need to add a category as a segment in the URL).</p>
  
  <p>So that's probably where it goes wrong. I check the last segment of the URI as the slug of the specific entry and set my entry manually by it.</p>
  
  <p>So how do I make live preview work than?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-14T00:56:27.870Z
Comments.Text: Include your partial into the template specified in the section's settings. Or redirect.
Comments.UserDisplayName: carlcs
Tags: <live-preview><status>
Title: No live preview available when entry status is set to disabled?
ThreadText: # No live preview available when entry status is set to disabled?
  
  (Asked by: username_0 on 2015-10-25)
  
  I have a few entries which are set to disabled. It seems that the live preview is not working then. It only works when the entry status is enabled.
  
  This seems more like a bug than a feature, right?
  
  ---
  
  **Update**
  
  I have checked everything again and all conditions stated by username_2 below are met, but now I see that I actually don't use the "entries own url" setting. It's enabled, so I get the live preview button, but I use dynamic routing to create my own url's (because I need to add a category as a segment in the URL).
  
  So that's probably where it goes wrong. I check the last segment of the URI as the slug of the specific entry and set my entry manually by it.
  
  So how do I make live preview work than?
  
  **Tags:** live-preview, status
  
  > **Comments:**
  > **username_1**: Include your partial into the template specified in the section's settings. Or redirect.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-10-25. Score: 7
  
  Live Preview will be available when the following are true:
  
  * The section’s “Entries in this section have their own URLs” setting is checked
  * The section’s “Entry Template” setting points to a valid template path
  * The entry has been saved
  
  It doesn’t matter if the entry is enabled or not.
  
  > **Comments:**
  > **username_0**: All of those conditions are met. I'll send in some logs from the dashboard widget.  
  > **username_0**: I have checked everything again and all conditions are met, but now I see that I actually don't use the "entries own url" setting. It's enabled, so I get the live preview button, but I use dynamic routing to create my own url's (because I need to add a category as a segment in the URL). So that's probably where it goes wrong. I check the last segment of the URI as the slug of the product and set my entry manually by it. So how do I make live preview work than?  
  > **username_3**: @username_0 You should probably create a new thread for that last question.  
  
  ---
  
  ### Answer by username_4 on 2015-11-14. Score: 1
  
  I assume your entry has a category field in it? In your section's settings, use something like this for the format URL:
  
  ```
  {myCategoryField.first().slug}/{slug}
  
  ```
  
  No need to roll you own routing, Craft will add the category's slug to your URL and do all of that properly for you.
  
  
  ---
  
  