Avatar of Leevi Graham

LG Live Look v1.0.2 Preview ExpressionEngine entries in the publish/edit tab

Download LG Live Look v1.0.2 Table of contents

Need help setting up ExpressionEngine templates with LG Live Look?

I have written a comprehensive tutorial on setting up ExpressionEngine templates and LG Live Look over on the Newism blog.

Features

LG Live Look is a Multi-Site Manager compatible ExpressionEngine extension that allows you to preview weblog entries in the ExpressionEngine control panel.

A Live Look tab is added to the publish / edit form which displays the populated entry template and a Live Look link is added to the CP edit tab entry table.

Screenshots

Requirements

LG Live Look requires ExpressionEngine 1.6.5+ and CP jQuery.

Installation

The LG Live Look extension contains an extension and language folder. To install LG Live Look follow the instructions below:

  • Download the latest version of LG Live Look
  • Extract the .zip file to your desktop
  • Copy /extensions/ext.lg_live_look_ext.php file to your /extensions/ directory
  • Copy /language/english/lang.lg_live_look_ext.php file to your /languages/english/ directory
  • Open the Extension Manager
  • Enable Extensions if not already enabled
  • Enable the extension
  • Configure the extension settings

Updating from version 1.0.0

The major difference between version 1.0.0 and version 1.0.2 is the new dependency on CP jQuery (bundled with EE 1.6.6+). This new dependency may cause some issues with older extensions that use their own jQuery implementations. If you have any issues post them in the ExpressionEngine forum and I'll do my best o help you resolve them.

Updating from version 1.0.0 should be relatively painless when you follow the steps below:

  1. Always backup your database
  2. Install and activate CP jQuery
  3. Delete the old LG Live Look files
  4. Copy the new to their respective folders in your ExpressionEngine installation
  5. Check and update the extension settings

Note: lg_live_look.create-sym-links.command is a convenience command for creating symlinks when your extensions live outside your EE install. If you have no idea what I'm talking about don't worry just ignore the file smile

Configuration

LG Live Look has the following extension settings which need to be entered separately for each Multi-Site Manager site:

Extension Access

Enable

Enable LG Live Look for this site?

Yes | No
Which member groups will see the LG Live Look tab and links?

Allowed member groups will see a Live Look tab and link in the publish/edit and edit entries page.

Weblog Configuration

Display Tab?
Yes | No

Display the Live Look tab in the publish/edit entry form?

Yes | No

Display a Live Look link in each entries table row on the Edit Entries CP page?

Entry URL?
/blog/post/{entry_id}/{url_title}/

The entry url will be used as the Live Look link target and Live Look tab iframe src. If assigned, the link target and iframe source will use the Pages Module {page_url} value.

The entry url will have the following variables replaced with entry specific content:

  • {url_title}
  • {entry_id}
  • {weblog_id}
  • {title}
  • {author_id}
  • {status}
  • {entry_date_day}
  • {entry_date_month}
  • {entry_date_year}
  • {dst_enabled}
  • {comment_total}
  • {trackback_total}
  • {username}
  • {email}
  • {screen_name}

Check for updates?

Yes | No

LG Live Look can call home and check for recent extension updates. This feature requires LG Addon Updater.

Usage

LG Live Look does not have any specific usage instructions, however I have written a best practices blog post on setting up templates and entry statuses over on the Newsim blog.

Change Log

Version 1.0.2

  • Added Quicksave integration including support for new entries (bug)

Version 1.0.1

  • Added Pages Module integration - Entries will use their {page_url} (where applicable) rather than the generated URL based on the extension settings (fr)
  • Fixed LANG file (bug)
  • Separated Javascript from extension file
  • Added CP jQuery dependency and removed "Scripts" extension setting

Version 1.0.0

  • Initial Release

License

LG Live Look is currently available for use in all personal or commercial projects under Creative Commons Attribution-Share Alike 3.0 Unported license.

You are free to:

  • Share - to copy, distribute and transmit the work
  • Remix - to adapt the work

Under the following conditions:

  • Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.