Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OnlineBiz_Obbase
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tung Nguyen
OnlineBiz_Obbase
Commits
ed261f71
Commit
ed261f71
authored
Mar 04, 2016
by
brokentwill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new config
parent
2dc936c2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
0 deletions
+70
-0
app/code/local/OnlineBiz/ObBase/etc/system.xml
app/code/local/OnlineBiz/ObBase/etc/system.xml
+19
-0
app/design/frontend/base/default/layout/onlinebizsoft/obbase.xml
...ign/frontend/base/default/layout/onlinebizsoft/obbase.xml
+18
-0
js/onlinebizsoft/obbase/jquery-1.10.2.min.js
js/onlinebizsoft/obbase/jquery-1.10.2.min.js
+6
-0
js/onlinebizsoft/obbase/noconflict.js
js/onlinebizsoft/obbase/noconflict.js
+27
-0
No files found.
app/code/local/OnlineBiz/ObBase/etc/system.xml
View file @
ed261f71
...
...
@@ -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"
>
...
...
app/design/frontend/base/default/layout/onlinebizsoft/obbase.xml
0 → 100644
View file @
ed261f71
<?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>
js/onlinebizsoft/obbase/jquery-1.10.2.min.js
0 → 100644
View file @
ed261f71
This diff is collapsed.
Click to expand it.
js/onlinebizsoft/obbase/noconflict.js
0 → 100644
View file @
ed261f71
/**
* 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
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment