We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Live Look - Entry Previews in CP Publish/Edit Tab - New Extension!

Development and Programming

PedroVon's avatar
PedroVon
2 posts
15 years ago
PedroVon's avatar PedroVon

Hi There,

what if you add “.$this->_parse_url($entry_id).” into the src=” at line #305 in ext.lg_live_look_ext.php?

Just an idea, I didn’t try, but I can see it is empty in my version.

       
Marc Tiedemann's avatar
Marc Tiedemann
119 posts
15 years ago
Marc Tiedemann's avatar Marc Tiedemann

Having the same problem here. Nothing shows up in the iframe but it is working with the direct link on the edit screen. Any ideas on how to fix this?

       
nickhill's avatar
nickhill
11 posts
15 years ago
nickhill's avatar nickhill

Hi Guys.

I have the same problem as many are reporting - nothing showing in the iframe in any browser, but the link from the edit table working fine.

My solution was: The CP publish page was looking for the extension’s javascript includes from \themes\cp_themes\default\lg_live_look\js

and I had my includes in \themes\cp_themes\lg_live_look\js

This may have been me not following installation instructions correctly, but moving it into the default folder did the job.

Good luck.

Nick

       
Dan Lovejoy's avatar
Dan Lovejoy
115 posts
15 years ago
Dan Lovejoy's avatar Dan Lovejoy

I’m having the same problem. Blank Preview in the Live Look tab - the src attribute of the iframe is completely blank. Leevi - have you given up supporting this extension? I’d gladly buy it and pay for support.

       
nickhill's avatar
nickhill
11 posts
15 years ago
nickhill's avatar nickhill

I had another instance of the contents of the Live Look tab being empty. I found that my .htaccess code I was using to remove the index.php file (the “include” method where you name the template groups) was stopping the webserver from pulling all the required files from the /themes folder (and maybe other places too)

So, I would suggest anyone having this problem to try emptying their .htaccess to see if that fixed the problem. I resorted to using the ‘exclude method’ and now everything in hunky dorey.

       
ExtremeGroup's avatar
ExtremeGroup
5 posts
15 years ago
ExtremeGroup's avatar ExtremeGroup

Ok i have another possible fix for people displaying a blank window for live look.

This was totally wacky.

Basically i was getting a 406 - Not Acceptable error on the file jquery.cookie.min.js which live look needs. As to why i was getting this error I am not sure but basically something was not liking the file.

I tried changing permissions to 777, changing the encoding type everything but none of that worked. So i changed the file name. No more 406 error. Basically my server didn’t like any .cookie anywhere in the file so i called it jquery.cook.min.js and it worked. Went to the extension for live look and just changed this:

$js .= NL."[removed]ini('theme_folder_url', 1) . "cp_themes/".$PREFS->ini('cp_theme')."/lg_live_look/js/jquery.cookie.min.js'>[removed]";

to

$js .= NL."[removed]ini('theme_folder_url', 1) . "cp_themes/".$PREFS->ini('cp_theme')."/lg_live_look/js/jquery.cook.min.js'>[removed]";

Works great for me now. This is using Publish Plus as well.

btw the file jquery.cookie.min.js will be in your themes/cp_themes/default/lg_live_look/js/ folder on your server

       
johnwbaxter's avatar
johnwbaxter
651 posts
15 years ago
johnwbaxter's avatar johnwbaxter

I’ve just installed this extension in EE2 and i’m not having an awful lot of luck with it!

I don’t get a new tab in my publish form and i don’t get any new live look links in my entry table. It seems to install the module, fieldtype and extension all properly but then i don’t get anything.

Have i missed something?

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
15 years ago
Leevi Graham's avatar Leevi Graham

Create a new custom field for the weblog and assign the NSM Live Look fieldtype. You should be able to drag it to it’s own tab then.

Out of curiosity do you already have a custom publish layout?

       
johnwbaxter's avatar
johnwbaxter
651 posts
15 years ago
johnwbaxter's avatar johnwbaxter

Yeah i do have a custom publish layout, i have added a new tab for The excellent “Taxonomy” module.

Interestingly, i did try and make a new tab and drag over the Live Look fieldtype but it wouldn’t let me. The fieldtype won’t “dock” in the new tab space when i drag it over. I tried with a different field and it docked fine. For some odd reason it won’t let me do it!

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
15 years ago
Leevi Graham's avatar Leevi Graham

I’m pretty sure it’s because the custom field group doesn’t have a NSM Live Look custom field. I’m still trying to figure out parts of the custom field api so please bear with me during the development phase.

       
johnwbaxter's avatar
johnwbaxter
651 posts
15 years ago
johnwbaxter's avatar johnwbaxter

Oh sure no problem, i only tried it because i saw a tweet about it or something and thought “Hey, i’ll try that!”

I’ll keep an eye on the repo and try new releases as and when they come.

Thanks for the response BTW!

       
johnwbaxter's avatar
johnwbaxter
651 posts
15 years ago
johnwbaxter's avatar johnwbaxter

I’ve just reset my layout and now the live look tab has appeared! Woohoo!

       
BrandonDurham's avatar
BrandonDurham
74 posts
15 years ago
BrandonDurham's avatar BrandonDurham

AMAZING extension. I love it.

Is there any way to make it compatible with Structure?

       
ira42's avatar
ira42
167 posts
15 years ago
ira42's avatar ira42

Hi Leevi,

Following up on the post just before this one, should Live Look be able to preview Structure pages?

Could have sworn that it used to work, when using either {page_uri} or {page_url} as the preview path. But I’ve recently upgraded to EE 1.6.9, Structure 2.1.1, and LG Live Look 1.1.0 (and even tried 1.2.0 from GitHub on one site).

Since the upgrades above, the live look links on the edit page and in the pub/edit form tabs are simply spitting out: “http://www.mysite.com/system/{page_url}/

Any ideas? This used to work, right?

Tx!

Ira

       
First 7 8 9

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.