responsive banner stuck after upgrade from 2.5 te 3.2

Hi, on flyeurope.tv after upgrade from 2.5 to 3.2 Responsive banner stopped working. I tried to reinstall it ( il also rebouth ). Can u take a look ?
10 years 11 months ago #1 by jimmy

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi jimmy,
I think it's because multiple jQuery loaded by your template (/templates/newflyeurope3b/jquery.js).
Joomla 3 loads jquery by default so you don't have to call it again from your template
10 years 11 months ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Thanks. Consider that i m a total newbie, can u tell me how avoid to call them from my template ? I m using a Software to design the template ( art....er ) .
Thanks a lot
10 years 11 months ago #3 by jimmy

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi Jimmy, you can try to open file /your_joomla_root/templates/newflyeurope3b/index.php
Then find this code at the bottom side of the file :
<script src="/templates/newflyeurope3b/jquery.js"></script>
then comment that code or delete it.

NOTE:
Please make a backup before you make change
10 years 11 months ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

This is my Index.PHP. i tried to erase some line line that but all the site were modified.

<?php
defined('_JEXEC') or die;

/**
* Template for Joomla! CMS, created with Artisteer.
* See readme.txt for more details on how to use the template.
*/

require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php';

// Create alias for $this object reference:
$document = $this;

// Shortcut for template base url:
$templateUrl = $document->baseurl . '/templates/' . $document->template;

Artx::load("Artx_Page");

// Initialize $view:
$view = $this->artx = new ArtxPage($this);

// Decorate component with Artisteer style:
$view->componentWrapper();

JHtml::_('behavior.framework', true);

?>
<!DOCTYPE html>
<html dir="ltr" lang="<?php echo $document->language; ?>">
<head>
<jdoc:include type="head" ></jdoc:include>
<link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" />
<link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" />

<!-- Created by Artisteer v4.2.0.60623 -->



<!--[if lt IE 9]><script src="html5shiv.googlecode.com/svn/trunk/html5.js"> <link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" type="text/css" />
<!--[if lte IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" media="screen" /><![endif]-->

<link rel="shortcut icon" href="<?php echo $templateUrl; ?>/favicon.ico" type="image/x-icon" />
<script>if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
<script src="<?php echo $templateUrl; ?>/jquery.js"></script>
<script>jQuery.noConflict();</script>

<script src="<?php echo $templateUrl; ?>/script.js"></script>
<script src="<?php echo $templateUrl; ?>/modules.js"></script>
<?php $view->includeInlineScripts() ?>
<script>if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
</head>
<body>

<div id="art-main">
<header class="art-header"><?php echo $view->position('position-30', 'art-nostyle'); ?>

<div class="art-shapes">

</div>








</header>
<?php if ($view->containsModules('position-1', 'position-28', 'position-29')) : ?>
<nav class="art-nav">

<?php if ($view->containsModules('position-28')) : ?>
<div class="art-hmenu-extra1"><?php echo $view->position('position-28'); ?></div>
<?php endif; ?>
<?php if ($view->containsModules('position-29')) : ?>
<div class="art-hmenu-extra2"><?php echo $view->position('position-29'); ?></div>
<?php endif; ?>
<?php echo $view->position('position-1'); ?>

</nav>
<?php endif; ?>
<div class="art-sheet clearfix">
<?php echo $view->position('position-15', 'art-nostyle'); ?>
<?php echo $view->positions(array('position-16' => 33, 'position-17' => 33, 'position-18' => 34), 'art-block'); ?>
<div class="art-layout-wrapper">
<div class="art-content-layout">
<div class="art-content-layout-row">
<div class="art-layout-cell art-content">
<?php
echo $view->position('position-19', 'art-nostyle');
if ($view->containsModules('position-2'))
echo artxPost($view->position('position-2'));
echo $view->positions(array('position-20' => 50, 'position-21' => 50), 'art-article');
echo $view->position('position-12', 'art-nostyle');
echo artxPost(array('content' => '<jdoc:include type="message" ></jdoc:include>', 'classes' => ' art-messages'));
echo '<jdoc:include type="component" ></jdoc:include>';
echo $view->position('position-22', 'art-nostyle');
echo $view->positions(array('position-23' => 50, 'position-24' => 50), 'art-article');
echo $view->position('position-25', 'art-nostyle');
?>



</div>
<?php if ($view->containsModules('position-7', 'position-4', 'position-5')) : ?>
<div class="art-layout-cell art-sidebar1">
<?php echo $view->position('position-7', 'art-block'); ?>
<?php echo $view->position('position-4', 'art-block'); ?>
<?php echo $view->position('position-5', 'art-block'); ?>




</div>
<?php endif; ?>

</div>
</div>
</div>
<?php echo $view->positions(array('position-9' => 33, 'position-10' => 33, 'position-11' => 34), 'art-block'); ?>
<?php echo $view->position('position-26', 'art-nostyle'); ?>

<footer class="art-footer">
<div class="art-content-layout layout-item-0">
<div class="art-content-layout-row">
<div class="art-layout-cell layout-item-1" style="width: 100%">
<?php if ($view->containsModules('position-31')) : ?>
<?php echo $view->position('position-31', 'art-nostyle'); ?>
<?php else: ?>
<p>
</p>
<?php endif; ?>
</div>
</div>
</div>

</footer>

</div>
</div>


<?php echo $view->position('debug'); ?>
</body>
</html>
10 years 11 months ago #5 by jimmy

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
You can try to delete the line :
<script src="/<?php echo $templateUrl; ?>/jquery.js"></script>
10 years 11 months ago #6 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum