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
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.
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
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?
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!
AMAZING extension. I love it.
Is there any way to make it compatible with Structure?
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
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.