quickstyle - Version 0.1.0

Version Notes

basic

Download this release

Release Info

Developer Septsite
Extension quickstyle
Version 0.1.0
Comparing to
See all releases


Version 0.1.0

app/code/community/Septsite/Quickstyle/Block/Quickstyle.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /** This script is part of the Quickstyle project **/
3
+ /** septsite.pl | szokart.eu **/
4
+ class Septsite_Quickstyle_Block_Quickstyle extends Mage_Core_Block_Template
5
+ {
6
+
7
+ public function _prepareLayout()
8
+ { return parent::_prepareLayout(); }
9
+
10
+ }
app/code/community/Septsite/Quickstyle/Block/_notes/dwsync.xml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <dwsync>
3
+ <file name="Quickstyle.php" server="ocencieto.vizz.pl//public_html/demo/" local="130086009976718750" remote="130086009000000000" />
4
+ </dwsync>
app/code/community/Septsite/Quickstyle/Helper/Data.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+ /** This script is part of the Popup project **/
3
+ /** septsite.pl | szokart.eu **/
4
+ class Septsite_Quickstyle_Helper_Data extends Mage_Core_Helper_Abstract
5
+ {
6
+ }
7
+
app/code/community/Septsite/Quickstyle/Helper/_notes/dwsync.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <dwsync>
3
+ <file name="Data.php" server="zyciowo.vizz.pl/public_html/" local="129989591400000000" remote="129989591400000000" />
4
+ <file name="Data.php" server="ocencieto.vizz.pl//public_html/demo/" local="130085995224843750" remote="130085994600000000" />
5
+ </dwsync>
app/code/community/Septsite/Quickstyle/Model/Quickstyle.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /** This script is part of the Popup project **/
3
+ /** septsite.pl | szokart.eu **/
4
+
5
+ class Septsite_Popup_Model_Popup extends Mage_Core_Model_Abstract
6
+ {
7
+
8
+ public function _construct()
9
+
10
+ {
11
+
12
+ parent::_construct();
13
+ $this->_init('popup/popup');
14
+ }
15
+
16
+
17
+ }
app/code/community/Septsite/Quickstyle/Model/_notes/dwsync.xml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <dwsync>
3
+ <file name="Popup.php" server="zyciowo.vizz.pl/public_html/" local="129989910000000000" remote="129989910000000000" />
4
+ </dwsync>
app/code/community/Septsite/Quickstyle/controllers/_notes/dwsync.xml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <dwsync>
3
+ <file name="IndexController.php" server="zyciowo.vizz.pl/public_html/" local="129989591400000000" remote="129989591400000000" />
4
+ </dwsync>
app/code/community/Septsite/Quickstyle/etc/_notes/dwsync.xml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <dwsync>
3
+ <file name="config.xml" server="zyciowo.vizz.pl/public_html/" local="130076852205937500" remote="130076851800000000" />
4
+ <file name="system.xml" server="zyciowo.vizz.pl/public_html/" local="129994320600000000" remote="129994320600000000" />
5
+ <file name="config.xml" server="ocencieto.vizz.pl//public_html/demo/" local="130086242824843750" remote="130086241800000000" />
6
+ <file name="system.xml" server="ocencieto.vizz.pl//public_html/demo/" local="130085998965000000" remote="130085998200000000" />
7
+ </dwsync>
app/code/community/Septsite/Quickstyle/etc/config.xml ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Septsite
5
+ * @package Septsite_Quickstyle
6
+ * @author www.septsite.pl | szokart.eu
7
+ */
8
+ -->
9
+ <config>
10
+ <modules>
11
+ <Septsite_Quickstyle>
12
+ <version>0.1.0</version>
13
+ </Septsite_Quickstyle>
14
+ </modules>
15
+
16
+ <frontend>
17
+ <routers>
18
+ <quickstyle>
19
+ <use>standard</use>
20
+ <args>
21
+ <module>Septsite_Quickstyle</module>
22
+ <frontName>Quickstyle</frontName>
23
+ </args>
24
+ </quickstyle>
25
+ </routers>
26
+ <layout>
27
+ <updates>
28
+ <quickstyle>
29
+ <file>quickstyle.xml</file>
30
+ </quickstyle>
31
+ </updates>
32
+ </layout>
33
+ </frontend>
34
+
35
+ <admin>
36
+ <routers>
37
+ <quickstyle>
38
+ <use>admin</use>
39
+ <args>
40
+ <module>Septsite_Quickstyle</module>
41
+ <frontName>quickstyle</frontName>
42
+ </args>
43
+ </quickstyle>
44
+
45
+ <adminhtml>
46
+ <args>
47
+ <modules>
48
+ <Septsite_Quickstyle before="Mage_Adminhtml">Septsite_Quickstyle_Adminhtml</Septsite_Quickstyle>
49
+ </modules>
50
+ </args>
51
+ </adminhtml>
52
+ </routers>
53
+ </admin>
54
+ <adminhtml>
55
+ <acl>
56
+ <resources>
57
+ <all>
58
+ <title>Allow Everything</title>
59
+ </all>
60
+ <admin>
61
+ <children>
62
+ <Septsite_Quickstyle>
63
+ <title>Quickstyle Module</title>
64
+ <sort_order>10</sort_order>
65
+ </Septsite_Quickstyle>
66
+ <system>
67
+ <children>
68
+ <config>
69
+ <children>
70
+ <quickstyle>
71
+ <title>Sekcja ustawień Quickstyle</title>
72
+ </quickstyle>
73
+ </children>
74
+ </config>
75
+ </children>
76
+ </system>
77
+ </children>
78
+ </admin>
79
+ </resources>
80
+ </acl>
81
+ <layout>
82
+ <updates>
83
+ <quickstyle>
84
+ <file>quickstyle.xml</file>
85
+ </quickstyle>
86
+ </updates>
87
+ </layout>
88
+ </adminhtml>
89
+ <global>
90
+ <models>
91
+ <quickstyle>
92
+ <class>Septsite_Quickstyle_Model</class>
93
+ </quickstyle>
94
+ <septsite_quickstyle>
95
+ <class>Septsite_Quickstyle_Model</class>
96
+ </septsite_quickstyle>
97
+ </models>
98
+ <resources>
99
+ <quickstyle_setup>
100
+ <setup>
101
+ <module>Septsite_Quickstyle</module>
102
+ <resourceModel>quickstyle_mysql4</resourceModel>
103
+ </setup>
104
+ <connection>
105
+ <use>core_setup</use>
106
+ </connection>
107
+ </quickstyle_setup>
108
+ <quickstyle_write>
109
+ <connection>
110
+ <use>core_write</use>
111
+ </connection>
112
+ </quickstyle_write>
113
+ <quickstyle_read>
114
+ <connection>
115
+ <use>core_read</use>
116
+ </connection>
117
+ </quickstyle_read>
118
+ </resources>
119
+ <blocks>
120
+ <quickstyle>
121
+ <class>Septsite_Quickstyle_Block</class>
122
+ </quickstyle>
123
+ </blocks>
124
+ <helpers>
125
+ <quickstyle>
126
+ <class>Septsite_Quickstyle_Helper</class>
127
+ </quickstyle>
128
+ </helpers>
129
+ </global>
130
+ <default>
131
+ <quickstyle>
132
+ <info>
133
+ <quickstyle_style></quickstyle_style>
134
+ </info>
135
+ </quickstyle>
136
+ </default>
137
+ </config>
app/code/community/Septsite/Quickstyle/etc/system.xml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <sections>
4
+ <quickstyle translate="label" module="quickstyle">
5
+ <label>Quickstyle</label>
6
+ <tab>general</tab>
7
+ <frontend_type>text</frontend_type>
8
+ <sort_order>100</sort_order>
9
+ <show_in_default>1</show_in_default>
10
+ <show_in_website>1</show_in_website>
11
+ <show_in_store>1</show_in_store>
12
+ <groups>
13
+ <info translate="label">
14
+ <label>Quick Style</label>
15
+ <frontend_type>text</frontend_type>
16
+ <sort_order>50</sort_order>
17
+ <show_in_default>1</show_in_default>
18
+ <show_in_website>1</show_in_website>
19
+ <show_in_store>1</show_in_store>
20
+ <fields>
21
+ <quickstyle_style translate="label">
22
+ <label>style</label>
23
+ <frontend_type>textarea</frontend_type>
24
+ <sort_order>2</sort_order>
25
+ <show_in_default>1</show_in_default>
26
+ <show_in_website>1</show_in_website>
27
+ <show_in_store>1</show_in_store>
28
+ </quickstyle_style>
29
+ </fields>
30
+ </info>
31
+ </groups>
32
+ </quickstyle>
33
+ </sections>
34
+ </config>
app/design/frontend/base/default/layout/quickstyle.xml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+
5
+ <reference name="head">
6
+ <block type="quickstyle/quickstyle" name="Popup" template="quickstyle/head.phtml" />
7
+ </reference>
8
+
9
+
10
+ </default>
11
+ </layout>
app/design/frontend/base/default/template/quickstyle/head.phtml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Septsite
4
+ * @package Septsite_Quickstyle
5
+ * @author www.septsite.pl | szokart.eu
6
+ */
7
+ ?>
8
+ <?php $quickstyle = Mage::getStoreConfig('quickstyle/info/quickstyle_style'); ?>
9
+ <?php if($quickstyle!='') : ?><style><?php echo $quickstyle; ?></style><?php endif; ?>
app/etc/modules/Septsite_Quickstyle.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Septsite_Quickstyle>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Septsite_Quickstyle>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>quickstyle</name>
4
+ <version>0.1.0</version>
5
+ <stability>stable</stability>
6
+ <license>OSL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Quick style</summary>
10
+ <description>An easy way to add styling in the head. </description>
11
+ <notes>basic</notes>
12
+ <authors><author><name>Septsite</name><user>septsite</user><email>biuro@septsite.pl</email></author></authors>
13
+ <date>2013-03-24</date>
14
+ <time>19:05:45</time>
15
+ <contents><target name="magecommunity"><dir name="Septsite"><dir name="Quickstyle"><dir name="Block"><file name="Quickstyle.php" hash="cd2fc98a7172a9425c636af46c9f83b7"/><dir name="_notes"><file name="dwsync.xml" hash="955b4947473d49504b2493afe2023638"/></dir></dir><dir name="Helper"><file name="Data.php" hash="3bbf9fa47e52356e974f6978dcfebd88"/><dir name="_notes"><file name="dwsync.xml" hash="c1743a765d797bb43118b2587ae9f88b"/></dir></dir><dir name="Model"><file name="Quickstyle.php" hash="3330a5056a8964c9880c651b611d5765"/><dir name="_notes"><file name="dwsync.xml" hash="a33fd96407b69f8683c7a461d8857264"/></dir></dir><dir name="controllers"><dir name="_notes"><file name="dwsync.xml" hash="27a7b9445af4b7596322b6d9c7fbdb40"/></dir></dir><dir name="etc"><dir name="_notes"><file name="dwsync.xml" hash="bf6250ae2824e6bdd9e280da66c24e9b"/></dir><file name="config.xml" hash="675e91d353b6bdfc2a6b667d7d1f3129"/><file name="system.xml" hash="865a22312897f8047e89442d3a05bcd6"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Septsite_Quickstyle.xml" hash="921713492a510d29234e4487f1e4e823"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="quickstyle.xml" hash="60bffdc2065d14d77f1996b1fa33bc26"/></dir><dir name="template"><dir name="quickstyle"><file name="head.phtml" hash="a4f04be804c28f6f0bd1d79ad5dcad89"/></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>