Adapting HTML5 Theme with jQuery into concrete5 5.7 creates problems

Permalink
Hi,

I tryed to adapt a HTML5 Theme to concrete5. Important to know is that the HTML5 Theme is also using an own jQuery (1.10) and concrete5 uses the jQuery 1.11. I watched the concrete5 tutorial and I considered all decribed steps. All woked fine until i tried to login. Being in the editor mode, the editor header is there, but some js errors occurred (see attachment).
I tried all possible combinations: (1) footer_required section bevor or after the HTML5 javascript, (2) only used the new jQuery version and so on. Problem it dies not work. Do you have any idea to help me?

Thanks!

Here are the code from the full.php file
<!DOCTYPE html>
<html lang="en-US">
<head>
   <?php Loader::element('header_required');?>
   <link rel="shortcut icon" type="image/x-icon" href="<?php echo $view->getThemePath();?>/images/favicon.png">
   <link rel='stylesheet' id='ABdev_icon_whhg-css' href='<?php echo $view->getThemePath();?>/css/whhg.css' type='text/css' media='all'>
   <link rel='stylesheet' id='ABdev_animo-animate-css' href='<?php echo $view->getThemePath();?>/css/animo-animate.css' type='text/css' media='all'>
   <link rel='stylesheet' id='ABdev_tipsy-css' href='<?php echo $view->getThemePath();?>/css/tipsy.css' type='text/css' media='all'>
   <link rel='stylesheet' id='ABdev_prettify-css' href='<?php echo $view->getThemePath();?>/css/prettify.css' type='text/css' media='all'>
   <link rel="stylesheet" type="text/css" href="<?php echo $view->getThemePath();?>/rs-plugin/css/settings.css" media="screen">
   <link rel='stylesheet' id='font_css-css' href='http://fonts.googleapis.com/css?family=PT+Sans%3A400%2C700%2C400italic%7CUbuntu%3A300%2C400%2C500%2C700%2C300italic%2C400italic&ver=3.8' type='text/css' media='all'>
   <link rel='stylesheet' id='fancybox-css' href='<?php echo $view->getThemePath();?>/css/jquery.fancybox-1.3.4.css' type='text/css' media='all'>
   <link rel='stylesheet' id='main_css-css' href='<?php echo $view->getThemePath();?>/css/style.css' type='text/css' media='all'>
   <link rel='stylesheet' id='responsive_css-css' href='<?php echo $view->getThemePath();?>/css/responsive.css' type='text/css' media='all'>
</head>

1 Attachment

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi AndrewF,

It looks like you have two placeholder JS scripts.
<script type='text/javascript' src='<?php echo $view->getThemePath();?>/js/jquery.placeholder.js'></script>
<script type='text/javascript' src='<?php echo $view->getThemePath();?>/js/jquery.placeholder.min.js'></script>

You need to register your assets in page_theme.php.
- either provide or require jQuery and jQuery UI
<script type='text/javascript' src='<?php echo $view->getThemePath();?>/js/jquery.js'></script>
<script type='text/javascript' src='<?php echo $view->getThemePath();?>/js/jquery.ui.min.js'></script>

https://www.concrete5.org/documentation/developers/5.7/designing-for...

It looks like you are missing getPageWrapperClass().
<div class="<?php echo $c->getPageWrapperClass()?>">
AndrewF replied on at Permalink Reply
Thank you for your reply. But what do you mean with either provide or require?
MrKDilkington replied on at Permalink Reply
MrKDilkington
The link I included in my previous post explains this (asset registration).