Cant edit page!

Permalink
I simply cannot edit any of my pages except the homepage, event though they are the same theme, the same permissions and so on, the editing overlay simply does not exist. How can i fix or revert it back?

MattGreyDesign
 
Mnkras replied on at Permalink Reply
Mnkras
it seems you are having problems with your theme, can you post all the stuff in the <head></head> tags
MattGreyDesign replied on at Permalink Reply
MattGreyDesign
Here is the head code: (as seen when navigating to my website)
<head> 
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
<title>Matt Grey Design :: Home</title> 
<meta name="description" content="" /> 
<meta name="generator" content="concrete5 - 5.4.0.5" /> 
<script type="text/javascript"> 
var CCM_DISPATCHER_FILENAME = '/index.php';
var CCM_CID = 1;
var CCM_EDIT_MODE = false;
var CCM_ARRANGE_MODE = false;
var CCM_IMAGE_PATH = "/concrete/images";
var CCM_TOOLS_PATH = "/index.php/tools/required";
var CCM_REL = "";
</script> 
<link rel="stylesheet" type="text/css" href="/concrete/css/ccm.base.css?v=1057ea112cbfad543f324d818bfecfea" />


And here is the top of header.php
<head>
<?php  Loader::element('header_required'); ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<script type="text/javascript" src="<?=$this->getThemePath()?>/elements/jq.plug.settings.js"></script>
<link href="<?=$this->getThemePath()?>/main.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->getThemePath()?>/elements/plugins.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->getThemePath()?>/typography.css" rel="stylesheet" type="text/css" />
</head>
MattGreyDesign replied on at Permalink Reply
MattGreyDesign
Is it wrong to have a JavaScript file within the template files, and can this conflict with concrete?
MattGreyDesign replied on at Permalink Reply
MattGreyDesign
Yes, that is it, the JS file is conflicting. How do I implement Jquery JavaScript?
MattGreyDesign replied on at Permalink Reply
MattGreyDesign
Take a look at my file and see if I have to edit it:

http://mattgreydesign.com/themes/MG_Template/elements/jq.plug.setti...
defunct replied on at Permalink Best Answer Reply
defunct
Try this

<?php
if(!$c->isEditMode()) { ?>
<script type="text/javascript" src="<?=$this->getThemePath()?>/elements/jq.plug.settings.js"></script> 
<?php } ?>


Update that in your head, this way when in edit mode it should not include this problem file.
MattGreyDesign replied on at Permalink Reply
MattGreyDesign
Thank you so much, I thought it would be something as simple as that but I forgot the mark-up as well. Perfect!