Responsivebannerslider - Version 1.1.3

Version Notes

Responsive banner slider extension with different type of banner style Fully responsive banner slider

Download this release

Release Info

Developer Manvendra Sharma
Extension Responsivebannerslider
Version 1.1.3
Comparing to
See all releases


Code changes from version 1.1.2 to 1.1.3

app/code/community/Manv/Responsivebannerslidermanv/sql/responsivebannerslidermanv_setup/mysql4-install-1.1.1.php CHANGED
@@ -2,8 +2,8 @@
2
  $installer = $this;
3
  $installer->startSetup();
4
  $sql=<<<SQLTEXT
5
- create table manvresponsivebannerslider(id int not null auto_increment, title varchar(255),image varchar(255),description varchar(255),url varchar(255),status varchar(255), primary key(id));
6
- INSERT INTO `manvresponsivebannerslider` (`title`,`image`,`description`,`url`,`status`) VALUES ('Responsive Banner Slider 1','manvresponsivebannerslider/bannerslider/banner-1.jpg','Responsive Banner Slider 1','#','0'),('Responsive Banner Slider 2','manvresponsivebannerslider/bannerslider/banner-2.jpg','Responsive Banner Slider 2','#','0'),
7
  ('Responsive Banner Slider 3','manvresponsivebannerslider/bannerslider/banner-3.jpg','Responsive Banner Slider 3','#','0');
8
 
9
  SQLTEXT;
@@ -13,4 +13,4 @@ $installer->run($sql);
13
  Mage::getModel('core/url_rewrite')->setId(null);
14
  //demo
15
  $installer->endSetup();
16
-
2
  $installer = $this;
3
  $installer->startSetup();
4
  $sql=<<<SQLTEXT
5
+ create table {$this->getTable('manvresponsivebannerslider')} (id int not null auto_increment, title varchar(255),image varchar(255),description varchar(255),url varchar(255),status varchar(255), primary key(id));
6
+ INSERT INTO {$this->getTable('manvresponsivebannerslider')} (`title`,`image`,`description`,`url`,`status`) VALUES ('Responsive Banner Slider 1','manvresponsivebannerslider/bannerslider/banner-1.jpg','Responsive Banner Slider 1','#','0'),('Responsive Banner Slider 2','manvresponsivebannerslider/bannerslider/banner-2.jpg','Responsive Banner Slider 2','#','0'),
7
  ('Responsive Banner Slider 3','manvresponsivebannerslider/bannerslider/banner-3.jpg','Responsive Banner Slider 3','#','0');
8
 
9
  SQLTEXT;
13
  Mage::getModel('core/url_rewrite')->setId(null);
14
  //demo
15
  $installer->endSetup();
