Answers.Body: <p>It is (currently) not possible to set an Entry Template without selecting <em>"Entries in this section have their own URLs"</em> in the settings.
  So to make Live Preview available on your "slides" entries, you have to register the URLs.
  But if you use hidden / pseudo URLs (i.e. <code>hideme/{slug}</code>) that you don't link to and nobody knows of, this shouldn't be that bad of a workaround:</p>
  
  <ul>
  <li>You can check if the page is shown with Live Preview using <code>craft.request.isLivePreview</code>.
  Use this to redirect normal page views (search engines / accidential URL discoveries) to 404
  and show your slider for Live Preview requests.</li>
  <li><p>Set the Entry Template to the same file you use for your homepage or a new template file where you include the slider partial.</p>
  
  <pre><code>{# Conditionally show slider or redirect to 404 #}
  {% if craft.request.isLivePreview %}
      {% include '_includes/slider' %}
  {% else %}
      {% redirect 404 %}
  {% endif %}
  </code></pre></li>
  <li><p>Live Preview doesn't only work for the Entry variable any more (→ <a href="http://buildwithcraft.com/updates#build2616" rel="nofollow">Craft 2.3.2616 release notes</a>). So you can make Live Preview to
  update on changes detected on any entries referenced from the template.</p>
  
  <p><strong>EDIT:</strong> Unsaved entries are not yet included in such <code>craft.entries</code> calls (→ <a href="https://plus.google.com/101325980081569498457/posts/HNDFsLUMNw9" rel="nofollow">Brandon's comment</a> to my question on g+). As a workaround you could do something like this:</p>
  
  <p>_includes/slider.html:</p>
  
  <pre><code>{# Show unsaved "slider" entry #}
  {% if not entry.id %}
      &lt;li&gt;{{ entry.title }}&lt;/li&gt;
  {% endif %}
  
  {# Go through "slider" entries #}
  {% for slide in craft.entries.section('slides') %}
      {{ slide.title }}
  {% endfor %}
  </code></pre></li>
  </ul>
  
  <p><s>A dedicated field to set the template (or even multiple of them) used for Live Preview would make a nice feature request though!</s> <em>→ <a href="https://plus.google.com/101325980081569498457/posts/7jmcW93Di16" rel="nofollow">done</a></em></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-04T18:44:27.637Z
Answers.Text: Carlcs I don't see the ability to set the entry template in the settings since they do not each have their own url? Am I missing something? I'm not really understanding your answer. Thanks.
Answers.UserDisplayName: Christopher Healey
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-04T19:25:30.193Z
Answers.Text: @Christopher ahh right, but what about giving them an (pseudo) URL and not using it?
Answers.UserDisplayName: carlcs
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-04T14:48:17.580Z
Answers.LastActivityDate: 2015-02-06T15:39:48.920Z
Answers.LastEditDate: 2015-02-06T15:39:48.920Z
Answers.UserDisplayName: carlcs
Body: <p>This may be a silly question or a pipe dream, but i was wondering if there is a way to have a live preview for entries without a URL. For instance i have a complicated layered slider on the homepage of a site I am building and due to it's complexity it can not simply be a field or series of fields on the homepage entry, thus i've simply created a channel called 'slides' and I include that in my homepage template. </p>
  
  <p>It'd be really great if there was someway to allow live-preview to show the slides while editing, or allow editing of them while in live-preview of the homepage.</p>
  
  <p>Does this capability exist or am I out of luck?</p>
  
Tags: <live-preview>
Title: Live Preview Items Without Entry URL
ThreadText: # Live Preview Items Without Entry URL
  
  (Asked by: username_0 on 2015-02-04)
  
  This may be a silly question or a pipe dream, but i was wondering if there is a way to have a live preview for entries without a URL. For instance i have a complicated layered slider on the homepage of a site I am building and due to it's complexity it can not simply be a field or series of fields on the homepage entry, thus i've simply created a channel called 'slides' and I include that in my homepage template.
  
  It'd be really great if there was someway to allow live-preview to show the slides while editing, or allow editing of them while in live-preview of the homepage.
  
  Does this capability exist or am I out of luck?
  
  **Tags:** live-preview
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-02-04. Score: 2 | Accepted answer
  
  It is (currently) not possible to set an Entry Template without selecting *"Entries in this section have their own URLs"* in the settings.
  So to make Live Preview available on your "slides" entries, you have to register the URLs.
  But if you use hidden / pseudo URLs (i.e. `hideme/{slug}`) that you don't link to and nobody knows of, this shouldn't be that bad of a workaround:
  
  * You can check if the page is shown with Live Preview using `craft.request.isLivePreview`.
    Use this to redirect normal page views (search engines / accidential URL discoveries) to 404
    and show your slider for Live Preview requests.
  * Set the Entry Template to the same file you use for your homepage or a new template file where you include the slider partial.
  
    ```
    {# Conditionally show slider or redirect to 404 #}
    {% if craft.request.isLivePreview %}
        {% include '_includes/slider' %}
    {% else %}
        {% redirect 404 %}
    {% endif %}
  
    ```
  * Live Preview doesn't only work for the Entry variable any more (→ [Craft 2.3.2616 release notes](http://buildwithcraft.com/updates#build2616)). So you can make Live Preview to
    update on changes detected on any entries referenced from the template.
  
    **EDIT:** Unsaved entries are not yet included in such `craft.entries` calls (→ [Brandon's comment](https://plus.google.com/101325980081569498457/posts/HNDFsLUMNw9) to my question on g+). As a workaround you could do something like this:
  
    \_includes/slider.html:
  
    ```
    {# Show unsaved "slider" entry #}
    {% if not entry.id %}
        <li>{{ entry.title }}</li>
    {% endif %}
  
    {# Go through "slider" entries #}
    {% for slide in craft.entries.section('slides') %}
        {{ slide.title }}
    {% endfor %}
  
    ```
  
  ~~A dedicated field to set the template (or even multiple of them) used for Live Preview would make a nice feature request though!~~ *→ [done](https://plus.google.com/101325980081569498457/posts/7jmcW93Di16)*
  
  > **Comments:**
  > **username_0**: username_1 I don't see the ability to set the entry template in the settings since they do not each have their own url? Am I missing something? I'm not really understanding your answer. Thanks.  
  > **username_1**: @username_0 ahh right, but what about giving them an (pseudo) URL and not using it?  
  
  ---
  
  