Version Notes
Third stable Search By Size extension
Download this release
Release Info
Developer | Iverve |
Extension | Ifuturz_Searchbysize |
Version | 0.4.1 |
Comparing to | |
See all releases |
Code changes from version 0.3.1 to 0.4.1
- app/code/community/Ifuturz/Searchbysize/etc/config.xml +125 -125
- app/code/community/Ifuturz/Searchbysize/sql/searchbysize_setup/{mysql4-install-0.3.0.php → mysql4-install-0.4.0.php} +0 -0
- app/code/community/Ifuturz/Searchbysize/sql/searchbysize_setup/{mysql4-upgrade-0.3.0-0.3.1.php → mysql4-upgrade-0.4.0-0.4.1.php} +18 -18
- package.xml +7 -7
- skin/frontend/base/default/css/searchbysize.css +18 -0
- skin/frontend/base/default/images/searchicon.png +0 -0
app/code/community/Ifuturz/Searchbysize/etc/config.xml
CHANGED
@@ -1,126 +1,126 @@
|
|
1 |
-
<?xml version="1.0" ?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Ifuturz_Searchbysize>
|
5 |
-
<version>0.
|
6 |
-
</Ifuturz_Searchbysize>
|
7 |
-
</modules>
|
8 |
-
<frontend>
|
9 |
-
<routers>
|
10 |
-
<searchbysize>
|
11 |
-
<use>standard</use>
|
12 |
-
<args>
|
13 |
-
<module>Ifuturz_Searchbysize</module>
|
14 |
-
<frontName>searchbysize</frontName>
|
15 |
-
</args>
|
16 |
-
</searchbysize>
|
17 |
-
</routers>
|
18 |
-
<layout>
|
19 |
-
<updates>
|
20 |
-
<searchbysize>
|
21 |
-
<file>searchbysize.xml</file>
|
22 |
-
</searchbysize>
|
23 |
-
</updates>
|
24 |
-
</layout>
|
25 |
-
</frontend>
|
26 |
-
<admin>
|
27 |
-
<routers>
|
28 |
-
<searchbysize>
|
29 |
-
<use>admin</use>
|
30 |
-
<args>
|
31 |
-
<module>Ifuturz_Searchbysize</module>
|
32 |
-
<frontName>searchbysize</frontName>
|
33 |
-
</args>
|
34 |
-
</searchbysize>
|
35 |
-
</routers>
|
36 |
-
</admin>
|
37 |
-
<adminhtml>
|
38 |
-
<menu>
|
39 |
-
<searchbysize module="searchbysize">
|
40 |
-
<title>Search by Sizes</title>
|
41 |
-
<sort_order>100</sort_order>
|
42 |
-
<action>searchbysize/adminhtml_searchbysize</action>
|
43 |
-
</searchbysize>
|
44 |
-
</menu>
|
45 |
-
<acl>
|
46 |
-
<resources>
|
47 |
-
<admin>
|
48 |
-
<children>
|
49 |
-
<searchbysize translate="title">
|
50 |
-
<title>Search by Sizes</title>
|
51 |
-
<sort_order>120</sort_order>
|
52 |
-
</searchbysize>
|
53 |
-
</children>
|
54 |
-
</admin>
|
55 |
-
</resources>
|
56 |
-
</acl>
|
57 |
-
<layout>
|
58 |
-
<updates>
|
59 |
-
<searchbysize>
|
60 |
-
<file>searchbysize.xml</file>
|
61 |
-
</searchbysize>
|
62 |
-
</updates>
|
63 |
-
</layout>
|
64 |
-
</adminhtml>
|
65 |
-
<global>
|
66 |
-
<events>
|
67 |
-
<controller_action_predispatch>
|
68 |
-
<observers>
|
69 |
-
<searchbysize_install>
|
70 |
-
<class>Ifuturz_Searchbysize_Model_Observer</class>
|
71 |
-
<method>checkInstallation</method>
|
72 |
-
</searchbysize_install>
|
73 |
-
</observers>
|
74 |
-
</controller_action_predispatch>
|
75 |
-
</events>
|
76 |
-
<models>
|
77 |
-
<catalogsearch>
|
78 |
-
<rewrite>
|
79 |
-
<advanced>Ifuturz_Searchbysize_Model_CatalogSearch_Advanced</advanced>
|
80 |
-
</rewrite>
|
81 |
-
</catalogsearch>
|
82 |
-
<searchbysize>
|
83 |
-
<class>Ifuturz_Searchbysize_Model</class>
|
84 |
-
<resourceModel>searchbysize_mysql4</resourceModel>
|
85 |
-
</searchbysize>
|
86 |
-
<searchbysize_mysql4>
|
87 |
-
<class>Ifuturz_Searchbysize_Model_Mysql4</class>
|
88 |
-
<entities>
|
89 |
-
<searchbysize>
|
90 |
-
<table>ifuturz_searchbysize</table>
|
91 |
-
</searchbysize>
|
92 |
-
</entities>
|
93 |
-
</searchbysize_mysql4>
|
94 |
-
</models>
|
95 |
-
<resources>
|
96 |
-
<searchbysize_setup>
|
97 |
-
<setup>
|
98 |
-
<module>Ifuturz_Searchbysize</module>
|
99 |
-
</setup>
|
100 |
-
<connection>
|
101 |
-
<use>core_setup</use>
|
102 |
-
</connection>
|
103 |
-
</searchbysize_setup>
|
104 |
-
<searchbysize_write>
|
105 |
-
<connection>
|
106 |
-
<use>core_write</use>
|
107 |
-
</connection>
|
108 |
-
</searchbysize_write>
|
109 |
-
<searchbysize_read>
|
110 |
-
<connection>
|
111 |
-
<use>core_read</use>
|
112 |
-
</connection>
|
113 |
-
</searchbysize_read>
|
114 |
-
</resources>
|
115 |
-
<blocks>
|
116 |
-
<searchbysize>
|
117 |
-
<class>Ifuturz_Searchbysize_Block</class>
|
118 |
-
</searchbysize>
|
119 |
-
</blocks>
|
120 |
-
<helpers>
|
121 |
-
<searchbysize>
|
122 |
-
<class>Ifuturz_Searchbysize_Helper</class>
|
123 |
-
</searchbysize>
|
124 |
-
</helpers>
|
125 |
-
</global>
|
126 |
</config>
|
1 |
+
<?xml version="1.0" ?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Ifuturz_Searchbysize>
|
5 |
+
<version>0.4.1</version>
|
6 |
+
</Ifuturz_Searchbysize>
|
7 |
+
</modules>
|
8 |
+
<frontend>
|
9 |
+
<routers>
|
10 |
+
<searchbysize>
|
11 |
+
<use>standard</use>
|
12 |
+
<args>
|
13 |
+
<module>Ifuturz_Searchbysize</module>
|
14 |
+
<frontName>searchbysize</frontName>
|
15 |
+
</args>
|
16 |
+
</searchbysize>
|
17 |
+
</routers>
|
18 |
+
<layout>
|
19 |
+
<updates>
|
20 |
+
<searchbysize>
|
21 |
+
<file>searchbysize.xml</file>
|
22 |
+
</searchbysize>
|
23 |
+
</updates>
|
24 |
+
</layout>
|
25 |
+
</frontend>
|
26 |
+
<admin>
|
27 |
+
<routers>
|
28 |
+
<searchbysize>
|
29 |
+
<use>admin</use>
|
30 |
+
<args>
|
31 |
+
<module>Ifuturz_Searchbysize</module>
|
32 |
+
<frontName>searchbysize</frontName>
|
33 |
+
</args>
|
34 |
+
</searchbysize>
|
35 |
+
</routers>
|
36 |
+
</admin>
|
37 |
+
<adminhtml>
|
38 |
+
<menu>
|
39 |
+
<searchbysize module="searchbysize">
|
40 |
+
<title>Search by Sizes</title>
|
41 |
+
<sort_order>100</sort_order>
|
42 |
+
<action>searchbysize/adminhtml_searchbysize</action>
|
43 |
+
</searchbysize>
|
44 |
+
</menu>
|
45 |
+
<acl>
|
46 |
+
<resources>
|
47 |
+
<admin>
|
48 |
+
<children>
|
49 |
+
<searchbysize translate="title">
|
50 |
+
<title>Search by Sizes</title>
|
51 |
+
<sort_order>120</sort_order>
|
52 |
+
</searchbysize>
|
53 |
+
</children>
|
54 |
+
</admin>
|
55 |
+
</resources>
|
56 |
+
</acl>
|
57 |
+
<layout>
|
58 |
+
<updates>
|
59 |
+
<searchbysize>
|
60 |
+
<file>searchbysize.xml</file>
|
61 |
+
</searchbysize>
|
62 |
+
</updates>
|
63 |
+
</layout>
|
64 |
+
</adminhtml>
|
65 |
+
<global>
|
66 |
+
<events>
|
67 |
+
<controller_action_predispatch>
|
68 |
+
<observers>
|
69 |
+
<searchbysize_install>
|
70 |
+
<class>Ifuturz_Searchbysize_Model_Observer</class>
|
71 |
+
<method>checkInstallation</method>
|
72 |
+
</searchbysize_install>
|
73 |
+
</observers>
|
74 |
+
</controller_action_predispatch>
|
75 |
+
</events>
|
76 |
+
<models>
|
77 |
+
<catalogsearch>
|
78 |
+
<rewrite>
|
79 |
+
<advanced>Ifuturz_Searchbysize_Model_CatalogSearch_Advanced</advanced>
|
80 |
+
</rewrite>
|
81 |
+
</catalogsearch>
|
82 |
+
<searchbysize>
|
83 |
+
<class>Ifuturz_Searchbysize_Model</class>
|
84 |
+
<resourceModel>searchbysize_mysql4</resourceModel>
|
85 |
+
</searchbysize>
|
86 |
+
<searchbysize_mysql4>
|
87 |
+
<class>Ifuturz_Searchbysize_Model_Mysql4</class>
|
88 |
+
<entities>
|
89 |
+
<searchbysize>
|
90 |
+
<table>ifuturz_searchbysize</table>
|
91 |
+
</searchbysize>
|
92 |
+
</entities>
|
93 |
+
</searchbysize_mysql4>
|
94 |
+
</models>
|
95 |
+
<resources>
|
96 |
+
<searchbysize_setup>
|
97 |
+
<setup>
|
98 |
+
<module>Ifuturz_Searchbysize</module>
|
99 |
+
</setup>
|
100 |
+
<connection>
|
101 |
+
<use>core_setup</use>
|
102 |
+
</connection>
|
103 |
+
</searchbysize_setup>
|
104 |
+
<searchbysize_write>
|
105 |
+
<connection>
|
106 |
+
<use>core_write</use>
|
107 |
+
</connection>
|
108 |
+
</searchbysize_write>
|
109 |
+
<searchbysize_read>
|
110 |
+
<connection>
|
111 |
+
<use>core_read</use>
|
112 |
+
</connection>
|
113 |
+
</searchbysize_read>
|
114 |
+
</resources>
|
115 |
+
<blocks>
|
116 |
+
<searchbysize>
|
117 |
+
<class>Ifuturz_Searchbysize_Block</class>
|
118 |
+
</searchbysize>
|
119 |
+
</blocks>
|
120 |
+
<helpers>
|
121 |
+
<searchbysize>
|
122 |
+
<class>Ifuturz_Searchbysize_Helper</class>
|
123 |
+
</searchbysize>
|
124 |
+
</helpers>
|
125 |
+
</global>
|
126 |
</config>
|
app/code/community/Ifuturz/Searchbysize/sql/searchbysize_setup/{mysql4-install-0.3.0.php → mysql4-install-0.4.0.php}
RENAMED
File without changes
|
app/code/community/Ifuturz/Searchbysize/sql/searchbysize_setup/{mysql4-upgrade-0.3.0-0.3.1.php → mysql4-upgrade-0.4.0-0.4.1.php}
RENAMED
@@ -1,18 +1,18 @@
|
|
1 |
-
<?php
|
2 |
-
$installer = $this;
|
3 |
-
|
4 |
-
$installer->startSetup();
|
5 |
-
|
6 |
-
|
7 |
-
$installer->run("
|
8 |
-
|
9 |
-
-- DROP TABLE IF EXISTS {$this->getTable('searchbysize_lck')};
|
10 |
-
CREATE TABLE {$this->getTable('searchbysize_lck')} (
|
11 |
-
`flag` varchar(4),
|
12 |
-
`value` ENUM('0','1')
|
13 |
-
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
14 |
-
|
15 |
-
INSERT INTO `{$installer->getTable('searchbysize_lck')}` VALUES ('LCK','1');
|
16 |
-
");
|
17 |
-
|
18 |
-
$installer->endSetup();
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
|
4 |
+
$installer->startSetup();
|
5 |
+
|
6 |
+
|
7 |
+
$installer->run("
|
8 |
+
|
9 |
+
-- DROP TABLE IF EXISTS {$this->getTable('searchbysize_lck')};
|
10 |
+
CREATE TABLE {$this->getTable('searchbysize_lck')} (
|
11 |
+
`flag` varchar(4),
|
12 |
+
`value` ENUM('0','1') DEFAULT '0' NOT NULL
|
13 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
14 |
+
|
15 |
+
INSERT INTO `{$installer->getTable('searchbysize_lck')}` VALUES ('LCK','1');
|
16 |
+
");
|
17 |
+
|
18 |
+
$installer->endSetup();
|
package.xml
CHANGED
@@ -1,20 +1,20 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ifuturz_Searchbysize</name>
|
4 |
-
<version>0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Search the product by size that is width, height, depth of the product along with the categories.</summary>
|
10 |
-
<description> - This extension allows for a customer to search the products by its size. It is more convenient for the products like Lokcers, benches, tables, cupboard.. In short the product which have a width, height and depth
|
11 |
-
- Search by size will display on right sidebar. Here four drop-down/selection boxes are given to user that is width, depth, height and category to search the products as per their needs
|
12 |
- Note that width, depth, height box contains only those sizes which are allowed by admin from admin-panel.</description>
|
13 |
-
<notes>
|
14 |
<authors><author><name>Iverve</name><user>iverve</user><email>extension.geek@ifuturz.com</email></author></authors>
|
15 |
-
<date>2014-
|
16 |
-
<time>
|
17 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Ifuturz_Searchbysize.xml" hash="d75111753fee32e0a18812c301d0e165"/></dir></target><target name="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Ifuturz_Searchbysize</name>
|
4 |
+
<version>0.4.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Search the product by size that is width, height, depth of the product along with the categories.</summary>
|
10 |
+
<description> - This extension allows for a customer to search the products by its size. It is more convenient for the products like Lokcers, benches, tables, cupboard.. In short the product which have a width, height and depth.&#xD;
|
11 |
+
- Search by size will display on right sidebar. Here four drop-down/selection boxes are given to user that is width, depth, height and category to search the products as per their needs.&#xD;
|
12 |
- Note that width, depth, height box contains only those sizes which are allowed by admin from admin-panel.</description>
|
13 |
+
<notes>Third stable Search By Size extension</notes>
|
14 |
<authors><author><name>Iverve</name><user>iverve</user><email>extension.geek@ifuturz.com</email></author></authors>
|
15 |
+
<date>2014-05-12</date>
|
16 |
+
<time>10:34:49</time>
|
17 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Ifuturz_Searchbysize.xml" hash="d75111753fee32e0a18812c301d0e165"/></dir></target><target name="magecommunity"><dir name="Ifuturz"><dir name="Searchbysize"><dir name="Helper"><file name="Data.php" hash="86b900b274a15cae78c8a18b12a375af"/></dir><dir name="Model"><dir name="CatalogSearch"><file name="Advanced.php" hash="88ff37fd3be7e94d1cde75a8bf9abdd8"/></dir><dir name="Mysql4"><dir name="Searchbysize"><file name="Collection.php" hash="1f7bf17422f73c23468c9750b3496302"/></dir><file name="Searchbysize.php" hash="e6af4293f660e4559d665a92309d4313"/></dir><file name="Observer.php" hash="ba54823f654a4660b1a8ab65f91475db"/><file name="Searchbysize.php" hash="75770324e1d0dc2bd169af6b1d196550"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="SearchbysizeController.php" hash="93460b96e914994d68ec2228ab46e7a8"/></dir><file name="IndexController.php" hash="aff304f0991b31117a71074192ded694"/></dir><dir name="etc"><file name="config.xml" hash="6c70e329d3d6cd5cabb91a8dda068ee3"/></dir><dir name="sql"><dir name="searchbysize_setup"><file name="mysql4-install-0.4.0.php" hash="ed334a44e9afce7f9ff8336998a21a1e"/><file name="mysql4-upgrade-0.4.0-0.4.1.php" hash="e7c24acc8c3900fdf58076efe8eda2cb"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="searchbysize"><file name="form.phtml" hash="34d52ba21b8216182a58f560ae9f4596"/></dir></dir><dir name="layout"><file name="searchbysize.xml" hash="ae940118e665575d5607aab82c88b202"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="searchbysize.xml" hash="1819e0ece647f8906284dc8d4e32273c"/></dir><dir name="template"><dir name="searchbysize"><dir name="advanced"><file name="searchbysize.phtml" hash="d8c5a2b457e031e27cf0a5abe8ca969b"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="searchbysize.css" hash="cb86ff65d16dc5715294875643167174"/></dir><dir name="images"><file name="searchicon.png" hash="93d958211da51b1797fd7a0b38608e45"/></dir></dir></dir></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
skin/frontend/base/default/css/searchbysize.css
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.block-title strong
|
2 |
+
{
|
3 |
+
background-image: url("../images/searchicon.png");
|
4 |
+
background-repeat:no-repeat;
|
5 |
+
}
|
6 |
+
.block-new
|
7 |
+
{
|
8 |
+
padding-left:15px;
|
9 |
+
}
|
10 |
+
.block-content select
|
11 |
+
{
|
12 |
+
float:right;
|
13 |
+
width:115px;
|
14 |
+
}
|
15 |
+
.block-content-search
|
16 |
+
{
|
17 |
+
padding:10px;
|
18 |
+
}
|
skin/frontend/base/default/images/searchicon.png
ADDED
Binary file
|