How do i edit my .js to google external .js

in my header, i have this code:

<?php $lista_plikow = array(
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery.min.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery-migrate-1.2.1.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery-ui.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/bootstrap.min.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/twitter-bootstrap-hover-dropdown.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery.themepunch.plugins.min.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery.themepunch.revolution.min.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/camera.min.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/products.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/common.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery.cookie.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery.magnific-popup.min.js',
        'catalog/view/theme/'.$this->config->get( 'config_template' ).'/js/jquery.elevateZoom-3.0.3.min.js'
); ?>

how to edit it to external url

stick “http://someexternalurl.com/” in the place where you’ve got “catalog/view/theme”? Too vague of a question to give a complete answer.

what do you need to complete the answer… it didnt work what you suggested

Well, how is the above array being used? Your code only shows an array definition.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.