16
+
app/code/community/Manv/Storelocator/Block/Adminhtml/Storelocator.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Manv_Storelocator_Block_Adminhtml_Storelocator extends Mage_Adminhtml_Block_Widget_Grid_Container{
5
+
6
+ public function __construct()
7
+ {
8
+
9
+ $this->_controller = "adminhtml_storelocator";
10
+ $this->_blockGroup = "storelocator";
11
+ $this->_headerText = Mage::helper("storelocator")->__("Storelocator Manager");
12
+ $this->_addButtonLabel = Mage::helper("storelocator")->__("Add New Item");
13
+ parent::__construct();
14
+
15
+ }
16
+
17
+ }
app/code/community/Manv/Storelocator/Block/Adminhtml/Storelocator/Edit.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Manv_Storelocator_Block_Adminhtml_Storelocator_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
+ {
5
+ public function __construct()
6
+ {
7
+
8
+ parent::__construct();
9
+ $this->_objectId = "id";
10
+ $this->_blockGroup = "storelocator";
11
+ $this->_controller = "adminhtml_storelocator";
12
+ $this->_updateButton("save", "label", Mage::helper("storelocator")->__("Save Item"));
13
+ $this->_updateButton("delete", "label", Mage::helper("storelocator")->__("Delete Item"));
14
+
15
+ $this->_addButton("saveandcontinue", array(
16
+ "label" => Mage::helper("storelocator")->__("Save And Continue Edit"),
17
+ "onclick" => "saveAndContinueEdit()",
18
+ "class" => "save",
19
+ ), -100);
20
+
21
+
22
+
23
+ $this->_formScripts[] = "
24
+
25
+ function saveAndContinueEdit(){
26
+ editForm.submit($('edit_form').action+'back/edit/');
27
+ }
28
+ ";
29
+ }
30
+
31
+ public function getHeaderText()
32
+ {
33
+ if( Mage::registry("storelocator_data") && Mage::registry("storelocator_data")->getId() ){
34
+
35
+ return Mage::helper("storelocator")->__("Edit Item '%s'", $this->htmlEscape(Mage::registry("storelocator_data")->getId()));
36
+
37
+ }
38
+ else{
39
+
40
+ return Mage::helper("storelocator")->__("Add Item");
41
+
42
+ }
43
+ }
44
+ }
app/code/community/Manv/Storelocator/Block/Adminhtml/Storelocator/Edit/Form.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_Block_Adminhtml_Storelocator_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+ $form = new Varien_Data_Form(array(
7
+ "id" => "edit_form",
8
+ "action" => $this->getUrl("*/*/save", array("id" => $this->getRequest()->getParam("id"))),
9
+ "method" => "post",
10
+ "enctype" =>"multipart/form-data",
11
+ )
12
+ );
13
+ $form->setUseContainer(true);
14
+ $this->setForm($form);
15
+ return parent::_prepareForm();
16
+ }
17
+ }
app/code/community/Manv/Storelocator/Block/Adminhtml/Storelocator/Edit/Tab/Form.php ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_Block_Adminhtml_Storelocator_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
+ {
4
+ protected function _prepareForm()
5
+ {
6
+
7
+ $form = new Varien_Data_Form();
8
+ $this->setForm($form);
9
+ $fieldset = $form->addFieldset("storelocator_form", array("legend"=>Mage::helper("storelocator")->__("Item information")));
10
+
11
+
12
+ $fieldset->addField("name", "text", array(
13
+ "label" => Mage::helper("storelocator")->__("Name"),
14
+ "name" => "name",
15
+ ));
16
+
17
+ $fieldset->addField("address", "text", array(
18
+ "label" => Mage::helper("storelocator")->__("Address"),
19
+ "name" => "address",
20
+ ));
21
+
22
+ $fieldset->addField("zipcode", "text", array(
23
+ "label" => Mage::helper("storelocator")->__("Zipcode"),
24
+ "name" => "zipcode",
25
+ ));
26
+
27
+ $fieldset->addField("city", "text", array(
28
+ "label" => Mage::helper("storelocator")->__("City"),
29
+ "name" => "city",
30
+ ));
31
+
32
+ $fieldset->addField("country_id", "text", array(
33
+ "label" => Mage::helper("storelocator")->__("Country"),
34
+ "name" => "country_id",
35
+ ));
36
+
37
+ $fieldset->addField("phone", "text", array(
38
+ "label" => Mage::helper("storelocator")->__("Phone"),
39
+ "name" => "phone",
40
+ ));
41
+
42
+ $fieldset->addField("fax", "text", array(
43
+ "label" => Mage::helper("storelocator")->__("Fax"),
44
+ "name" => "fax",
45
+ ));
46
+
47
+ $fieldset->addField("description", "textarea", array(
48
+ "label" => Mage::helper("storelocator")->__("Description"),
49
+ "name" => "description",
50
+ ));
51
+
52
+ $fieldset->addField("store_url", "text", array(
53
+ "label" => Mage::helper("storelocator")->__("Store_url"),
54
+ "name" => "store_url",
55
+ ));
56
+
57
+ $fieldset->addField("email", "text", array(
58
+ "label" => Mage::helper("storelocator")->__("Email"),
59
+ "name" => "email",
60
+ ));
61
+
62
+ $fieldset->addField("tradinghours", "text", array(
63
+ "label" => Mage::helper("storelocator")->__("Trading Hours"),
64
+ "name" => "tradinghours",
65
+ ));
66
+
67
+ $fieldset->addField('image', 'image', array(
68
+ 'label' => Mage::helper('storelocator')->__('Store Image'),
69
+ 'name' => 'image',
70
+ 'note' => '(*.jpg, *.png, *.gif)',
71
+ ));
72
+ $fieldset->addField("lat", "text", array(
73
+ "label" => Mage::helper("storelocator")->__("Latitude"),
74
+ "name" => "lat",
75
+ ));
76
+
77
+ $fieldset->addField("longt", "text", array(
78
+ "label" => Mage::helper("storelocator")->__("Longitude"),
79
+ "name" => "longt",
80
+ ));
81
+
82
+ $fieldset->addField('status', 'select', array(
83
+ 'label' => Mage::helper('storelocator')->__('Status'),
84
+ 'values' => Manv_Storelocator_Block_Adminhtml_Storelocator_Grid::getValueArray15(),
85
+ 'name' => 'status',
86
+ ));
87
+ $fieldset->addField("radius", "text", array(
88
+ "label" => Mage::helper("storelocator")->__("Radius"),
89
+ "name" => "radius",
90
+ ));
91
+
92
+
93
+ if (Mage::getSingleton("adminhtml/session")->getStorelocatorData())
94
+ {
95
+ $form->setValues(Mage::getSingleton("adminhtml/session")->getStorelocatorData());
96
+ Mage::getSingleton("adminhtml/session")->setStorelocatorData(null);
97
+ }
98
+ elseif(Mage::registry("storelocator_data")) {
99
+ $form->setValues(Mage::registry("storelocator_data")->getData());
100
+ }
101
+ return parent::_prepareForm();
102
+ }
103
+ }
app/code/community/Manv/Storelocator/Block/Adminhtml/Storelocator/Edit/Tabs.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_Block_Adminhtml_Storelocator_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
+ {
4
+ public function __construct()
5
+ {
6
+ parent::__construct();
7
+ $this->setId("storelocator_tabs");
8
+ $this->setDestElementId("edit_form");
9
+ $this->setTitle(Mage::helper("storelocator")->__("Item Information"));
10
+ }
11
+ protected function _beforeToHtml()
12
+ {
13
+ $this->addTab("form_section", array(
14
+ "label" => Mage::helper("storelocator")->__("Item Information"),
15
+ "title" => Mage::helper("storelocator")->__("Item Information"),
16
+ "content" => $this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit_tab_form")->toHtml(),
17
+ ));
18
+ return parent::_beforeToHtml();
19
+ }
20
+
21
+ }
app/code/community/Manv/Storelocator/Block/Adminhtml/Storelocator/Grid.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Manv_Storelocator_Block_Adminhtml_Storelocator_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
+ {
5
+
6
+ public function __construct()
7
+ {
8
+ parent::__construct();
9
+ $this->setId("storelocatorGrid");
10
+ $this->setDefaultSort("id");
11
+ $this->setDefaultDir("ASC");
12
+ $this->setSaveParametersInSession(true);
13
+ }
14
+
15
+ protected function _prepareCollection()
16
+ {
17
+ $collection = Mage::getModel("storelocator/storelocator")->getCollection();
18
+ $this->setCollection($collection);
19
+ return parent::_prepareCollection();
20
+ }
21
+ protected function _prepareColumns()
22
+ {
23
+ $this->addColumn("id", array(
24
+ "header" => Mage::helper("storelocator")->__("ID"),
25
+ "align" =>"right",
26
+ "width" => "50px",
27
+ "type" => "number",
28
+ "index" => "id",
29
+ ));
30
+
31
+ $this->addColumn("name", array(
32
+ "header" => Mage::helper("storelocator")->__("Name"),
33
+ "index" => "name",
34
+ ));
35
+ $this->addColumn("address", array(
36
+ "header" => Mage::helper("storelocator")->__("Address"),
37
+ "index" => "address",
38
+ ));
39
+ $this->addColumn("zipcode", array(
40
+ "header" => Mage::helper("storelocator")->__("Zipcode"),
41
+ "index" => "zipcode",
42
+ ));
43
+ $this->addColumn("city", array(
44
+ "header" => Mage::helper("storelocator")->__("City"),
45
+ "index" => "city",
46
+ ));
47
+ $this->addColumn("country_id", array(
48
+ "header" => Mage::helper("storelocator")->__("Country"),
49
+ "index" => "country_id",
50
+ ));
51
+ $this->addColumn("phone", array(
52
+ "header" => Mage::helper("storelocator")->__("Phone"),
53
+ "index" => "phone",
54
+ ));
55
+ $this->addColumn("fax", array(
56
+ "header" => Mage::helper("storelocator")->__("Fax"),
57
+ "index" => "fax",
58
+ ));
59
+ $this->addColumn("store_url", array(
60
+ "header" => Mage::helper("storelocator")->__("Store_url"),
61
+ "index" => "store_url",
62
+ ));
63
+ $this->addColumn("email", array(
64
+ "header" => Mage::helper("storelocator")->__("Email"),
65
+ "index" => "email",
66
+ ));
67
+ $this->addColumn("tradinghours", array(
68
+ "header" => Mage::helper("storelocator")->__("Trading Hours"),
69
+ "index" => "tradinghours",
70
+ ));
71
+ $this->addColumn("lat", array(
72
+ "header" => Mage::helper("storelocator")->__("Latitude"),
73
+ "index" => "lat",
74
+ ));
75
+ $this->addColumn("longt", array(
76
+ "header" => Mage::helper("storelocator")->__("Longitude"),
77
+ "index" => "longt",
78
+ ));
79
+ $this->addColumn('status', array(
80
+ 'header' => Mage::helper('storelocator')->__('Status'),
81
+ 'index' => 'status',
82
+ 'type' => 'options',
83
+ 'options'=>Manv_Storelocator_Block_Adminhtml_Storelocator_Grid::getOptionArray15(),
84
+ ));
85
+
86
+ $this->addColumn("radius", array(
87
+ "header" => Mage::helper("storelocator")->__("Radius"),
88
+ "index" => "radius",
89
+ ));
90
+ $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
91
+ $this->addExportType('*/*/exportExcel', Mage::helper('sales')->__('Excel'));
92
+
93
+ return parent::_prepareColumns();
94
+ }
95
+
96
+ public function getRowUrl($row)
97
+ {
98
+ return $this->getUrl("*/*/edit", array("id" => $row->getId()));
99
+ }
100
+
101
+
102
+
103
+ protected function _prepareMassaction()
104
+ {
105
+ $this->setMassactionIdField('id');
106
+ $this->getMassactionBlock()->setFormFieldName('ids');
107
+ $this->getMassactionBlock()->setUseSelectAll(true);
108
+ $this->getMassactionBlock()->addItem('remove_storelocator', array(
109
+ 'label'=> Mage::helper('storelocator')->__('Remove Storelocator'),
110
+ 'url' => $this->getUrl('*/adminhtml_storelocator/massRemove'),
111
+ 'confirm' => Mage::helper('storelocator')->__('Are you sure?')
112
+ ));
113
+ return $this;
114
+ }
115
+
116
+ static public function getOptionArray15()
117
+ {
118
+ $data_array=array();
119
+ $data_array[0]='Enable';
120
+ $data_array[1]='Disable';
121
+ return($data_array);
122
+ }
123
+ static public function getValueArray15()
124
+ {
125
+ $data_array=array();
126
+ foreach(Manv_Storelocator_Block_Adminhtml_Storelocator_Grid::getOptionArray15() as $k=>$v){
127
+ $data_array[]=array('value'=>$k,'label'=>$v);
128
+ }
129
+ return($data_array);
130
+
131
+ }
132
+
133
+
134
+ }
app/code/community/Manv/Storelocator/Block/Index.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_Block_Index extends Mage_Core_Block_Template{
3
+
4
+
5
+
6
+
7
+
8
+ }
app/code/community/Manv/Storelocator/Helper/Data.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ }
5
+
app/code/community/Manv/Storelocator/Model/Mysql4/Storelocator.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_Model_Mysql4_Storelocator extends Mage_Core_Model_Mysql4_Abstract
3
+ {
4
+ protected function _construct()
5
+ {
6
+ $this->_init("storelocator/storelocator", "id");
7
+ }
8
+ }
app/code/community/Manv/Storelocator/Model/Mysql4/Storelocator/Collection.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_Model_Mysql4_Storelocator_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
+ {
4
+
5
+ public function _construct(){
6
+ $this->_init("storelocator/storelocator");
7
+ }
8
+
9
+
10
+
11
+ }
12
+
app/code/community/Manv/Storelocator/Model/Storelocator.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Manv_Storelocator_Model_Storelocator extends Mage_Core_Model_Abstract
4
+ {
5
+ protected function _construct(){
6
+
7
+ $this->_init("storelocator/storelocator");
8
+
9
+ }
10
+
11
+ }
12
+
app/code/community/Manv/Storelocator/controllers/Adminhtml/StorelocatorController.php ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Manv_Storelocator_Adminhtml_StorelocatorController extends Mage_Adminhtml_Controller_Action
4
+ {
5
+ protected function _initAction()
6
+ {
7
+ $this->loadLayout()->_setActiveMenu("storelocator/storelocator")->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Manager"),Mage::helper("adminhtml")->__("Storelocator Manager"));
8
+ return $this;
9
+ }
10
+ public function indexAction()
11
+ {
12
+ $this->_title($this->__("Storelocator"));
13
+ $this->_title($this->__("Manager Storelocator"));
14
+
15
+ $this->_initAction();
16
+ $this->renderLayout();
17
+ }
18
+ public function editAction()
19
+ {
20
+ $this->_title($this->__("Storelocator"));
21
+ $this->_title($this->__("Storelocator"));
22
+ $this->_title($this->__("Edit Item"));
23
+
24
+ $id = $this->getRequest()->getParam("id");
25
+ $model = Mage::getModel("storelocator/storelocator")->load($id);
26
+ if ($model->getId()) {
27
+ Mage::register("storelocator_data", $model);
28
+ $this->loadLayout();
29
+ $this->_setActiveMenu("storelocator/storelocator");
30
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Manager"), Mage::helper("adminhtml")->__("Storelocator Manager"));
31
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Description"), Mage::helper("adminhtml")->__("Storelocator Description"));
32
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
33
+ $this->_addContent($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit"))->_addLeft($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit_tabs"));
34
+ $this->renderLayout();
35
+ }
36
+ else {
37
+ Mage::getSingleton("adminhtml/session")->addError(Mage::helper("storelocator")->__("Item does not exist."));
38
+ $this->_redirect("*/*/");
39
+ }
40
+ }
41
+
42
+ public function newAction()
43
+ {
44
+
45
+ $this->_title($this->__("Storelocator"));
46
+ $this->_title($this->__("Storelocator"));
47
+ $this->_title($this->__("New Item"));
48
+
49
+ $id = $this->getRequest()->getParam("id");
50
+ $model = Mage::getModel("storelocator/storelocator")->load($id);
51
+
52
+ $data = Mage::getSingleton("adminhtml/session")->getFormData(true);
53
+ if (!empty($data)) {
54
+ $model->setData($data);
55
+ }
56
+
57
+ Mage::register("storelocator_data", $model);
58
+
59
+ $this->loadLayout();
60
+ $this->_setActiveMenu("storelocator/storelocator");
61
+
62
+ $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
63
+
64
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Manager"), Mage::helper("adminhtml")->__("Storelocator Manager"));
65
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Storelocator Description"), Mage::helper("adminhtml")->__("Storelocator Description"));
66
+
67
+
68
+ $this->_addContent($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit"))->_addLeft($this->getLayout()->createBlock("storelocator/adminhtml_storelocator_edit_tabs"));
69
+
70
+ $this->renderLayout();
71
+
72
+ }
73
+ public function saveAction()
74
+ {
75
+
76
+ $post_data=$this->getRequest()->getPost();
77
+
78
+
79
+ if ($post_data) {
80
+
81
+ try {
82
+
83
+
84
+ //save image
85
+ try{
86
+
87
+ if((bool)$post_data['image']['delete']==1) {
88
+
89
+ $post_data['image']='';
90
+
91
+ }
92
+ else {
93
+
94
+ unset($post_data['image']);
95
+
96
+ if (isset($_FILES)){
97
+
98
+ if ($_FILES['image']['name']) {
99
+
100
+ if($this->getRequest()->getParam("id")){
101
+ $model = Mage::getModel("storelocator/storelocator")->load($this->getRequest()->getParam("id"));
102
+ if($model->getData('image')){
103
+ $io = new Varien_Io_File();
104
+ $io->rm(Mage::getBaseDir('media').DS.implode(DS,explode('/',$model->getData('image'))));
105
+ }
106
+ }
107
+ $path = Mage::getBaseDir('media') . DS . 'storelocator' . DS .'storelocator'.DS;
108
+ $uploader = new Varien_File_Uploader('image');
109
+ $uploader->setAllowedExtensions(array('jpg','png','gif'));
110
+ $uploader->setAllowRenameFiles(false);
111
+ $uploader->setFilesDispersion(false);
112
+ $destFile = $path.$_FILES['image']['name'];
113
+ $filename = $uploader->getNewFileName($destFile);
114
+ $uploader->save($path, $filename);
115
+
116
+ $post_data['image']='storelocator/storelocator/'.$filename;
117
+ }
118
+ }
119
+ }
120
+
121
+ } catch (Exception $e) {
122
+ Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
123
+ $this->_redirect('*/*/edit', array('id' => $this->getRequest()->getParam('id')));
124
+ return;
125
+ }
126
+ //save image
127
+
128
+
129
+ $model = Mage::getModel("storelocator/storelocator")
130
+ ->addData($post_data)
131
+ ->setId($this->getRequest()->getParam("id"))
132
+ ->save();
133
+
134
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Storelocator was successfully saved"));
135
+ Mage::getSingleton("adminhtml/session")->setStorelocatorData(false);
136
+
137
+ if ($this->getRequest()->getParam("back")) {
138
+ $this->_redirect("*/*/edit", array("id" => $model->getId()));
139
+ return;
140
+ }
141
+ $this->_redirect("*/*/");
142
+ return;
143
+ }
144
+ catch (Exception $e) {
145
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
146
+ Mage::getSingleton("adminhtml/session")->setStorelocatorData($this->getRequest()->getPost());
147
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
148
+ return;
149
+ }
150
+
151
+ }
152
+ $this->_redirect("*/*/");
153
+ }
154
+
155
+
156
+
157
+ public function deleteAction()
158
+ {
159
+ if( $this->getRequest()->getParam("id") > 0 ) {
160
+ try {
161
+ $model = Mage::getModel("storelocator/storelocator");
162
+ $model->setId($this->getRequest()->getParam("id"))->delete();
163
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item was successfully deleted"));
164
+ $this->_redirect("*/*/");
165
+ }
166
+ catch (Exception $e) {
167
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
168
+ $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
169
+ }
170
+ }
171
+ $this->_redirect("*/*/");
172
+ }
173
+
174
+
175
+ public function massRemoveAction()
176
+ {
177
+ try {
178
+ $ids = $this->getRequest()->getPost('ids', array());
179
+ foreach ($ids as $id) {
180
+ $model = Mage::getModel("storelocator/storelocator");
181
+ $model->setId($id)->delete();
182
+ }
183
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item(s) was successfully removed"));
184
+ }
185
+ catch (Exception $e) {
186
+ Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
187
+ }
188
+ $this->_redirect('*/*/');
189
+ }
190
+
191
+ /**
192
+ * Export order grid to CSV format
193
+ */
194
+ public function exportCsvAction()
195
+ {
196
+ $fileName = 'storelocator.csv';
197
+ $grid = $this->getLayout()->createBlock('storelocator/adminhtml_storelocator_grid');
198
+ $this->_prepareDownloadResponse($fileName, $grid->getCsvFile());
199
+ }
200
+ /**
201
+ * Export order grid to Excel XML format
202
+ */
203
+ public function exportExcelAction()
204
+ {
205
+ $fileName = 'storelocator.xml';
206
+ $grid = $this->getLayout()->createBlock('storelocator/adminhtml_storelocator_grid');
207
+ $this->_prepareDownloadResponse($fileName, $grid->getExcelFile($fileName));
208
+ }
209
+ }
app/code/community/Manv/Storelocator/controllers/IndexController.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Manv_Storelocator_IndexController extends Mage_Core_Controller_Front_Action{
3
+ public function IndexAction() {
4
+
5
+ $this->loadLayout();
6
+ $this->getLayout()->getBlock("head")->setTitle($this->__("Storelocator"));
7
+ $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
+ $breadcrumbs->addCrumb("home", array(
9
+ "label" => $this->__("Home Page"),
10
+ "title" => $this->__("Home Page"),
11
+ "link" => Mage::getBaseUrl()
12
+ ));
13
+
14
+ $breadcrumbs->addCrumb("storelocator", array(
15
+ "label" => $this->__("Storelocator"),
16
+ "title" => $this->__("Storelocator")
17
+ ));
18
+
19
+ $this->renderLayout();
20
+
21
+ }
22
+ }
app/code/community/Manv/Storelocator/etc/config.xml ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Manv_Storelocator>
5
+ <version>1.1.3</version>
6
+ </Manv_Storelocator>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <storelocator>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Manv_Storelocator</module>
14
+ <frontName>storelocator</frontName>
15
+ </args>
16
+ </storelocator>
17
+ </routers>
18
+ <layout>
19
+ <updates>
20
+ <storelocator>
21
+ <file>storelocator.xml</file>
22
+ </storelocator>
23
+ </updates>
24
+ </layout>
25
+ </frontend>
26
+ <global>
27
+ <helpers>
28
+ <storelocator>
29
+ <class>Manv_Storelocator_Helper</class>
30
+ </storelocator>
31
+ </helpers>
32
+ <blocks>
33
+ <storelocator>
34
+ <class>Manv_Storelocator_Block</class>
35
+ </storelocator>
36
+ </blocks>
37
+ <models>
38
+ <storelocator>
39
+ <class>Manv_Storelocator_Model</class>
40
+ <resourceModel>storelocator_mysql4</resourceModel>
41
+ </storelocator>
42
+ <storelocator_mysql4>
43
+ <class>Manv_Storelocator_Model_Mysql4</class>
44
+ <entities>
45
+ <storelocator>
46
+ <table>manvstorelocator</table>
47
+ </storelocator>
48
+ </entities>
49
+ </storelocator_mysql4>
50
+ </models>
51
+ <resources>
52
+ <storelocator_setup>
53
+ <setup>
54
+ <module>Manv_Storelocator</module>
55
+ </setup>
56
+ <connection>
57
+ <use>core_setup</use>
58
+ </connection>
59
+ </storelocator_setup>
60
+ <storelocator_write>
61
+ <connection>
62
+ <use>core_write</use>
63
+ </connection>
64
+ </storelocator_write>
65
+ <storelocator_read>
66
+ <connection>
67
+ <use>core_read</use>
68
+ </connection>
69
+ </storelocator_read>
70
+ </resources>
71
+ </global>
72
+ <admin>
73
+ <routers>
74
+ <storelocator>
75
+ <use>admin</use>
76
+ <args>
77
+ <module>Manv_Storelocator</module>
78
+ <frontName>storelocator</frontName>
79
+ </args>
80
+ </storelocator>
81
+ </routers>
82
+ </admin>
83
+ <adminhtml>
84
+ <menu>
85
+ <storelocator module="storelocator">
86
+ <title>Storelocator</title>
87
+ <sort_order>100</sort_order>
88
+ <children>
89
+ <storelocator module="storelocator">
90
+ <title>Manage Storelocator</title>
91
+ <sort_order>0</sort_order>
92
+ <action>storelocator/adminhtml_storelocator</action>
93
+ </storelocator>
94
+ </children>
95
+ </storelocator>
96
+ </menu>
97
+ <acl>
98
+ <resources>
99
+ <all>
100
+ <title>Allow Everything</title>
101
+ </all>
102
+ <admin>
103
+ <children>
104
+ <storelocator translate="title" module="storelocator">
105
+ <title>Storelocator</title>
106
+ <sort_order>1000</sort_order>
107
+ <children>
108
+ <storelocator translate="title">
109
+ <title>Manage Storelocator</title>
110
+ <sort_order>0</sort_order>
111
+ </storelocator>
112
+ </children>
113
+ </storelocator>
114
+ </children>
115
+ </admin>
116
+ </resources>
117
+ </acl>
118
+ <layout>
119
+ <updates>
120
+ <storelocator>
121
+ <file>storelocator.xml</file>
122
+ </storelocator>
123
+ </updates>
124
+ </layout>
125
+ </adminhtml>
126
+ </config>
app/code/community/Manv/Storelocator/sql/storelocator_setup/mysql4-install-1.1.3.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+ $sql=<<<SQLTEXT
5
+ create table {$this->getTable('manvstorelocator')} (id int not null auto_increment, name varchar(100), address varchar(255),zipcode varchar(100),city varchar(100),country_id varchar(100),phone varchar(100),fax varchar(100),description varchar(255),store_url varchar(100),email varchar(100),tradinghours varchar(100),radius varchar(100),image varchar(100),lat varchar(100),longt varchar(100),status varchar(100),primary key(id));
6
+
7
+ INSERT INTO {$this->getTable('manvstorelocator')} (`name`, `address`, `zipcode`, `city`, `country_id`, `phone`, `fax`, `description`, `store_url`, `email`, `tradinghours`, `radius`, `image`, `lat`, `longt`, `status`) VALUES ('Jaipur Store', 'Jaipur', '302018', 'Jaipur', 'India', '7792047479', NULL, 'Jaipur Store', 'http://www.magentocommerce.com/magento-connect/developer/sharmamanvendra', 'sharmamanvendra6@gmail.com', '7:00 To 8:00PM', '306', 'storelocator/storelocator/14948.jpg', '26.849542700000000000', '75.819621099999950000', '0');
8
+
9
+
10
+
11
+ SQLTEXT;
12
+
13
+ $installer->run($sql);
14
+ //demo
15
+ Mage::getModel('core/url_rewrite')->setId(null);
16
+ //demo
17
+ $installer->endSetup();
18
+
app/design/frontend/base/default/template/responsivebannerslidermanv/index.phtml CHANGED
@@ -1,10 +1,11 @@
1
- <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('manvresponsiveslider/css/styles.css'); ?>" media="all">
2
- <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('manvresponsiveslider/css/generic-nav.css'); ?>" media="all">
3
- <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('manvresponsiveslider/css/grid12.css'); ?>" media="all">
4
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('manvresponsiveslider/js/jquery-1.js'); ?>"></script>
5
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('manvresponsiveslider/js/jquery-noconflict.js'); ?>"></script>
6
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('manvresponsiveslider/js/jquery_004.js'); ?>"></script>
7
- <script type="text/javascript" src="<?php echo $this->getSkinUrl('manvresponsiveslider/js/jquery_003.js'); ?>"></script>
 
