Easy edit installation white screen


(Gjboyd7) #1

Hi, I have been trying to setup Easy Edit using the demo supplied on the site.  I have followed the instructions, but when done get presented with a white screen when trying to access _edit.

 

The page also gives this in the view source.  Any idea what I could be missing?

    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta charset="utf-8" />
            
            <!-- EES install and implementation help: http://manuals.matrix.squizsuite.net/ees/chapters/installation -->
            
            <!-- The title tag is dynamically replaced by EES code, see your EES config.js file to customise -->
            <!-- Related install step: http://manuals.matrix.squizsuite.net/ees/chapters/installation/#Constructing-the-Configuration-File -->
            <title>Loading Easy Edit Suite...</title>
            
            <!-- Use a nested standard page (set to raw html) for custom CSS and JS file references. Avoids editing design file. -->
            
            
        
<!--
  Running Squiz Matrix
  Developed by Squiz - http://www.squiz.net
  Squiz, Squiz Matrix, MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 06 February 2014 20:39:01
-->

			<link rel="stylesheet" type="text/css" href="http://matrixdemo.squiz.net/__lib/web/css/limbo.css" />
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/translation.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__data/system/core/js_strings.en.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/html_form/html_form.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/general.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/debug.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/edit.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/tooltip.js"></script>
				<script type="text/javascript"><!--
		//<![CDATA[

			// slip our own onLoad function into the onLoad event of the window
			var SQ_DOCUMENT_LOADED = false;

			function page_on_load()
			{
				
				// let everyone know the document is loaded
				SQ_DOCUMENT_LOADED = true;

			}// end page_on_load()

			function print_tooltip()
			{
				if (window.self.name == 'sq_main') {
					tooltip.print();
				}
			}

			var SQ_FORM_SUBMITTED = false;

			function form_on_submit()
			{
				if (SQ_FORM_SUBMITTED) {
					alert(js_translate('form_already_submitted'));
					return;
				}

				
				// basically if they get this far then we can submit
				SQ_FORM_SUBMITTED = true;
				return true;

			}//end form_on_submit()

		//]]> -->
		</script>
		

</head>
        <body>

</body>
    </html>

(Bart Banda) #2

Seems like you are missing the nested page with the JS and CSS includes for EES. See http://manuals.matrix.squizsuite.net/ees/chapters/installation for a full step by step guide on how to install EES. 


(Gjboyd7) #3

I tried this.  Added the customisation nested content.  The files seem to be showing now, but still a blank screen.  Here is the view source I am getting now.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- EES install and implementation help: http://manuals.matrix.squizsuite.net/ees/chapters/installation -->

<!-- The title tag is dynamically replaced by EES code, see your EES config.js file to customise -->
<!-- Related install step: http://manuals.matrix.squizsuite.net/ees/chapters/installation/#Constructing-the-Configuration-File -->
<title>Loading Easy Edit Suite...</title>

<!-- Use a nested standard page (set to raw html) for custom CSS and JS file references. Avoids editing design file. -->
<!-- Easy Edit CSS  -->
<link href="/__data/ees/easyedit.min.css" rel="stylesheet" media="screen" />

<!-- Squiz Matrix / Easy Edit JS API (replace with correct file path to JS API within web services folder, file path may vary per implementation) -->
<!-- Related install step: http://manuals.matrix.squizsuite.net/ees/chapters/installation#The-Javascript-API -->
<script src="http://matrixdemo.squiz.net/_web_services/easy-edit-suite.js"></script>

<!-- Easy Edit Configuration (replace with correct file path, file path may vary per implementation) -->
<!-- Related install step: http://manuals.matrix.squizsuite.net/ees/chapters/installation#Constructing-the-Configuration-File -->
<script src="/__data/assets/js_file/0014/95/EasyEditConfig.js"></script>

<!-- Easy Edit Core Scripts (path to install directory within data/public/)  -->
<script src="/__data/ees/easyedit.min.js"></script>

<!--
  Running Squiz Matrix
  Developed by Squiz - http://www.squiz.net
  Squiz, Squiz Matrix, MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 06 February 2014 23:38:14
-->

			<link rel="stylesheet" type="text/css" href="http://matrixdemo.squiz.net/__lib/web/css/limbo.css" />
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/translation.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__data/system/core/js_strings.en.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/html_form/html_form.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/general.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/debug.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/edit.js"></script>
					<script type="text/javascript" src="http://matrixdemo.squiz.net/__lib/js/tooltip.js"></script>
				<script type="text/javascript"><!--
		//<![CDATA[

			// slip our own onLoad function into the onLoad event of the window
			var SQ_DOCUMENT_LOADED = false;

			function page_on_load()
			{
				
				// let everyone know the document is loaded
				SQ_DOCUMENT_LOADED = true;

			}// end page_on_load()

			function print_tooltip()
			{
				if (window.self.name == 'sq_main') {
					tooltip.print();
				}
			}

			var SQ_FORM_SUBMITTED = false;

			function form_on_submit()
			{
				if (SQ_FORM_SUBMITTED) {
					alert(js_translate('form_already_submitted'));
					return;
				}

				
				// basically if they get this far then we can submit
				SQ_FORM_SUBMITTED = true;
				return true;

			}//end form_on_submit()

		//]]> -->
		</script>
		

</head>
<body>


</body>
</html>

(Bart Banda) #4

Check the console logs in your browser for any JS errors. That should normally be able to tell you what's wrong. 


(Gjboyd7) #5

That was it, it's working now.


#6

Hello Bart and Everyone,

From the /_admin window in Squiz Matrix, when I right click a standard page and select ‘Preview’ and then, ‘In Edit Mode’ and enter the Easy Edit screen, any previous content fails to appear until I click the ‘Add Content Tool’ button.

I’m creating a new design for my organisation which uses Squiz Matrix v5.4.1.2, Easy Edit and some customs tools. Their existing designs set up support for Easy Edit using the methods specified in the online manuals for installing Edit+ 5.2 - 5.3. I lack admin privileges to be able to access existing customizations and discern which asset should be specified as the Edit+ Code file for the nested content nor other details to write my own Edit+ Code file as per online manual instructions.

So I used the new v5.4 method for specifying Edit+ support. My organisation relys heavily on Easy Edit and custom tools and I placed those references into the Edit+ Config file as instructed by the online manuals for installing Edit+ v5.4.

I’m hoping someone can tell me though, what I should be writing for the little script section below the custom tool references. The design fails if I leave it out but I suspect my failure to modify this script correctly is what is causing the Easy Edit to fail to initially display existing content.

Regards,
Meng.


(Bart Banda) #7

Sounds liek you probably need to some help from whoever wrote these custom tools to help you with that. We’d have no idea on how to fix it as they are custom scripts that no one here really has any experience with. Maybe send a support ticket in to Squiz to see if they can spend some time helping you out with configuring these correctly as it’s probably best to be done by someone who has access to the Admin interface of this system.