Admin toolbar disappeared when calling javascript

Permalink
Hi Guys !
Starting to setup my first theme in C5. The problem i have now is when im calling a javascript. The script works but the admin toolbar disappeard.

This is how the first lines in the head looks like.

<?php Loader::element('header_required'); ?>
<link href="<?=$this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->getThemePath()?>/js/easySlider1.5.js"></script>

If i remove the getThemepath the toolbar shows again. Any one have any ide?

Best Regards

 
PauloCarvalhoDesign replied on at Permalink Best Answer Reply
PauloCarvalhoDesign
Hi there, It looks to me that you are loading jquery.js but you dont need to do it because is is loaded in the header_required.
Remove the link regarding jquery and all should work fine.
Also, if you are developing a theme avoid using php short tags.
Regards!
wingmedia replied on at Permalink Reply
Thank you it solved my problems ! Have a great day.

Best Regards,
PauloCarvalhoDesign replied on at Permalink Reply
PauloCarvalhoDesign
Not a problem, pleasure to help!