Edit bar not showing

Permalink
Hi - on this site I'm working on the edit bar is not showing on the home page (http://bmc-client.co.uk/creativeanimation/) and the full page template (http://bmc-client.co.uk/creativeanimation/index.php/our-projects/) but seems to work fine on the right sidebar template.
(http://bmc-client.co.uk/creativeanimation/index.php/our-pricing-2/)

They are all using the same header.php file on the slate theme. Can't understand why they are using the same header but some templates work but not others...

I've tried the usual checking for the <?php Loader::element('header_required'); ?> and same for the footer footer_required. Any ideas anyone pleeeease!! I guess it must be a javascript conflict...

chassa2556
 
Javo replied on at Permalink Reply
Hi there,
I have also had this issue a few times and it was javascript related for me.
My suggestion would be to comment out any other scripts that you are loading so you are just loading the header required, if this resolves the issue uncomment the scripts one by one and see which one you load creates the problem.
chassa2556 replied on at Permalink Reply
chassa2556
Thanks for this - where would I be most likely to find the js for the third party blocks in view.php? They scripts seem to be in different places.
Javo replied on at Permalink Reply
Yeh it can become pretty crazy once you have a few different blocks on a page that are all loading scripts.

Did the edit bar stop showing after adding a block?
chassa2556 replied on at Permalink Reply
chassa2556
It seemed to be OK for a bit with all the blocks showing but it suddenly went. The weird thing is the right sidebar template seems to work fine with the same header stuff going in. Could I delete the blocks and start again or will it crash if already installed.
adajad replied on at Permalink Reply
adajad
Do you have the exact same blocks when you use the right sidebar template?

Have you compared the code for the page types? Most of the c5 loaded js is added with footer_required, and not header_required so make sure footer_required is on all page types (which it should be if a footer.php from the elements folder is used in all page types).

Can you see any javascript errors when you look in the developer console in your browser?

Have you done an upgrade of the core recently? If so make sure all your add-ons are updated and compatible.
warhorse replied on at Permalink Reply
warhorse
When I had a similar problem it was a JavaScript error. Looking at he page above in Chrome with Dev tools I see these messages.

Uncaught ReferenceError: jQuery is not defined superfish.js:85
Uncaught ReferenceError: jQuery is not defined jquery.mousewheel-3.0.4.pack.js:14
Uncaught ReferenceError: jQuery is not defined jquery.fancybox-1.3.4.pack.js:46
Uncaught ReferenceError: $ is not defined

Not saying that is the issue. But fixing this may help with a future problem or clear a path to the solution.