Mks_Storelocator - Version 8.1.4

Version Notes

Add New Feature :-
1. Module Configuration Setting (left menu)
2. Auto Data Load.
3. One Click Run Module
4. Radius Functionality.
5. user friendly admin.
6. Records Import/Export via CSV format.

Download this release

Release Info

Developer mukesh kumar saini
Extension Mks_Storelocator
Version 8.1.4
Comparing to
See all releases


Code changes from version 8.1.3 to 8.1.4

app/code/community/Mks/Storelocator/etc/config.xml CHANGED
@@ -87,7 +87,7 @@
87
  <sort_order>100</sort_order>
88
  <children>
89
  <storelocatorbackend module="storelocator">
90
- <title>About Us</title>
91
  <sort_order>0</sort_order>
92
  <action>storelocator/adminhtml_storelocatorbackend</action>
93
  </storelocatorbackend>
87
  <sort_order>100</sort_order>
88
  <children>
89
  <storelocatorbackend module="storelocator">
90
+ <title> CSV Import / Export </title>
91
  <sort_order>0</sort_order>
92
  <action>storelocator/adminhtml_storelocatorbackend</action>
93
  </storelocatorbackend>
app/design/frontend/base/default/template/storelocator/index.phtml CHANGED
@@ -50,9 +50,9 @@ function map_xxx(x,y,a)
50
  {
51
 
52
  var miles = 3;
53
- var latitude = x; // parseFloat("26.850883100000000000");
54
- var longitude = y; // parseFloat("75.824783600000040000");
55
- var radius = a; // "Rohini, New Delhi, Delhi, India";
56
 
57
  var latlngPos = new google.maps.LatLng(latitude,longitude);
58
 
@@ -91,7 +91,17 @@ var miles = 3;
91
  <tr><td style="height: 500px; overflow: auto; display:block;" >
92
  <?php
93
  while($row = $sql->fetch())
94
- {?>
 
 
 
 
 
 
 
 
 
 
95
  <table id="store-table" class="store-table" style="margin-bottom:10px;">
96
  <tr>
97
  <?php if($image==1) { ?>
@@ -104,7 +114,7 @@ while($row = $sql->fetch())
104
  <tr>
105
  <?php if($name==1) { ?>
106
  <td>
107
- <h3 class="store_name" onclick="map_xxx('<?php echo $row['lat']; ?>','<?php echo $row['longt']; ?>','<?php echo $row['radius']; ?>');"><?php echo $row['name']; ?></h3>
108
  </td>
109
  <?php } ?>
110
  </tr>
50
  {
51
 
52
  var miles = 3;
53
+ var latitude = x; // latitude code define ("26.850883100000000000");
54
+ var longitude = y; // longitude code define ("75.824783600000040000");
55
+ var radius = a; // "radius area define";
56
 
57
  var latlngPos = new google.maps.LatLng(latitude,longitude);
58
 
91
  <tr><td style="height: 500px; overflow: auto; display:block;" >
92
  <?php
93
  while($row = $sql->fetch())
94
+ {
95
+ if($row['radius']!='')
96
+ {
97
+ $rowradius = $row['radius'];
98
+ }
99
+ else
100
+ {
101
+ $rowradius = '250';
102
+ }
103
+
104
+ ?>
105
  <table id="store-table" class="store-table" style="margin-bottom:10px;">
106
  <tr>
107
  <?php if($image==1) { ?>
114
  <tr>
115
  <?php if($name==1) { ?>
116
  <td>
117
+ <h3 class="store_name" onclick="map_xxx('<?php echo $row['lat']; ?>','<?php echo $row['longt']; ?>','<?php echo $rowradius; ?>');"><?php echo $row['name']; ?></h3>
118
  </td>
119
  <?php } ?>
120
  </tr>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mks_Storelocator</name>
4
- <version>8.1.3</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
@@ -16,9 +16,9 @@
16
  5. user friendly admin.&#xD;
17
  6. Records Import/Export via CSV format.</notes>
18
  <authors><author><name>mukesh kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
19
- <date>2014-04-04</date>
20
- <time>12:53:24</time>
21
- <contents><target name="mageetc"><dir name="modules"><file name="Mks_Storelocator.xml" hash="5db52931092f06e184dc599fd0277229"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Storelocator"><dir name="Block"><dir name="Adminhtml"><dir name="Storelocator"><dir name="Edit"><file name="Form.php" hash="00fed13f02e804d93bac7258689769ad"/><dir name="Tab"><file name="Form.php" hash="da3f13dd930a591372ad0c14796c1e54"/></dir><file name="Tabs.php" hash="8819f35cd4af4b61d14bf377c58432b6"/></dir><file name="Edit.php" hash="9be35d036a69cfb545d2f1c1649cb6ba"/><file name="Grid.php" hash="da9a9f1d7359078f7f388440020b2c3e"/></dir><file name="Storelocator.php" hash="81770ec5e092a177c22e188b8db38d7e"/><file name="Storelocatorbackend.php" hash="d600cb8ff797f008c7c652a299305c8d"/></dir><file name="Index.php" hash="4a9374eced7efc8e0dc9aafb9ff3cef4"/></dir><dir name="Helper"><file name="Data.php" hash="083521dd42bf734a864e06dceb37b5a0"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Storelocator"><file name="Collection.php" hash="183c5eeeb2ef6b444bfc08a829b93cde"/></dir><file name="Storelocator.php" hash="29d65325bd746be070275726e309afdb"/></dir><file name="Storelocator.php" hash="e91d32a733f49d62d54c1335a57e2ee5"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StorelocatorController.php" hash="1c8564c74994999c3e5177450b64241b"/><file name="StorelocatorbackendController.php" hash="342691ea69bd91fed7db67032fa69e32"/></dir><file name="IndexController.php" hash="852566fcfe7bf18f80926d04af88821e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="49f58436b0c5e5d0ff6ed5b2f7eb0b8a"/><file name="config.xml" hash="aa5b1df1e9cbf67ea541db01f5ccc23b"/><file name="system.xml" hash="e903fefb54e74e5db482baee62d46185"/></dir><dir name="sql"><dir name="storelocator_setup"><file name="mysql4-install-8.1.1.php" hash="a6c9e74024278161f3ed0653dfbc9eb0"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="storelocator.xml" hash="c5ce52ab3f3f3d71dbb902134642e2dc"/></dir><dir name="template"><dir name="storelocator"><file name="storelocatorbackend.phtml" hash="8d727711d22632196bf81bf7b0f21bd8"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="storelocator.xml" hash="5f5622865dce575fa97450411d8ec442"/></dir><dir name="template"><dir name="storelocator"><file name="config.phtml" hash="aec776af2155c512cba75ee93cd77cc7"/><file name="index.phtml" hash="1e5c038a7a6ae1f947c8e3e0686ae386"/><file name="new_index.phtml" hash="29c6340d08453dffa1c599bad1aab994"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="storelocator"><dir name="csvformat"><file name="storelocator.csv.zip" hash="7e0cbdf41a41ddd35677bdd393031326"/></dir><dir name="storelocator"><file name="14948.jpg" hash="cf7b5d700a4d3ed77ddb842de67ac0bc"/><file name="apsara-non-dust.jpg" hash="643b2a73671d1e352265ff49412c8c72"/><file name="map1.jpg" hash="a27ada4df9c7106527e4db655c7d15ed"/><file name="map2.jpg" hash="d632084de7a0e99a8eeb4a3720be3066"/><file name="map3.jpg" hash="bd06793b455379880266505f5ea49b81"/></dir><file name="storelocator.csv" hash="6449c28acc1d5525f8badfaecc3ee2bb"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="storelocatore"><dir name="img"><file name="csvimg.jpg" hash="35e04257829baebf70dd10172bef0487"/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mks_Storelocator</name>
4
+ <version>8.1.4</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
16
  5. user friendly admin.&#xD;
17
  6. Records Import/Export via CSV format.</notes>
18
  <authors><author><name>mukesh kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
19
+ <date>2014-04-10</date>
20
+ <time>09:21:50</time>
21
+ <contents><target name="mageetc"><dir name="modules"><file name="Mks_Storelocator.xml" hash="5db52931092f06e184dc599fd0277229"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Storelocator"><dir name="Block"><dir name="Adminhtml"><dir name="Storelocator"><dir name="Edit"><file name="Form.php" hash="00fed13f02e804d93bac7258689769ad"/><dir name="Tab"><file name="Form.php" hash="da3f13dd930a591372ad0c14796c1e54"/></dir><file name="Tabs.php" hash="8819f35cd4af4b61d14bf377c58432b6"/></dir><file name="Edit.php" hash="9be35d036a69cfb545d2f1c1649cb6ba"/><file name="Grid.php" hash="da9a9f1d7359078f7f388440020b2c3e"/></dir><file name="Storelocator.php" hash="81770ec5e092a177c22e188b8db38d7e"/><file name="Storelocatorbackend.php" hash="d600cb8ff797f008c7c652a299305c8d"/></dir><file name="Index.php" hash="4a9374eced7efc8e0dc9aafb9ff3cef4"/></dir><dir name="Helper"><file name="Data.php" hash="083521dd42bf734a864e06dceb37b5a0"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Storelocator"><file name="Collection.php" hash="183c5eeeb2ef6b444bfc08a829b93cde"/></dir><file name="Storelocator.php" hash="29d65325bd746be070275726e309afdb"/></dir><file name="Storelocator.php" hash="e91d32a733f49d62d54c1335a57e2ee5"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StorelocatorController.php" hash="1c8564c74994999c3e5177450b64241b"/><file name="StorelocatorbackendController.php" hash="342691ea69bd91fed7db67032fa69e32"/></dir><file name="IndexController.php" hash="852566fcfe7bf18f80926d04af88821e"/></dir><dir name="etc"><file name="adminhtml.xml" hash="49f58436b0c5e5d0ff6ed5b2f7eb0b8a"/><file name="config.xml" hash="85ea167b380cf3a07d35955e7f23caf2"/><file name="system.xml" hash="e903fefb54e74e5db482baee62d46185"/></dir><dir name="sql"><dir name="storelocator_setup"><file name="mysql4-install-8.1.1.php" hash="a6c9e74024278161f3ed0653dfbc9eb0"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="storelocator.xml" hash="c5ce52ab3f3f3d71dbb902134642e2dc"/></dir><dir name="template"><dir name="storelocator"><file name="storelocatorbackend.phtml" hash="8d727711d22632196bf81bf7b0f21bd8"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="storelocator.xml" hash="5f5622865dce575fa97450411d8ec442"/></dir><dir name="template"><dir name="storelocator"><file name="config.phtml" hash="aec776af2155c512cba75ee93cd77cc7"/><file name="index.phtml" hash="bc2cb3711f9e838349611a9039969bcb"/><file name="new_index.phtml" hash="29c6340d08453dffa1c599bad1aab994"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="storelocator"><dir name="csvformat"><file name="storelocator.csv.zip" hash="7e0cbdf41a41ddd35677bdd393031326"/></dir><dir name="storelocator"><file name="14948.jpg" hash="cf7b5d700a4d3ed77ddb842de67ac0bc"/><file name="apsara-non-dust.jpg" hash="643b2a73671d1e352265ff49412c8c72"/><file name="map1.jpg" hash="a27ada4df9c7106527e4db655c7d15ed"/><file name="map2.jpg" hash="d632084de7a0e99a8eeb4a3720be3066"/><file name="map3.jpg" hash="bd06793b455379880266505f5ea49b81"/></dir><file name="storelocator.csv" hash="6449c28acc1d5525f8badfaecc3ee2bb"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="storelocatore"><dir name="img"><file name="csvimg.jpg" hash="35e04257829baebf70dd10172bef0487"/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>