Help with Edit bar and footer

Permalink
Hi All


I am new to concrete5, and so far loving it!!! Easiest CMS I have ever seen.

But I have one issue, well two but there the same (i think and hope)..

I have been making a theme for concrete5 and everything has working perfectly but the Edit bar at the of the screen does not, I cant find anything wrong as to why it wont show, everything else works fine.

If i use a template from here it works fine, so must be something in my templates, any help and advice is appreciated. (default.php below)


<!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">
<head>
<?php Loader::element('header_required'); ?>
<link href="<?=$this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->getThemePath()?>/menu.css" rel="stylesheet" type="text/css" />
<script src="<?=$this->getThemePath()?>/bgstretch/jquery-1.6.2.min.js"></script>
<script src="<?=$this->getThemePath()?>/bgstretch/jquery.backstretch.min.js"></script>
<script>$.backstretch("<?=$this->getThemePath()?>/images/Background.jpg");</script>
<!--[if IE]>
<style type="text/css"> 
.sbi { zoom: 1;}
</style>
<![endif]-->
</head>

 
mdzoidberg replied on at Permalink Reply
mdzoidberg
Hi, looks like you are missing the following at the top of your page before the DOCTYPE;

<?php  defined('C5_EXECUTE') or die("Access Denied."); ?>
jordanlev replied on at Permalink Reply
jordanlev
@mdzoidberg's answer is not correct. The reason you're having problems is most likely because you're including jquery yourself. Concrete5 already includes jquery on every page automatically, so if you also include it yourself it causes conflicts. Remove the jquery include line from your <head> and you should be good to go.
ameharhughes replied on at Permalink Reply
@mdzoidberg - Thank you very kindly for you help and suggestion

@jordanlev - thank you dude!!!

i did not know C5 included Jquery on every page, thats genius.
mdzoidberg replied on at Permalink Reply
mdzoidberg
Glad you sorted out, didn't see that you were including jQuery on your code (read to fast).
jordanlev replied on at Permalink Reply
jordanlev
Yeah, sorry if my comment came off as rude -- that wasn't my intention. I often glaze over things as well, glad it got sorted out!