8
 
9
 
10
  <!-- BEGIN GOOGLE ANALYTICS CODEs -->
1
+ <?php $cssurl = str_replace('index.php/','',$this->getUrl());?>
2
+ <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/manvresponsiveslider/css/generic-nav.css'; ?>" media="all">
3
+ <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/manvresponsiveslider/css/grid12.css'; ?>" media="all">
4
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/manvresponsiveslider/js/jquery-1.js'; ?>"></script>
5
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/manvresponsiveslider/js/jquery-noconflict.js'; ?>"></script>
6
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/manvresponsiveslider/js/jquery_004.js'; ?>"></script>
7
+ <script type="text/javascript" src="<?php echo $cssurl.'skin/frontend/base/default/manvresponsiveslider/js/jquery_003.js'; ?>"></script>
8
+
9
 
10
 
11
  <!-- BEGIN GOOGLE ANALYTICS CODEs -->
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Responsivebannerslider</name>
4
- <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Responsive banner slider extension in magento combine with different type of banner style. </summary>
10
- <description>Responsive banner slider extension in magento combine with different type of banner style. </description>
11
- <notes>Responsive banner slider extension in magento combine with different type of banner style. </notes>
12
  <authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
13
- <date>2014-01-13</date>
14
- <time>06:29:49</time>
15
- <contents><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="manvresponsiveslider"><dir name="css"><file name="generic-nav.css" hash="f0ea48a8ce441ad10e5c631da5b0ae46"/><file name="grid12.css" hash="4cf097c8ed8c5b2c7d4616de46a4c962"/><file name="styles.css" hash="8e45917ed2dd5d388e76b9147ae6a2eb"/></dir><dir name="img"><file name="01.jpg" hash="49dcb5cee2b86a14b80b6ef59e467bc3"/><file name="01_002.jpg" hash="edc7eff6b3c0b38a429c44c656398358"/><file name="02.jpg" hash="0ec3768570d3774c1805a90d615172b2"/><file name="1.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="2.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="3.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="info.png" hash="43d666757fb907b2ee8f44352d80e9ff"/><file name="logo.png" hash="ec59af60870fe42a62debe4721fdf529"/><file name="pager.png" hash="58b23f4350365ca08912ac608f6d2d9e"/><file name="payment.gif" hash="a8daa18fcb3e3845c56ffbca6d140276"/><file name="slider-arrows.png" hash="4f71b34c53eedc49a534566557dddbef"/></dir><dir name="js"><file name="jquery-1.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery_003.js" hash="af24b4669a06656c13457625030ec2b8"/><file name="jquery_004.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="manvresponsivebannerslider"><dir name="bannerslider"><file name="banner-1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-2.jpg" hash="92372dc0f2a9454851bed073a3d164a4"/><file name="banner-3.jpg" hash="f0b4946e792dc573b8b76b5aa8935d3d"/></dir></dir></target><target name="magecommunity"><dir name="Manv"><dir name="Responsivebannerslidermanv"><dir name="Block"><dir name="Adminhtml"><dir name="Responsivebannerslidermanv"><dir name="Edit"><file name="Form.php" hash="f83aa38739a4d7b7a02dea6379ef43a8"/><dir name="Tab"><file name="Form.php" hash="50b88c272a6d7616844c2288a526a087"/></dir><file name="Tabs.php" hash="9586174a11f2e94e54f5ceaff6333b1d"/></dir><file name="Edit.php" hash="4af2e69689e1459f998c72b488a22bc5"/><file name="Grid.php" hash="895ce07235e65b455761ba04e07c080c"/></dir><file name="Responsivebannerslidermanv.php" hash="7647b0eef09e73076c8240de6a4e0b74"/></dir><file name="Index.php" hash="41698dcf2b5c2233e8b10c1626564ca0"/></dir><dir name="Helper"><file name="Data.php" hash="af1176a4aad2af6a21d42c239967ed2d"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Responsivebannerslidermanv"><file name="Collection.php" hash="b1a856e504383382e81c14666356bf0f"/></dir><file name="Responsivebannerslidermanv.php" hash="b40aec464aaa03e1df73fab948e4a63d"/></dir><file name="Responsivebannerslidermanv.php" hash="9bf451f70f2667477f3c42c2a1b72409"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ResponsivebannerslidermanvController.php" hash="061b54bbfa230eaa34d6785ddbf174b2"/></dir><file name="IndexController.php" hash="257cd4c4977efd8af741f697280ba597"/></dir><dir name="etc"><file name="config.xml" hash="15078538292cb980eb2e6cea9b05e652"/></dir><dir name="sql"><dir name="responsivebannerslidermanv_setup"><file name="mysql4-install-1.1.1.php" hash="c5863d5dbaa12906cdd4cf21e8ff91af"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="responsivebannerslidermanv.xml" hash="90717c3f3ad27b9077846b2be66a7e7b"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="responsivebannerslidermanv.xml" hash="4df19faee7bc0859f29832adbddae61d"/></dir><dir name="template"><dir name="responsivebannerslidermanv"><file name="index.phtml" hash="44f53f9cb40184ddfdbc0d9c7296b96c"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Manv_Responsivebannerslidermanv.xml" hash="0919946bb93b1ab3bce508f2bef9049b"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Responsivebannerslider</name>
4
+ <version>1.1.3</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Responsive banner slider extension with different type of banner style Fully responsive banner slider </summary>
10
+ <description>Responsive banner slider extension with different type of banner style Fully responsive banner slider </description>
11
+ <notes>Responsive banner slider extension with different type of banner style Fully responsive banner slider </notes>
12
  <authors><author><name>Manvendra Sharma</name><user>sharmamanvendra</user><email>sharmamanvendra6@gmail.com</email></author></authors>
13
+ <date>2014-03-11</date>
14
+ <time>10:47:48</time>
15
+ <contents><target name="magecommunity"><dir name="Manv"><dir name="Responsivebannerslidermanv"><dir name="Block"><dir name="Adminhtml"><dir name="Responsivebannerslidermanv"><dir name="Edit"><file name="Form.php" hash="f83aa38739a4d7b7a02dea6379ef43a8"/><dir name="Tab"><file name="Form.php" hash="50b88c272a6d7616844c2288a526a087"/></dir><file name="Tabs.php" hash="9586174a11f2e94e54f5ceaff6333b1d"/></dir><file name="Edit.php" hash="4af2e69689e1459f998c72b488a22bc5"/><file name="Grid.php" hash="895ce07235e65b455761ba04e07c080c"/></dir><file name="Responsivebannerslidermanv.php" hash="7647b0eef09e73076c8240de6a4e0b74"/></dir><file name="Index.php" hash="41698dcf2b5c2233e8b10c1626564ca0"/></dir><dir name="Helper"><file name="Data.php" hash="af1176a4aad2af6a21d42c239967ed2d"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Responsivebannerslidermanv"><file name="Collection.php" hash="b1a856e504383382e81c14666356bf0f"/></dir><file name="Responsivebannerslidermanv.php" hash="b40aec464aaa03e1df73fab948e4a63d"/></dir><file name="Responsivebannerslidermanv.php" hash="9bf451f70f2667477f3c42c2a1b72409"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ResponsivebannerslidermanvController.php" hash="061b54bbfa230eaa34d6785ddbf174b2"/></dir><file name="IndexController.php" hash="257cd4c4977efd8af741f697280ba597"/></dir><dir name="etc"><file name="config.xml" hash="15078538292cb980eb2e6cea9b05e652"/></dir><dir name="sql"><dir name="responsivebannerslidermanv_setup"><file name="mysql4-install-1.1.1.php" hash="b84ade64589a0dc6e47a8513e88d8d41"/></dir></dir></dir><dir name="Storelocator"><dir name="Block"><dir name="Adminhtml"><dir name="Storelocator"><dir name="Edit"><file name="Form.php" hash="183787af3dff1f49be0bb751b2d25ae6"/><dir name="Tab"><file name="Form.php" hash="03b036c5739cbcc2e452e4ed5886f422"/></dir><file name="Tabs.php" hash="69cab78ea0631d5248ca3a5a412846a4"/></dir><file name="Edit.php" hash="1c1812b4a0e11bc1344f7ec2b910100d"/><file name="Grid.php" hash="6d8238f9ad4c0b8ba5b2369da4d49005"/></dir><file name="Storelocator.php" hash="0a2ce63f7097ab8372707538a69842a7"/></dir><file name="Index.php" hash="e7a7da34011f86f293b3bb860613f2f4"/></dir><dir name="Helper"><file name="Data.php" hash="0b87ae1bb674b22df79067dc6c8fe2cd"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Storelocator"><file name="Collection.php" hash="63eb3eef688561558300700d61d233a9"/></dir><file name="Storelocator.php" hash="8deb77c0bcad8e84fd0363578f971be7"/></dir><file name="Storelocator.php" hash="90b7ccbfdd3ba71e832c93384c62c7e0"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StorelocatorController.php" hash="7d9466bd31cce9a0650b82470b95bb82"/></dir><file name="IndexController.php" hash="779b79a350dcd2fa05b9331303f8ae89"/></dir><dir name="etc"><file name="config.xml" hash="13b8ab2368b3dbee5eb23d9fac882b65"/></dir><dir name="sql"><dir name="storelocator_setup"><file name="mysql4-install-1.1.3.php" hash="f8cbfc5c9cef539995311847ecb9a4fd"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="responsivebannerslidermanv"><file name="index.phtml" hash="9575436aeeb0569649026eb9eb49cb56"/></dir></dir><dir name="layout"><file name="responsivebannerslidermanv.xml" hash="4df19faee7bc0859f29832adbddae61d"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="responsivebannerslidermanv.xml" hash="90717c3f3ad27b9077846b2be66a7e7b"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Manv_Responsivebannerslidermanv.xml" hash="0919946bb93b1ab3bce508f2bef9049b"/></dir></target><target name="magemedia"><dir name="manvresponsivebannerslider"><dir name="bannerslider"><file name="banner-1.jpg" hash="973491deb872911a69f7bb1f6138036b"/><file name="banner-2.jpg" hash="92372dc0f2a9454851bed073a3d164a4"/><file name="banner-3.jpg" hash="f0b4946e792dc573b8b76b5aa8935d3d"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="manvresponsiveslider"><dir name="css"><file name="generic-nav.css" hash="f0ea48a8ce441ad10e5c631da5b0ae46"/><file name="grid12.css" hash="4cf760c5e87d6ff6e85f653928cbed07"/><file name="styles.css" hash="8e45917ed2dd5d388e76b9147ae6a2eb"/></dir><dir name="img"><file name="01.jpg" hash="49dcb5cee2b86a14b80b6ef59e467bc3"/><file name="01_002.jpg" hash="edc7eff6b3c0b38a429c44c656398358"/><file name="02.jpg" hash="0ec3768570d3774c1805a90d615172b2"/><file name="1.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="2.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="3.jpg" hash="cb627e40504b966d04a1ab52e0ab749e"/><file name="info.png" hash="43d666757fb907b2ee8f44352d80e9ff"/><file name="logo.png" hash="ec59af60870fe42a62debe4721fdf529"/><file name="pager.png" hash="58b23f4350365ca08912ac608f6d2d9e"/><file name="payment.gif" hash="a8daa18fcb3e3845c56ffbca6d140276"/><file name="slider-arrows.png" hash="4f71b34c53eedc49a534566557dddbef"/></dir><dir name="js"><file name="jquery-1.js" hash="a13f7f208ba534681deadb1ec7a2e54a"/><file name="jquery-noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery_003.js" hash="af24b4669a06656c13457625030ec2b8"/><file name="jquery_004.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
skin/frontend/base/default/manvresponsiveslider/css/grid12.css CHANGED
@@ -61,7 +61,7 @@
61
  .grid12-7 { width:56.33%; }
