Commit ed261f71 authored by brokentwill's avatar brokentwill

Add new config

parent 2dc936c2
......@@ -34,6 +34,25 @@
</keys>
</fields>
</general>
<lib translate="label">
<label>Library Includes</label>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<jquery>
<label>Include JQuery v1.10.x</label>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_yesno</source_model>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<comment><![CDATA[Include Jquery JS v1.10 or not? You may set this No if you already had a compatible jquery version included.]]></comment>
</jquery>
</fields>
</lib>
</groups>
</managekey>
<obbase translate="label" module="obbase">
......
<?xml version="1.0"?>
<layout>
<!-- Default handle, loaded on most pages -->
<default>
<reference name="head">
<action method="addItem" ifconfig="managekey/lib/jquery">
<type>js</type>
<name>onlinebizsoft/obbase/jquery-1.10.2.min.js</name>
</action>
<action method="addItem" ifconfig="managekey/lib/jquery">
<type>js</type>
<name>onlinebizsoft/obbase/noconflict.js</name>
</action>
</reference>
</default>
</layout>
This diff is collapsed.
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Mage
* @package js
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
// Avoid PrototypeJS conflicts, assign jQuery to $j instead of $
var $j = jQuery.noConflict();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment