QuBit_UniversalVariable - Version 1.0.3

Version Notes

fixed issue with loading data.php file

Download this release

Release Info

Developer Jing Dong
Extension QuBit_UniversalVariable
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/local/QuBit/UniversalVariable/.DS_Store ADDED
Binary file
app/code/local/QuBit/UniversalVariable/Helper/Data.php CHANGED
@@ -1,4 +1,7 @@
1
- <?php
2
- class QuBit_UniversalVariable_Helper_Data extends Mage_Core_Helper_Data
3
- {
4
- }
 
 
 
1
+ <?php
2
+
3
+ class QuBit_UniversalVariable_Helper_Data extends Mage_Core_Helper_Abstract {
4
+
5
+ }
6
+
7
+ ?>
app/code/local/QuBit/UniversalVariable/etc/.DS_Store ADDED
Binary file
app/code/local/QuBit/UniversalVariable/etc/api.xml DELETED
@@ -1,19 +0,0 @@
1
- <!-- api.xml -->
2
- <config>
3
- <api>
4
- <resources>
5
- <universal_variable translate="title" module="tutorial">
6
- <title>GrelaDesign tutorial DashBoard app API calls</title>
7
- <model>universal_variable/main_api</model>
8
- <acl>greladesign/tutorial</acl>
9
- <methods>
10
- <getUniversalVariable translate="title" module="tutorial">
11
- <title>Get Universal Variable</title>
12
- <method>getUniversalVariable</method><!-- here we specify the method name if we have a conflict with built in method or we want to change the name i.e. because it is lengthy -->
13
- <acl>greladesign/tutorial/owneraccess</acl>
14
- </getUniversalVariable>
15
- </methods>
16
- </universal_variable>
17
- </resources>
18
- </api>
19
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/QuBit/UniversalVariable/etc/config.xml CHANGED
@@ -6,18 +6,21 @@
6
  </QuBit_UniversalVariable>
7
  </modules>
8
 
9
- <global>
10
- <models>
11
- <universal_variable_main>
12
- <class>QuBit_UniversalVariable_Model_Page</class>
13
- </universal_variable_main>
14
- </models>
15
- <helpers>
16
- <universal_variable_main>
17
- <class>QuBit_UniversalVariable_Helper</class>
18
- </universal_variable_main>
19
- </helpers>
20
- <events>
 
 
 
21
  <controller_action_layout_load_before>
22
  <observers>
23
  <QuBit_UniversalVariable_Model_Page_Observer>
@@ -27,71 +30,70 @@
27
  </QuBit_UniversalVariable_Model_Page_Observer>
28
  </observers>
29
  </controller_action_layout_load_before>
30
- </events>
31
- <blocks>
32
  <universal_variable_block>
33
  <class>QuBit_UniversalVariable_Block_Uv</class>
34
  </universal_variable_block>
35
- </blocks>
36
- </global>
37
 
38
- <frontend>
39
- <routers>
40
  <routeurfrontend>
41
  <use>standard</use>
42
  <args>
43
- <module>QuBit_UniversalVariable</module>
44
- <frontName>universal_variable</frontName>
45
  </args>
46
- </routeurfrontend>
47
- </routers>
48
 
49
- <!-- Layout -->
50
- <layout>
51
  <updates>
52
  <qubit_universal_variable>
53
  <file>qubit/universal_variable.xml</file>
54
  </qubit_universal_variable>
55
  </updates>
56
- </layout>
57
  </frontend>
58
  <adminhtml>
59
  <acl>
60
- <resources>
61
- <all>
62
- <title>Allow Everything</title>
63
- </all>
64
- <admin>
65
- <children>
66
- <QuBit_UniversalVariable module="QuBit_UniversalVariable">
67
- <title>QuBit</title>
68
- <sort_order>0</sort_order>
69
- <children>
70
- <QuBit_UniversalVariable module="QuBit_UniversalVariable">
71
- <title>Manage QuBit Script</title>
72
- <sort_order>0</sort_order>
73
- </QuBit_UniversalVariable>
74
- </children>
75
- </QuBit_UniversalVariable>
76
- <system>
77
- <children>
78
- <config>
79
  <children>
80
- <QuBit_UniversalVariable translate="title" module="QuBit_UniversalVariable">
81
- <sort_order>0</sort_order>
82
- <title>Manage QuBit Script</title>
83
- </QuBit_UniversalVariable>
 
 
 
 
84
  </children>
85
- </config>
86
- </children>
87
- </system>
88
- </children>
89
- </admin>
90
- </resources>
91
  </acl>
92
  </adminhtml>
93
 
94
-
95
  <!-- Admin Configuration Default Values -->
96
  <default>
97
  <!-- <QuBit_UniversalVariable>
6
  </QuBit_UniversalVariable>
7
  </modules>
8
 
9
+ <global>
10
+ <models>
11
+ <universal_variable_main>
12
+ <class>QuBit_UniversalVariable_Model_Page</class>
13
+ </universal_variable_main>
14
+ </models>
15
+ <helpers>
16
+ <universal_variable_main>
17
+ <class>QuBit_UniversalVariable_Helper</class>
18
+ </universal_variable_main>
19
+ <universal_variable_data_helper>
20
+ <class>QuBit_UniversalVariable_Helper_Data</class>
21
+ </universal_variable_data_helper>
22
+ </helpers>
23
+ <events>
24
  <controller_action_layout_load_before>
25
  <observers>
26
  <QuBit_UniversalVariable_Model_Page_Observer>
30
  </QuBit_UniversalVariable_Model_Page_Observer>
31
  </observers>
32
  </controller_action_layout_load_before>
33
+ </events>
34
+ <blocks>
35
  <universal_variable_block>
36
  <class>QuBit_UniversalVariable_Block_Uv</class>
37
  </universal_variable_block>
38
+ </blocks>
39
+ </global>
40
 
41
+ <frontend>
42
+ <routers>
43
  <routeurfrontend>
44
  <use>standard</use>
45
  <args>
46
+ <module>QuBit_UniversalVariable</module>
47
+ <frontName>universal_variable</frontName>
48
  </args>
49
+ </routeurfrontend>
50
+ </routers>
51
 
52
+ <!-- Layout -->
53
+ <layout>
54
  <updates>
55
  <qubit_universal_variable>
56
  <file>qubit/universal_variable.xml</file>
57
  </qubit_universal_variable>
58
  </updates>
59
+ </layout>
60
  </frontend>
61
  <adminhtml>
62
  <acl>
63
+ <resources>
64
+ <all>
65
+ <title>Allow Everything</title>
66
+ </all>
67
+ <admin>
68
+ <children>
69
+ <QuBit_UniversalVariable module="universal_variable_main">
70
+ <title>QuBit</title>
71
+ <sort_order>0</sort_order>
72
+ <children>
73
+ <QuBit_UniversalVariable module="universal_variable_main">
74
+ <title>Manage QuBit Script</title>
75
+ <sort_order>0</sort_order>
76
+ </QuBit_UniversalVariable>
77
+ </children>
78
+ </QuBit_UniversalVariable>
79
+ <system>
 
 
80
  <children>
81
+ <config>
82
+ <children>
83
+ <QuBit_UniversalVariable translate="title" module="universal_variable_main">
84
+ <sort_order>0</sort_order>
85
+ <title>Manage QuBit Script</title>
86
+ </QuBit_UniversalVariable>
87
+ </children>
88
+ </config>
89
  </children>
90
+ </system>
91
+ </children>
92
+ </admin>
93
+ </resources>
 
 
94
  </acl>
95
  </adminhtml>
96
 
 
97
  <!-- Admin Configuration Default Values -->
98
  <default>
99
  <!-- <QuBit_UniversalVariable>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>QuBit_UniversalVariable</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Extension license name (OSL v3.0)</license>
7
  <channel>community</channel>
@@ -12,11 +12,11 @@
12
  <description>QuBit OpenTag recommends creating the releavant JavaScript object on your page prior to the OpenTag container script. This will assure the values are present on the page when a script tries to access them.&#xD;
13
  &#xD;
14
  If a page does not have the variables of an object that are mentioned below, simply do not even declare them. For example, if your pages only have category and no subcategory, just declare your category. Likewise, if you feel the need to extend the objects below or feel like renaming them, please do so. However, please take a note of the new variable names or the edited ones, because in order to access them from your scripts in your OpenTag container, you will need to use the new variable names.</description>
15
- <notes>showing the correct quantity values for basket and transaction line items; only use visible product in basket or a complete order to avoid duplicate; pricing correction</notes>
16
  <authors><author><name>Jing Dong</name><user>qubitproducts</user><email>jing@qubitdigital.com</email></author></authors>
17
- <date>2012-09-06</date>
18
- <time>11:19:48</time>
19
- <contents><target name="magelocal"><dir name="QuBit"><dir name="UniversalVariable"><dir name="Block"><file name="Uv.php" hash="9b5cd71bebc9576b5d0714b3fe5c13bb"/></dir><dir name="Helper"><file name="Data.php" hash="0af6989ffa9bd859fda429fba84a684e"/></dir><dir name="Model"><dir name="Page"><file name="Observer.php" hash="2c8b0711ac95f4fc68d7c6d46b1fb432"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="etc"><file name="api.xml" hash="0f47187f8273a343b8e616265853635a"/><file name="config.xml" hash="04a1473f38f3d7db75b6bbf833ab2af9"/><file name="system.xml" hash="944a9a1ca7984eae63f1e2e0800404f9"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="qubit"><file name="universal_variable.xml" hash="f568ad884f941850720324d35868c45c"/><file name=".DS_Store" hash="2632898af4a7dd21eb81072ff8eb1f04"/></dir></dir><dir name="template"><dir name="qubit"><file name="universal_variable.phtml" hash="db054d84a48d9dd833e99eca1d9fc8e0"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="QuBit_all.xml" hash="549545c1cf35f87658a129ad5093d13f"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>QuBit_UniversalVariable</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Extension license name (OSL v3.0)</license>
7
  <channel>community</channel>
12
  <description>QuBit OpenTag recommends creating the releavant JavaScript object on your page prior to the OpenTag container script. This will assure the values are present on the page when a script tries to access them.&#xD;
13
  &#xD;
14
  If a page does not have the variables of an object that are mentioned below, simply do not even declare them. For example, if your pages only have category and no subcategory, just declare your category. Likewise, if you feel the need to extend the objects below or feel like renaming them, please do so. However, please take a note of the new variable names or the edited ones, because in order to access them from your scripts in your OpenTag container, you will need to use the new variable names.</description>
15
+ <notes>fixed issue with loading data.php file</notes>
16
  <authors><author><name>Jing Dong</name><user>qubitproducts</user><email>jing@qubitdigital.com</email></author></authors>
17
+ <date>2012-10-08</date>
18
+ <time>08:54:57</time>
19
+ <contents><target name="magelocal"><dir name="QuBit"><dir name="UniversalVariable"><dir name="Block"><file name="Uv.php" hash="9b5cd71bebc9576b5d0714b3fe5c13bb"/></dir><dir name="Helper"><file name="Data.php" hash="b05ea847c16520d5e6eec91e9f604886"/></dir><dir name="Model"><dir name="Page"><file name="Observer.php" hash="2c8b0711ac95f4fc68d7c6d46b1fb432"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="etc"><file name="config.xml" hash="fd936ed3360902482e81d86b6747543c"/><file name="system.xml" hash="944a9a1ca7984eae63f1e2e0800404f9"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="qubit"><file name="universal_variable.xml" hash="f568ad884f941850720324d35868c45c"/><file name=".DS_Store" hash="2632898af4a7dd21eb81072ff8eb1f04"/></dir></dir><dir name="template"><dir name="qubit"><file name="universal_variable.phtml" hash="db054d84a48d9dd833e99eca1d9fc8e0"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="QuBit_all.xml" hash="549545c1cf35f87658a129ad5093d13f"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>