Blank Edit Bar

Permalink
Hi,

On my site (rodtechuk.com) on some of the pages the edit bar is visible but contains none of its buttons, I have searched the forums and followed various advice to no avail. I have looked at the footer and made sure it contains
<?php Loader::element('footer_required'); ?>
and all seems to be well. Any help would be much appreciated.

Thanks

markrodtech
 
JohntheFish replied on at Permalink Reply
JohntheFish
optima replied on at Permalink Reply
optima
could you provide links to an example of a page that it works on and a page that it dosn't?

In my experience issues like this are caused by javascript messing up concrete.
markrodtech replied on at Permalink Reply
markrodtech
Hi,
Thanks for the responses,
Johnthefish
I have gone through the checklist and all appears to be ok.

Optima
it does not work on
http://rodtechuk.com/information/...

but it does work on
http://rodtechuk.com/contact-us/...

thanks in advance.
enlil replied on at Permalink Reply
enlil
Is there anything you did recently common to all those pages such as adding a stack or changing something in a stack that renders on all those pages?
optima replied on at Permalink Reply
optima
Looks to be something wrong with the footer on the page that does not work.

Do you have both
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<?php  Loader::element('footer_required'); ?>


in the footer?

The page just ends with
<h2 style="text-align: center;"> </h2></div><div class="ccm-spacer"></div></div></div></div><div id="ccm-layout-wrapper-7931" class="ccm-layout-wrapper"><div id="ccm-layout-main-57-4" class="ccm-layout ccm-layout-table  ccm-layout-name-Main-Layout-4 "><div class="ccm-layout-row ccm-layout-row-1"><div class="ccm-layout-57-col-1 ccm-layout-cell ccm-layout-col ccm-layout-col-1 first" style="width:50%">


Which is obviously not right...
markrodtech replied on at Permalink Reply
markrodtech
Thanks omtima,

i have looked at the footer file and both statements are defined.

How could the footer on 1 page be different to another? are they not global?

Thanks
optima replied on at Permalink Reply
optima
I'm not saying they are different but there is something wrong with the way the footer is being called on the page that doesn't work.

Check you have something like:
<?php 
defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header.php'); ?>


at the top, and then

<?php  $this->inc('elements/footer.php'); ?>


at the end of the page. I'm sure you have checked that anyway. If its all correct check that you have 'cut' the header and footer off that page type correctly. Not messed a div up or something like that.
markrodtech replied on at Permalink Reply
markrodtech
hi optima

i have
<?php          defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<?php        $this->inc('inc/sub_header.php'); ?>


at the top and

<?php        $this->inc('inc/rodtech_footer.php'); ?>


at the bottom.

any ideas?

Thanks
optima replied on at Permalink Reply
optima
Just so I'm clear, both of these pages are using the exact same header and footer?
markrodtech replied on at Permalink Reply
markrodtech
Hi optima

I looked at the pages and some were different, I have now changed it so all pages now use

<?php $this->inc('inc/sub_header.php'); ?>

and
<?php $this->inc('inc/rodtech_footer.php'); ?>


but there is still only a blank edit bar on certain pages.

Thanks
optima replied on at Permalink Reply
optima
ok, I think perhaps you have cut that page type slightly wrong. So when you took out the header and the footer you missed a div or something like that.

It's hard to say really, I'm guessing by the code this is theme or something that you are building on?

I would suggest just taking a really close look to make sure the page that its not working on finishes EXACTLY where it should before bringing in the footer.