62
  .grid12-8 { width:64.67%; }
63
  .grid12-9,
64
- .grid4-3 { width:73%; }
65
  .grid12-10 { width:81.33%; }
66
  .grid12-11 { width:89.67%; }
67
  .grid12-12,
@@ -140,4 +140,7 @@
140
  /* Remove padding (which is added in media queries for mobile layouts) from basic grid containers.
141
  Stretch inner grid unit (full width) */
142
  .container.stretched { width:96%; padding-left:0; padding-right:0; }
143
- .container.stretched .grid-full { width:100%; margin-left:0; margin-right:0; }
 
 
 
61
  .grid12-7 { width:56.33%; }
62
  .grid12-8 { width:64.67%; }
63
  .grid12-9,
64
+ .grid4-3 { width:100%; }
65
  .grid12-10 { width:81.33%; }
66
  .grid12-11 { width:89.67%; }
67
  .grid12-12,
140
  /* Remove padding (which is added in media queries for mobile layouts) from basic grid containers.
141
  Stretch inner grid unit (full width) */
142
  .container.stretched { width:96%; padding-left:0; padding-right:0; }
143
+ .container.stretched .grid-full { width:100%; margin-left:0; margin-right:0; }
144
+
145
+
146
+ .the-slideshow-wrapper ul li img{ width:100%!important;}