ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to Preview Post

July 25, 2010 5:46pm

Subscribe [3]
  • #1 / Jul 25, 2010 5:46pm

    Neo Mudaly

    90 posts

    Hi,

    I’ve exhausted efforts trying to figure out how to preview a blog post and am hoping I’ve overlooked something really obvious.

    I need to preview my post in all it’s styled glory. I’ve tried using LG live look and have had no luck installing it.

    How do I do preview my post before making it live?

    Thanks,
    Neo

  • #2 / Jul 26, 2010 2:10am

    John Henry Donovan

    12339 posts

    Neo,

    You could use EE’s native Live Look feature which allows you to set a Live Look template in your Weblog Preferences.

    You will see this link in your Edit page. This link allows you to view the entry in a template of your choice.

    Does this help?

  • #3 / Jul 26, 2010 11:52am

    Neo Mudaly

    90 posts

    Thanks John,

    I knew it was something obvious.

    Currently I can only ‘live look’ entries that are ‘open’. Is there a way for me to view entries that are closed or pending? I’m looking for a way to accurately draft my entries before making them live.

    Cheers,
    Neo

  • #4 / Jul 26, 2010 5:57pm

    Ingmar

    29245 posts

    You can, of course, have EE show only “open” articles to the general public but all statuses (including “draft” and “open”, say) to Superadmins. That way you’d draft an article, publish it with a status of “draft” and review it live on the site; it still won’t be seen by other users until you change it to “open”. Makes sense?

  • #5 / Jul 27, 2010 1:25pm

    Neo Mudaly

    90 posts

    Thanks Ingmar,

    Yep, that makes sense.

    I’ve created a new status called “pending” and have set that to “not pending” in my entry tag.

    How do I enable Superadmins to now view it?

    Right now I can’t see it as a Super - neither can anyone else which is a start.

  • #6 / Jul 27, 2010 5:54pm

    Ingmar

    29245 posts

    You’ll have to use a conditional in your template, like so:

    {if logged_in_group_id == "1"}
       {exp:channel:entries status="open|pending" ... }
          {title}
       {/exp:channel:entries}
    {if:else}
       {exp:channel:entries status="open" ... }
          {title}
       {/exp:channel:entries}
    {/if}

    Something like that, anyway.

  • #7 / Jul 27, 2010 10:44pm

    Neo Mudaly

    90 posts

    Thank you, that’s what I was looking for 😊

    I’ve tweaked my templates and it’s working well.

  • #8 / Jul 28, 2010 4:04am

    John Henry Donovan

    12339 posts

    Glad that solution is working for you. Feel free to start a new thread if you have any more questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases