morePreview

Developer

Christopher Imrie

3rd Party (Free)

346 downloads (last 90 days)

Creative Commons Attribution Non-Commercial Share Alike Download v1.2

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

Add-On Type(s)

Accessory

Tags

ExpressionEngine 2 accessory that allows you to preview newly published content from the control panel immediately after publishing (even if entry is closed).

This addon was originally released by Moresoda but is now maintained by Christopher Imrie. See here for more details.

The morePreview add-on is an ExpressionEngine 2 add-on that allows you to preview entries from the EE control panel immediately after publishing. With correctly setup templates, it even allows you to preview entries with ‘closed’ status, allowing you to preview content on your site before it becomes live.

Info

Developed by Moresoda Design Ltd, http://moresoda.co.uk

Requirements

  • ExpressionEngine 2.3 +

Browser Compatibility

  • Firefox 2+
  • Safari 2+
  • Chrome 3+
  • Opera 9+
  • Internet Explorer 7+

Installation

  1. Copy the system/expressionengine/third_party/morepreview folder to your system/expressionengine/third_party/ folder.
  2. Go to Add-ons→Accessories in the ExpressionEngine control panel and install the accessory labelled morePreview.

Control Panel Configuration

The morePreview add-on utilizes ExpressionEngines native Live Look feature to preview your content from within the Control Panel. So for this add-on to work your must configure each channel’s Live Look Template.

You can configure a channel’s Live Look Template by going to Admin→Channel Administration→Channels and clicking Edit Preferences for the channel you wish to configure. You will find the Live Look Template options in the Path Settings section of the channel preferences.

Template Configuration

Basic

Due to the way the Live Look feature works, your templates must be able to respond to entry id’s being sent in the URL instead of the url title.


    //The more common ExpressionEngine URL pattern that utilizes URL titles for links
    http://www.yoursite.com/template_group/template/new-entry-url-title
    
    //The Live Look URL structure uses entry id's instead of url titles.
    http://www.yoursite.com/template_group/template/123

If you have used a simple implementation of the {exp:channel:entries}  tag, and left dynamic=“on” (which is the default) and have not specified entry_id or url_title in the parameters, then EE will automatically switch from url titles to entry id’s automatically and the morePreview will work straight away.

For example, the following code is Live Look compatible:


    {exp:channel:entries channel="channel_name"}
        <h1>{title}</h1>
    {/exp:channel:entries}

Advanced

Non standard URL’s
If you are using non standard URL’s, then you need to be specific in the {exp:channel:entries} parameters about what segment ExpressionEngine should use:


    {exp:channel:entries channel="channel_name" entry_id="{segment_3}"}
        <h1>{title}</h1>
    {/exp:channel:entries}

Note: Remember that Live Look uses the entry id in its URL’s, not the url title.

Previewing Closed Entries

By instructing the {exp:channel:entries} to display closed entries, you can achieve a publishing workflow that allows you to preview entries before they go live on your site. By simply switching the entry’s status to “closed” and then submitting the ExpressionEngine publish form, you will be able to preview your new entry immediately.

For best results (and security), it is best to create a new template just for Live Look and then restrict access to the page for just your Member user group using ExpressionEngine’s Template Access Restriction feature. This will allow you to preview the page (since you are already logged into the Control Panel) but the general public will not be able to access this template without logging in.

Once this template has been created, the following code will allow you to view ‘closed’ entries securely.


    {exp:channel:entries channel="channel_name" status="open|closed"  show_future_entries="yes"}
        <h1>{title}</h1>
    {/exp:channel:entries}

Note: The show_future_entries parameter has been added in case you have set your entry_date to some point in the future

Download morePreview

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.2 May 1, 2011

morePreview Links

This entry was created May 5, 2011, 1:15 pm.
This entry was last updated March 14, 2014, 9:18 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

3 Reviews:

Simple_HQ 01.07.13

Simple_HQ
Rating - {addon_rating_average}

Easy enough to set up (need to remember to set up a ‘Preview’ template in Channels Admin) - does the trick and works well.

Liam 11.03.12

Liam
Rating - {addon_rating_average}

From a quick rummage this is rather great. Simply does what EE should do really. Thanks!

boldyellow 08.12.11

boldyellow
Rating - {addon_rating_average}

I just started using this accessory, so I haven’t pushed it really hard, but upon first use, it’s brilliant.  Why is this not already in EE?  The native preview is rather, um, regrettable.