Sunday, 9 April 2017

BODY JS FILE LINK IN MAGENTO

BODY JS FILE LINK IN MAGENTO


-------------------------------------------------------------------------------------------------------------
SEARCH IN GOOGLE file content software
https://www.google.co.uk/search?q=flie+content+software&oq=flie+content+software
USE  AGNETRANSACK SOFTWARE FOR JS FILE
https://www.mythicsoft.com/agentransack
OTHERS FILE CONTENT SOFTWARE
https://www.fileseek.ca/
------------------------------------------------------------------------------------------------------------


--------------------------------------------------------------------------------------------------------------
READ MORE:
Intenso.Advanced.Magento.Theme.v1.5.0\Theme Files\Theme\app\design\frontend\intenso\default\template\page\html\scripts.phtml
OTHER CSS JS FILES IN LOCAL XML:
Intenso.Advanced.Magento.Theme.v1.5.0\Theme Files\Theme\app\design\frontend\intenso\default\layout\local.xml

ADD REMOVE CSS JS FILE IN MAGENTO

ADD REMOVE FILES IN MAGENTO
http://fbgadgets.blogspot.co.uk/2017/04/add-remove-css-js-file-in-mageto.html
------------------------------------------------------------------------------------------------------------------

MAIN FILE IN MAGENTO IN  INDEX PHPHD 
Apr 27, 2017 5:40 PM


Apr 10, 2017 2:10 PM

--------------------------------------------------------------------------------------------------------------
CODE scripts.phtml
--------------------------------------------------------------------------------------------------------------

<?php
/**
 * Intenso Premium Theme
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2014 Itactica (http://www.itactica.com)
 * @license     http://getintenso.com/license/regular
 */
/**
 * Scripts added before the body closing tag
 */
?>
<?php $zoomEnabled = true; ?>
<script src="<?php echo $this->getSkinUrl('js/foundation.min.js'); ?>"></script>
<script src="<?php echo $this->getSkinUrl('js/lib/chosen.jquery.min.js'); ?>"></script>
<script src="<?php echo $this->getSkinUrl('js/intenso.js'); ?>"></script>
<?php if (Mage::helper('core')->isModuleOutputEnabled('Itactica_ExtendedReviews')): ?>
<script src="<?php echo $this->getSkinUrl('js/lib/extendedreviews.js'); ?>"></script>
<?php endif; ?>
<?php $controllerName = $this->getRequest()->getControllerName(); ?>
<?php $routeName = $this->getRequest()->getRouteName(); ?>
<?php if($zoomEnabled && ($controllerName =='product' || $controllerName =='cart'
    || ($controllerName =='category' && Mage::helper('itactica_quickview')->isEnabled())
    || ($controllerName =='index' && Mage::helper('itactica_quickview')->isEnabled())
    || ($controllerName =='page' && Mage::helper('itactica_quickview')->isEnabled())
    || ($controllerName =='result' && Mage::helper('itactica_quickview')->isEnabled())
    || ($controllerName =='advanced' && Mage::helper('itactica_quickview')->isEnabled())
    || Mage::app()->getFrontController()->getAction()->getFullActionName() == 'wishlist_index_configure')): ?>
    <script src="<?php echo $this->getSkinUrl('js/lib/pinchzoom.js'); ?>"></script>
    <script src="<?php echo $this->getSkinUrl('js/lib/imagelightbox.js'); ?>"></script>
<?php endif; ?>
<?php if(($routeName =='tag' || $controllerName =='category' || $controllerName =='index' || $controllerName =='page' || $controllerName =='result' || $controllerName =='advanced') && Mage::helper('itactica_quickview')->isEnabled()): ?>
    <script src="<?php echo $this->getSkinUrl('js/lib/intenso.quickview.js'); ?>"></script>
<?php endif; ?>
<script>
    // Init Foundation framework
    $j(document).foundation({
        topbar: {
            custom_back_text: true,
            back_text: '<?php echo $this->__("Back"); ?>'
        }
    });
    // Init Intenso Theme framework
    $j(document).intenso({
        productsGrid: {
            <?php if ($itemMinWidth = Mage::getStoreConfig('intenso/catalog/catalog_min_product_width', Mage::app()->getStore())): ?>
            min_item_width: <?php echo $itemMinWidth; ?>
            <?php else: ?>
            min_item_width: 220
            <?php endif; ?>
        },
        revealModalTimer: {
            duration: '<?php echo Mage::getStoreConfig('intenso/global_messages/time', Mage::app()->getStore()); ?>s'
        }
    });
    <?php if($zoomEnabled && ($controllerName=='product' || $controllerName =='cart'
        || ($controllerName =='category' && Mage::helper('itactica_quickview')->isEnabled())
        || ($controllerName =='index' && Mage::helper('itactica_quickview')->isEnabled())
        || ($controllerName =='page' && Mage::helper('itactica_quickview')->isEnabled())
        || ($controllerName =='result' && Mage::helper('itactica_quickview')->isEnabled())
        || ($controllerName =='advanced' && Mage::helper('itactica_quickview')->isEnabled())
        || Mage::app()->getFrontController()->getAction()->getFullActionName() == 'wishlist_index_configure')): ?>
    var lightboxInstance,
        lightboxMobileInstance;
    $j(function () {
        lightboxInstance = $j('.lightbox').imageLightbox({
            quit_on_doc_click: false
        });
        lightboxMobileInstance = $j('.lightbox-mobile').imageLightbox({
            quit_on_doc_click: false
        });
    });
    <?php endif; ?>
</script>























0 comments:

Post a Comment

FB Gadgets | Template Designed by Fatakat PhotosCoolBThemes.com
Code by : paid web directory

https://www.google.co.uk/search?q=site%3Ablogspot.com+fbgadgets