Hello,
I would like to change the URLs of the following links
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
The reason:
When updating Joomla 3.6.4 the dropdown menu does not work any more. Therefore I want
to move these javascripts into the template folder.
Unfortunatelly I cant find the source code:
<?php
/**
# mega_orthodontis - Mega Orthodontis Template For Joomla! 1.7
# author OmegaTheme.com
# copyright Copyright(C) 2011 - OmegaTheme.com. All Rights Reserved.
# @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website: http://omegatheme.com
# Technical support: Forum - http://omegatheme.com/forum/
**/
/**------------------------------------------------------------------------
* file: index.php 1.7.0 00001, March 2011 12:00:00Z OmegaTheme $
* package: Mega Orthodontis Template
*------------------------------------------------------------------------*/
//No direct access!
defined( '_JEXEC' ) or die;
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/splitmodules.php');
JHTML::_('behavior.framework', true);
$doc = &JFactory::getDocument();
$doc->addScript(JURI::root().'/templates/'.$this->template.'/js/mega.script.js');
$doc->addScript(JURI::root().'/templates/'.$this->template.'/js/mega_menudropdown.js');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<?php
$menu =& JSite::getMenu();
if($menu->getActive() == $menu->getDefault()){
$home = true;
}else{
$home = false;
}
?>
<jdoc:include type="head" />
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1.0;" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/layout.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/template.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/typography.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/customs.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/menu.css" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Open+Sans:700" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 8]>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->
<?php if($this->countModules('news')) {
$fnews = '';
}else{
$fnews = '_fn';
}
?>
<?php if($this->countModules('right')) {
$fright = '';
}else{
$fright = '_fr';
}
?>
<script type="text/javascript">
jQuery(function($){
$( '.res-btn' ).click(function(){
$('.mega_main_menu').toggleClass('expand-nav')
})
})
</script>
Could you please give me a hint where to change the path.
best Regards
erick