Mks_Bannerslider - Version 8.1.1

Version Notes

Add configuration setting

Download this release

Release Info

Developer mukesh kumar saini
Extension Mks_Bannerslider
Version 8.1.1
Comparing to
See all releases


Code changes from version 1.1.1 to 8.1.1

Files changed (43) hide show
  1. app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery.php +17 -0
  2. app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit.php +4 -4
  3. app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit/Form.php +1 -1
  4. app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit/Tab/Form.php +8 -13
  5. app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit/Tabs.php +3 -3
  6. app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Grid.php +11 -43
  7. app/code/community/Mks/Bannerslider/Block/Adminhtml/Popupgalleryslider.php +0 -17
  8. app/code/community/Mks/Bannerslider/Block/Index.php +15 -1
  9. app/code/community/Mks/Bannerslider/Model/Imagegallery.php +12 -0
  10. app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery.php +8 -0
  11. app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery/Collection.php +12 -0
  12. app/code/community/Mks/Bannerslider/Model/Mysql4/Popupgalleryslider.php +0 -8
  13. app/code/community/Mks/Bannerslider/Model/Mysql4/Popupgalleryslider/Collection.php +0 -12
  14. app/code/community/Mks/Bannerslider/Model/Popupgalleryslider.php +0 -12
  15. app/code/community/Mks/Bannerslider/controllers/Adminhtml/BannersliderbackendController.php +1 -1
  16. app/code/community/Mks/Bannerslider/controllers/Adminhtml/{PopupgallerysliderController.php → ImagegalleryController.php} +30 -30
  17. app/code/community/Mks/Bannerslider/controllers/IndexController.php +4 -4
  18. app/code/community/Mks/Bannerslider/etc/adminhtml.xml +23 -0
  19. app/code/community/Mks/Bannerslider/etc/config.xml +12 -12
  20. app/code/community/Mks/Bannerslider/etc/system.xml +59 -0
  21. app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-1.1.1.php +0 -15
  22. app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-8.1.1.php +37 -0
  23. app/design/adminhtml/default/default/layout/bannerslider.xml +3 -3
  24. app/design/adminhtml/default/default/template/bannerslider/bannersliderbackend.phtml +1 -34
  25. app/design/frontend/base/default/layout/bannerslider.xml +1 -1
  26. app/design/frontend/base/default/template/bannerslider/index.phtml +32 -47
  27. app/etc/modules/Mks_Bannerslider.xml +1 -1
  28. media/bannerslider/imagegallery/10.jpg +0 -0
  29. media/bannerslider/imagegallery/11.jpg +0 -0
  30. media/bannerslider/imagegallery/2.jpg +0 -0
  31. media/bannerslider/imagegallery/3.jpg +0 -0
  32. media/bannerslider/imagegallery/4.jpg +0 -0
  33. media/bannerslider/imagegallery/5.jpg +0 -0
  34. media/bannerslider/imagegallery/6.jpg +0 -0
  35. media/bannerslider/imagegallery/7.jpg +0 -0
  36. media/bannerslider/imagegallery/8.jpg +0 -0
  37. media/bannerslider/imagegallery/9.jpg +0 -0
  38. package.xml +8 -8
  39. skin/frontend/base/default/bannerslider/css/imagegallery.css +38 -0
  40. skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/images}/close.png +0 -0
  41. skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/images}/left_1.png +0 -0
  42. skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/images}/right_1.png +0 -0
  43. skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/js}/jquery-1.2.6.noConflict.min.js +0 -0
app/code/community/Mks/Bannerslider/Block/Adminhtml/Imagegallery.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class Mks_Bannerslider_Block_Adminhtml_Imagegallery extends Mage_Adminhtml_Block_Widget_Grid_Container{
5
+
6
+ public function __construct()
7
+ {
8
+
9
+ $this->_controller = "adminhtml_imagegallery";
10
+ $this->_blockGroup = "bannerslider";
11
+ $this->_headerText = Mage::helper("bannerslider")->__("Imagegallery Manager");
12
+ $this->_addButtonLabel = Mage::helper("bannerslider")->__("Add New Item");
13
+ parent::__construct();
14
+
15
+ }
16
+
17
+ }
app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit.php RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
  {
5
  public function __construct()
6
  {
@@ -8,7 +8,7 @@ class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit extends Mage_Admi
8
  parent::__construct();
9
  $this->_objectId = "id";
10
  $this->_blockGroup = "bannerslider";
11
- $this->_controller = "adminhtml_popupgalleryslider";
12
  $this->_updateButton("save", "label", Mage::helper("bannerslider")->__("Save Item"));
13
  $this->_updateButton("delete", "label", Mage::helper("bannerslider")->__("Delete Item"));
14
 
@@ -30,9 +30,9 @@ class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit extends Mage_Admi
30
 
31
  public function getHeaderText()
32
  {
33
- if( Mage::registry("popupgalleryslider_data") && Mage::registry("popupgalleryslider_data")->getId() ){
34
 
35
- return Mage::helper("bannerslider")->__("Edit Item '%s'", $this->htmlEscape(Mage::registry("popupgalleryslider_data")->getId()));
36
 
37
  }
38
  else{
1
  <?php
2
 
3
+ class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
4
  {
5
  public function __construct()
6
  {
8
  parent::__construct();
9
  $this->_objectId = "id";
10
  $this->_blockGroup = "bannerslider";
11
+ $this->_controller = "adminhtml_imagegallery";
12
  $this->_updateButton("save", "label", Mage::helper("bannerslider")->__("Save Item"));
13
  $this->_updateButton("delete", "label", Mage::helper("bannerslider")->__("Delete Item"));
14
 
30
 
31
  public function getHeaderText()
32
  {
33
+ if( Mage::registry("imagegallery_data") && Mage::registry("imagegallery_data")->getId() ){
34
 
35
+ return Mage::helper("bannerslider")->__("Edit Item '%s'", $this->htmlEscape(Mage::registry("imagegallery_data")->getId()));
36
 
37
  }
38
  else{
app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit/Form.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
1
  <?php
2
+ class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit/Tab/Form.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
@@ -23,12 +23,7 @@ class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit_Tab_Form extends
23
  "label" => Mage::helper("bannerslider")->__("URL"),
24
  "name" => "url",
25
  ));
26
-
27
- $fieldset->addField('category', 'select', array(
28
- 'label' => Mage::helper('bannerslider')->__('Category Id'),
29
- 'values' => Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid::getValueArray3(),
30
- 'name' => 'category',
31
- ));
32
  $fieldset->addField("description", "textarea", array(
33
  "label" => Mage::helper("bannerslider")->__("Description"),
34
  "name" => "description",
@@ -36,17 +31,17 @@ class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit_Tab_Form extends
36
 
37
  $fieldset->addField('status', 'select', array(
38
  'label' => Mage::helper('bannerslider')->__('Status'),
39
- 'values' => Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid::getValueArray5(),
40
  'name' => 'status',
41
  ));
42
 
43
- if (Mage::getSingleton("adminhtml/session")->getPopupgallerysliderData())
44
  {
45
- $form->setValues(Mage::getSingleton("adminhtml/session")->getPopupgallerysliderData());
46
- Mage::getSingleton("adminhtml/session")->setPopupgallerysliderData(null);
47
  }
48
- elseif(Mage::registry("popupgalleryslider_data")) {
49
- $form->setValues(Mage::registry("popupgalleryslider_data")->getData());
50
  }
51
  return parent::_prepareForm();
52
  }
1
  <?php
2
+ class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
23
  "label" => Mage::helper("bannerslider")->__("URL"),
24
  "name" => "url",
25
  ));
26
+
 
 
 
 
 
27
  $fieldset->addField("description", "textarea", array(
28
  "label" => Mage::helper("bannerslider")->__("Description"),
29
  "name" => "description",
31
 
32
  $fieldset->addField('status', 'select', array(
33
  'label' => Mage::helper('bannerslider')->__('Status'),
34
+ 'values' => Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid::getValueArray4(),
35
  'name' => 'status',
36
  ));
37
 
38
+ if (Mage::getSingleton("adminhtml/session")->getImagegalleryData())
39
  {
40
+ $form->setValues(Mage::getSingleton("adminhtml/session")->getImagegalleryData());
41
+ Mage::getSingleton("adminhtml/session")->setImagegalleryData(null);
42
  }
43
+ elseif(Mage::registry("imagegallery_data")) {
44
+ $form->setValues(Mage::registry("imagegallery_data")->getData());
45
  }
46
  return parent::_prepareForm();
47
  }
app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Edit/Tabs.php RENAMED
@@ -1,10 +1,10 @@
1
  <?php
2
- class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
  {
4
  public function __construct()
5
  {
6
  parent::__construct();
7
- $this->setId("popupgalleryslider_tabs");
8
  $this->setDestElementId("edit_form");
9
  $this->setTitle(Mage::helper("bannerslider")->__("Item Information"));
10
  }
@@ -13,7 +13,7 @@ class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Edit_Tabs extends Mage
13
  $this->addTab("form_section", array(
14
  "label" => Mage::helper("bannerslider")->__("Item Information"),
15
  "title" => Mage::helper("bannerslider")->__("Item Information"),
16
- "content" => $this->getLayout()->createBlock("bannerslider/adminhtml_popupgalleryslider_edit_tab_form")->toHtml(),
17
  ));
18
  return parent::_beforeToHtml();
19
  }
1
  <?php
2
+ class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
  {
4
  public function __construct()
5
  {
6
  parent::__construct();
7
+ $this->setId("imagegallery_tabs");
8
  $this->setDestElementId("edit_form");
9
  $this->setTitle(Mage::helper("bannerslider")->__("Item Information"));
10
  }
13
  $this->addTab("form_section", array(
14
  "label" => Mage::helper("bannerslider")->__("Item Information"),
15
  "title" => Mage::helper("bannerslider")->__("Item Information"),
16
+ "content" => $this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit_tab_form")->toHtml(),
17
  ));
18
  return parent::_beforeToHtml();
19
  }
app/code/community/Mks/Bannerslider/Block/Adminhtml/{Popupgalleryslider → Imagegallery}/Grid.php RENAMED
@@ -1,20 +1,20 @@
1
  <?php
2
 
3
- class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
  {
5
 
6
  public function __construct()
7
  {
8
  parent::__construct();
9
- $this->setId("popupgallerysliderGrid");
10
  $this->setDefaultSort("id");
11
- $this->setDefaultDir("ASC");
12
  $this->setSaveParametersInSession(true);
13
  }
14
 
15
  protected function _prepareCollection()
16
  {
17
- $collection = Mage::getModel("bannerslider/popupgalleryslider")->getCollection();
18
  $this->setCollection($collection);
19
  return parent::_prepareCollection();
20
  }
@@ -36,18 +36,11 @@ class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid extends Mage_Admi
36
  "header" => Mage::helper("bannerslider")->__("URL"),
37
  "index" => "url",
38
  ));
39
- $this->addColumn('category', array(
40
- 'header' => Mage::helper('bannerslider')->__('Category Id'),
41
- 'index' => 'category',
42
- 'type' => 'options',
43
- 'options'=>Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid::getOptionArray3(),
44
- ));
45
-
46
  $this->addColumn('status', array(
47
  'header' => Mage::helper('bannerslider')->__('Status'),
48
  'index' => 'status',
49
  'type' => 'options',
50
- 'options'=>Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid::getOptionArray5(),
51
  ));
52
 
53
  $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
@@ -68,50 +61,25 @@ class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid extends Mage_Admi
68
  $this->setMassactionIdField('id');
69
  $this->getMassactionBlock()->setFormFieldName('ids');
70
  $this->getMassactionBlock()->setUseSelectAll(true);
71
- $this->getMassactionBlock()->addItem('remove_popupgalleryslider', array(
72
- 'label'=> Mage::helper('bannerslider')->__('Remove Popupgalleryslider'),
73
- 'url' => $this->getUrl('*/adminhtml_popupgalleryslider/massRemove'),
74
  'confirm' => Mage::helper('bannerslider')->__('Are you sure?')
75
  ));
76
  return $this;
77
  }
78
 
79
- static public function getOptionArray3()
80
- {
81
- $data_array=array();
82
- $data_array[0]='1';
83
- $data_array[1]='2';
84
- $data_array[2]='3';
85
- $data_array[3]='4';
86
- $data_array[4]='5';
87
- $data_array[5]='6';
88
- $data_array[6]='7';
89
- $data_array[7]='8';
90
- $data_array[8]='9';
91
- $data_array[9]='10';
92
- return($data_array);
93
- }
94
- static public function getValueArray3()
95
- {
96
- $data_array=array();
97
- foreach(Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid::getOptionArray3() as $k=>$v){
98
- $data_array[]=array('value'=>$k,'label'=>$v);
99
- }
100
- return($data_array);
101
-
102
- }
103
-
104
- static public function getOptionArray5()
105
  {
106
  $data_array=array();
107
  $data_array[0]='Yes';
108
  $data_array[1]='No';
109
  return($data_array);
110
  }
111
- static public function getValueArray5()
112
  {
113
  $data_array=array();
114
- foreach(Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider_Grid::getOptionArray5() as $k=>$v){
115
  $data_array[]=array('value'=>$k,'label'=>$v);
116
  }
117
  return($data_array);
1
  <?php
2
 
3
+ class Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
  {
5
 
6
  public function __construct()
7
  {
8
  parent::__construct();
9
+ $this->setId("imagegalleryGrid");
10
  $this->setDefaultSort("id");
11
+ $this->setDefaultDir("DESC");
12
  $this->setSaveParametersInSession(true);
13
  }
14
 
15
  protected function _prepareCollection()
16
  {
17
+ $collection = Mage::getModel("bannerslider/imagegallery")->getCollection();
18
  $this->setCollection($collection);
19
  return parent::_prepareCollection();
20
  }
36
  "header" => Mage::helper("bannerslider")->__("URL"),
37
  "index" => "url",
38
  ));
 
 
 
 
 
 
 
39
  $this->addColumn('status', array(
40
  'header' => Mage::helper('bannerslider')->__('Status'),
41
  'index' => 'status',
42
  'type' => 'options',
43
+ 'options'=>Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid::getOptionArray4(),
44
  ));
45
 
46
  $this->addExportType('*/*/exportCsv', Mage::helper('sales')->__('CSV'));
61
  $this->setMassactionIdField('id');
62
  $this->getMassactionBlock()->setFormFieldName('ids');
63
  $this->getMassactionBlock()->setUseSelectAll(true);
64
+ $this->getMassactionBlock()->addItem('remove_imagegallery', array(
65
+ 'label'=> Mage::helper('bannerslider')->__('Remove Imagegallery'),
66
+ 'url' => $this->getUrl('*/adminhtml_imagegallery/massRemove'),
67
  'confirm' => Mage::helper('bannerslider')->__('Are you sure?')
68
  ));
69
  return $this;
70
  }
71
 
72
+ static public function getOptionArray4()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  {
74
  $data_array=array();
75
  $data_array[0]='Yes';
76
  $data_array[1]='No';
77
  return($data_array);
78
  }
79
+ static public function getValueArray4()
80
  {
81
  $data_array=array();
82
+ foreach(Mks_Bannerslider_Block_Adminhtml_Imagegallery_Grid::getOptionArray4() as $k=>$v){
83
  $data_array[]=array('value'=>$k,'label'=>$v);
84
  }
85
  return($data_array);
app/code/community/Mks/Bannerslider/Block/Adminhtml/Popupgalleryslider.php DELETED
@@ -1,17 +0,0 @@
1
- <?php
2
-
3
-
4
- class Mks_Bannerslider_Block_Adminhtml_Popupgalleryslider extends Mage_Adminhtml_Block_Widget_Grid_Container{
5
-
6
- public function __construct()
7
- {
8
-
9
- $this->_controller = "adminhtml_popupgalleryslider";
10
- $this->_blockGroup = "bannerslider";
11
- $this->_headerText = Mage::helper("bannerslider")->__("Popupgalleryslider Manager");
12
- $this->_addButtonLabel = Mage::helper("bannerslider")->__("Add New Item");
13
- parent::__construct();
14
-
15
- }
16
-
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mks/Bannerslider/Block/Index.php CHANGED
@@ -2,7 +2,21 @@
2
  class Mks_Bannerslider_Block_Index extends Mage_Core_Block_Template{
3
 
4
 
 
 
 
 
5
 
 
 
 
 
6
 
 
 
 
 
7
 
8
- }
 
 
2
  class Mks_Bannerslider_Block_Index extends Mage_Core_Block_Template{
3
 
4
 
5
+ public function getImagegalleryEnabled()
6
+ {
7
+ return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/enable',Mage::app()->getStore());
8
+ }
9
 
10
+ public function getImagegalleryPaggingstart()
11
+ {
12
+ return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/paggingstart',Mage::app()->getStore());
13
+ }
14
 
15
+ public function getImagegalleryRowitem()
16
+ {
17
+ return Mage::getStoreConfig('imagegallerysection/imagegallerygroup/rowitem',Mage::app()->getStore());
18
+ }
19
 
20
+
21
+
22
+ }
app/code/community/Mks/Bannerslider/Model/Imagegallery.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mks_Bannerslider_Model_Imagegallery extends Mage_Core_Model_Abstract
4
+ {
5
+ protected function _construct(){
6
+
7
+ $this->_init("bannerslider/imagegallery");
8
+
9
+ }
10
+
11
+ }
12
+
app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Model_Mysql4_Imagegallery extends Mage_Core_Model_Mysql4_Abstract
3
+ {
4
+ protected function _construct()
5
+ {
6
+ $this->_init("bannerslider/imagegallery", "id");
7
+ }
8
+ }
app/code/community/Mks/Bannerslider/Model/Mysql4/Imagegallery/Collection.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Mks_Bannerslider_Model_Mysql4_Imagegallery_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
+ {
4
+
5
+ public function _construct(){
6
+ $this->_init("bannerslider/imagegallery");
7
+ }
8
+
9
+
10
+
11
+ }
12
+
app/code/community/Mks/Bannerslider/Model/Mysql4/Popupgalleryslider.php DELETED
@@ -1,8 +0,0 @@
1
- <?php
2
- class Mks_Bannerslider_Model_Mysql4_Popupgalleryslider extends Mage_Core_Model_Mysql4_Abstract
3
- {
4
- protected function _construct()
5
- {
6
- $this->_init("bannerslider/popupgalleryslider", "id");
7
- }
8
- }
 
 
 
 
 
 
 
 
app/code/community/Mks/Bannerslider/Model/Mysql4/Popupgalleryslider/Collection.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- class Mks_Bannerslider_Model_Mysql4_Popupgalleryslider_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
- {
4
-
5
- public function _construct(){
6
- $this->_init("bannerslider/popupgalleryslider");
7
- }
8
-
9
-
10
-
11
- }
12
-
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mks/Bannerslider/Model/Popupgalleryslider.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
-
3
- class Mks_Bannerslider_Model_Popupgalleryslider extends Mage_Core_Model_Abstract
4
- {
5
- protected function _construct(){
6
-
7
- $this->_init("bannerslider/popupgalleryslider");
8
-
9
- }
10
-
11
- }
12
-
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mks/Bannerslider/controllers/Adminhtml/BannersliderbackendController.php CHANGED
@@ -4,7 +4,7 @@ class Mks_Bannerslider_Adminhtml_BannersliderbackendController extends Mage_Admi
4
  public function indexAction()
5
  {
6
  $this->loadLayout();
7
- $this->_title($this->__("Banner slider"));
8
  $this->renderLayout();
9
  }
10
  }
4
  public function indexAction()
5
  {
6
  $this->loadLayout();
7
+ $this->_title($this->__("About us"));
8
  $this->renderLayout();
9
  }
10
  }
app/code/community/Mks/Bannerslider/controllers/Adminhtml/{PopupgallerysliderController.php → ImagegalleryController.php} RENAMED
@@ -1,16 +1,16 @@
1
  <?php
2
 
3
- class Mks_Bannerslider_Adminhtml_PopupgallerysliderController extends Mage_Adminhtml_Controller_Action
4
  {
5
  protected function _initAction()
6
  {
7
- $this->loadLayout()->_setActiveMenu("bannerslider/popupgalleryslider")->_addBreadcrumb(Mage::helper("adminhtml")->__("Popupgalleryslider Manager"),Mage::helper("adminhtml")->__("Popupgalleryslider Manager"));
8
  return $this;
9
  }
10
  public function indexAction()
11
  {
12
  $this->_title($this->__("Bannerslider"));
13
- $this->_title($this->__("Manager Popupgalleryslider"));
14
 
15
  $this->_initAction();
16
  $this->renderLayout();
@@ -18,19 +18,19 @@ class Mks_Bannerslider_Adminhtml_PopupgallerysliderController extends Mage_Admin
18
  public function editAction()
19
  {
20
  $this->_title($this->__("Bannerslider"));
21
- $this->_title($this->__("Popupgalleryslider"));
22
  $this->_title($this->__("Edit Item"));
23
 
24
  $id = $this->getRequest()->getParam("id");
25
- $model = Mage::getModel("bannerslider/popupgalleryslider")->load($id);
26
  if ($model->getId()) {
27
- Mage::register("popupgalleryslider_data", $model);
28
  $this->loadLayout();
29
- $this->_setActiveMenu("bannerslider/popupgalleryslider");
30
- $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Popupgalleryslider Manager"), Mage::helper("adminhtml")->__("Popupgalleryslider Manager"));
31
- $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Popupgalleryslider Description"), Mage::helper("adminhtml")->__("Popupgalleryslider Description"));
32
  $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
33
- $this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_popupgalleryslider_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_popupgalleryslider_edit_tabs"));
34
  $this->renderLayout();
35
  }
36
  else {
@@ -43,29 +43,29 @@ class Mks_Bannerslider_Adminhtml_PopupgallerysliderController extends Mage_Admin
43
  {
44
 
45
  $this->_title($this->__("Bannerslider"));
46
- $this->_title($this->__("Popupgalleryslider"));
47
  $this->_title($this->__("New Item"));
48
 
49
  $id = $this->getRequest()->getParam("id");
50
- $model = Mage::getModel("bannerslider/popupgalleryslider")->load($id);
51
 
52
  $data = Mage::getSingleton("adminhtml/session")->getFormData(true);
53
  if (!empty($data)) {
54
  $model->setData($data);
55
  }
56
 
57
- Mage::register("popupgalleryslider_data", $model);
58
 
59
  $this->loadLayout();
60
- $this->_setActiveMenu("bannerslider/popupgalleryslider");
61
 
62
  $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
63
 
64
- $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Popupgalleryslider Manager"), Mage::helper("adminhtml")->__("Popupgalleryslider Manager"));
65
- $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Popupgalleryslider Description"), Mage::helper("adminhtml")->__("Popupgalleryslider Description"));
66
 
67
 
68
- $this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_popupgalleryslider_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_popupgalleryslider_edit_tabs"));
69
 
70
  $this->renderLayout();
71
 
@@ -98,13 +98,13 @@ else {
98
  if ($_FILES['image']['name']) {
99
 
100
  if($this->getRequest()->getParam("id")){
101
- $model = Mage::getModel("bannerslider/popupgalleryslider")->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 . 'bannerslider' . DS .'popupgalleryslider'.DS;
108
  $uploader = new Varien_File_Uploader('image');
109
  $uploader->setAllowedExtensions(array('jpg','png','gif'));
110
  $uploader->setAllowRenameFiles(false);
@@ -113,7 +113,7 @@ else {
113
  $filename = $uploader->getNewFileName($destFile);
114
  $uploader->save($path, $filename);
115
 
116
- $post_data['image']='bannerslider/popupgalleryslider/'.$filename;
117
  }
118
  }
119
  }
@@ -126,13 +126,13 @@ else {
126
  //save image
127
 
128
 
129
- $model = Mage::getModel("bannerslider/popupgalleryslider")
130
  ->addData($post_data)
131
  ->setId($this->getRequest()->getParam("id"))
132
  ->save();
133
 
134
- Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Popupgalleryslider was successfully saved"));
135
- Mage::getSingleton("adminhtml/session")->setPopupgallerysliderData(false);
136
 
137
  if ($this->getRequest()->getParam("back")) {
138
  $this->_redirect("*/*/edit", array("id" => $model->getId()));
@@ -143,7 +143,7 @@ else {
143
  }
144
  catch (Exception $e) {
145
  Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
146
- Mage::getSingleton("adminhtml/session")->setPopupgallerysliderData($this->getRequest()->getPost());
147
  $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
148
  return;
149
  }
@@ -158,7 +158,7 @@ else {
158
  {
159
  if( $this->getRequest()->getParam("id") > 0 ) {
160
  try {
161
- $model = Mage::getModel("bannerslider/popupgalleryslider");
162
  $model->setId($this->getRequest()->getParam("id"))->delete();
163
  Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item was successfully deleted"));
164
  $this->_redirect("*/*/");
@@ -177,7 +177,7 @@ else {
177
  try {
178
  $ids = $this->getRequest()->getPost('ids', array());
179
  foreach ($ids as $id) {
180
- $model = Mage::getModel("bannerslider/popupgalleryslider");
181
  $model->setId($id)->delete();
182
  }
183
  Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item(s) was successfully removed"));
@@ -193,8 +193,8 @@ else {
193
  */
194
  public function exportCsvAction()
195
  {
196
- $fileName = 'popupgalleryslider.csv';
197
- $grid = $this->getLayout()->createBlock('bannerslider/adminhtml_popupgalleryslider_grid');
198
  $this->_prepareDownloadResponse($fileName, $grid->getCsvFile());
199
  }
200
  /**
@@ -202,8 +202,8 @@ else {
202
  */
203
  public function exportExcelAction()
204
  {
205
- $fileName = 'popupgalleryslider.xml';
206
- $grid = $this->getLayout()->createBlock('bannerslider/adminhtml_popupgalleryslider_grid');
207
  $this->_prepareDownloadResponse($fileName, $grid->getExcelFile($fileName));
208
  }
209
  }
1
  <?php
2
 
3
+ class Mks_Bannerslider_Adminhtml_ImagegalleryController extends Mage_Adminhtml_Controller_Action
4
  {
5
  protected function _initAction()
6
  {
7
+ $this->loadLayout()->_setActiveMenu("bannerslider/imagegallery")->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Manager"),Mage::helper("adminhtml")->__("Imagegallery Manager"));
8
  return $this;
9
  }
10
  public function indexAction()
11
  {
12
  $this->_title($this->__("Bannerslider"));
13
+ $this->_title($this->__("Manager Imagegallery"));
14
 
15
  $this->_initAction();
16
  $this->renderLayout();
18
  public function editAction()
19
  {
20
  $this->_title($this->__("Bannerslider"));
21
+ $this->_title($this->__("Imagegallery"));
22
  $this->_title($this->__("Edit Item"));
23
 
24
  $id = $this->getRequest()->getParam("id");
25
+ $model = Mage::getModel("bannerslider/imagegallery")->load($id);
26
  if ($model->getId()) {
27
+ Mage::register("imagegallery_data", $model);
28
  $this->loadLayout();
29
+ $this->_setActiveMenu("bannerslider/imagegallery");
30
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Manager"), Mage::helper("adminhtml")->__("Imagegallery Manager"));
31
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Description"), Mage::helper("adminhtml")->__("Imagegallery Description"));
32
  $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
33
+ $this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit_tabs"));
34
  $this->renderLayout();
35
  }
36
  else {
43
  {
44
 
45
  $this->_title($this->__("Bannerslider"));
46
+ $this->_title($this->__("Imagegallery"));
47
  $this->_title($this->__("New Item"));
48
 
49
  $id = $this->getRequest()->getParam("id");
50
+ $model = Mage::getModel("bannerslider/imagegallery")->load($id);
51
 
52
  $data = Mage::getSingleton("adminhtml/session")->getFormData(true);
53
  if (!empty($data)) {
54
  $model->setData($data);
55
  }
56
 
57
+ Mage::register("imagegallery_data", $model);
58
 
59
  $this->loadLayout();
60
+ $this->_setActiveMenu("bannerslider/imagegallery");
61
 
62
  $this->getLayout()->getBlock("head")->setCanLoadExtJs(true);
63
 
64
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Manager"), Mage::helper("adminhtml")->__("Imagegallery Manager"));
65
+ $this->_addBreadcrumb(Mage::helper("adminhtml")->__("Imagegallery Description"), Mage::helper("adminhtml")->__("Imagegallery Description"));
66
 
67
 
68
+ $this->_addContent($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit"))->_addLeft($this->getLayout()->createBlock("bannerslider/adminhtml_imagegallery_edit_tabs"));
69
 
70
  $this->renderLayout();
71
 
98
  if ($_FILES['image']['name']) {
99
 
100
  if($this->getRequest()->getParam("id")){
101
+ $model = Mage::getModel("bannerslider/imagegallery")->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 . 'bannerslider' . DS .'imagegallery'.DS;
108
  $uploader = new Varien_File_Uploader('image');
109
  $uploader->setAllowedExtensions(array('jpg','png','gif'));
110
  $uploader->setAllowRenameFiles(false);
113
  $filename = $uploader->getNewFileName($destFile);
114
  $uploader->save($path, $filename);
115
 
116
+ $post_data['image']='bannerslider/imagegallery/'.$filename;
117
  }
118
  }
119
  }
126
  //save image
127
 
128
 
129
+ $model = Mage::getModel("bannerslider/imagegallery")
130
  ->addData($post_data)
131
  ->setId($this->getRequest()->getParam("id"))
132
  ->save();
133
 
134
+ Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Imagegallery was successfully saved"));
135
+ Mage::getSingleton("adminhtml/session")->setImagegalleryData(false);
136
 
137
  if ($this->getRequest()->getParam("back")) {
138
  $this->_redirect("*/*/edit", array("id" => $model->getId()));
143
  }
144
  catch (Exception $e) {
145
  Mage::getSingleton("adminhtml/session")->addError($e->getMessage());
146
+ Mage::getSingleton("adminhtml/session")->setImagegalleryData($this->getRequest()->getPost());
147
  $this->_redirect("*/*/edit", array("id" => $this->getRequest()->getParam("id")));
148
  return;
149
  }
158
  {
159
  if( $this->getRequest()->getParam("id") > 0 ) {
160
  try {
161
+ $model = Mage::getModel("bannerslider/imagegallery");
162
  $model->setId($this->getRequest()->getParam("id"))->delete();
163
  Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item was successfully deleted"));
164
  $this->_redirect("*/*/");
177
  try {
178
  $ids = $this->getRequest()->getPost('ids', array());
179
  foreach ($ids as $id) {
180
+ $model = Mage::getModel("bannerslider/imagegallery");
181
  $model->setId($id)->delete();
182
  }
183
  Mage::getSingleton("adminhtml/session")->addSuccess(Mage::helper("adminhtml")->__("Item(s) was successfully removed"));
193
  */
194
  public function exportCsvAction()
195
  {
196
+ $fileName = 'imagegallery.csv';
197
+ $grid = $this->getLayout()->createBlock('bannerslider/adminhtml_imagegallery_grid');
198
  $this->_prepareDownloadResponse($fileName, $grid->getCsvFile());
199
  }
200
  /**
202
  */
203
  public function exportExcelAction()
204
  {
205
+ $fileName = 'imagegallery.xml';
206
+ $grid = $this->getLayout()->createBlock('bannerslider/adminhtml_imagegallery_grid');
207
  $this->_prepareDownloadResponse($fileName, $grid->getExcelFile($fileName));
208
  }
209
  }
app/code/community/Mks/Bannerslider/controllers/IndexController.php CHANGED
@@ -3,7 +3,7 @@ class Mks_Bannerslider_IndexController extends Mage_Core_Controller_Front_Action
3
  public function IndexAction() {
4
 
5
  $this->loadLayout();
6
- $this->getLayout()->getBlock("head")->setTitle($this->__("banner slider"));
7
  $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
  $breadcrumbs->addCrumb("home", array(
9
  "label" => $this->__("Home Page"),
@@ -11,9 +11,9 @@ class Mks_Bannerslider_IndexController extends Mage_Core_Controller_Front_Action
11
  "link" => Mage::getBaseUrl()
12
  ));
13
 
14
- $breadcrumbs->addCrumb("banner slider", array(
15
- "label" => $this->__("banner slider"),
16
- "title" => $this->__("banner slider")
17
  ));
18
 
19
  $this->renderLayout();
3
  public function IndexAction() {
4
 
5
  $this->loadLayout();
6
+ $this->getLayout()->getBlock("head")->setTitle($this->__("Bannerslider"));
7
  $breadcrumbs = $this->getLayout()->getBlock("breadcrumbs");
8
  $breadcrumbs->addCrumb("home", array(
9
  "label" => $this->__("Home Page"),
11
  "link" => Mage::getBaseUrl()
12
  ));
13
 
14
+ $breadcrumbs->addCrumb("bannerslider", array(
15
+ "label" => $this->__("Bannerslider"),
16
+ "title" => $this->__("Bannerslider")
17
  ));
18
 
19
  $this->renderLayout();
app/code/community/Mks/Bannerslider/etc/adminhtml.xml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <admin>
6
+ <children>
7
+ <system>
8
+ <children>
9
+ <config>
10
+ <children>
11
+ <imagegallerysection translate="title" module="bannerslider">
12
+ <title>General Setting Section</title>
13
+ <sort_order>0</sort_order>
14
+ </imagegallerysection>
15
+ </children>
16
+ </config>
17
+ </children>
18
+ </system>
19
+ </children>
20
+ </admin>
21
+ </resources>
22
+ </acl>
23
+ </config>
app/code/community/Mks/Bannerslider/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Mks_Bannerslider>
5
- <version>1.1.1</version>
6
  </Mks_Bannerslider>
7
  </modules>
8
  <frontend>
@@ -42,9 +42,9 @@
42
  <bannerslider_mysql4>
43
  <class>Mks_Bannerslider_Model_Mysql4</class>
44
  <entities>
45
- <popupgalleryslider>
46
  <table>popupgalleryslider</table>
47
- </popupgalleryslider>
48
  </entities>
49
  </bannerslider_mysql4>
50
  </models>
@@ -87,15 +87,15 @@
87
  <sort_order>100</sort_order>
88
  <children>
89
  <bannersliderbackend module="bannerslider">
90
- <title>Banner slider</title>
91
  <sort_order>0</sort_order>
92
  <action>bannerslider/adminhtml_bannersliderbackend</action>
93
  </bannersliderbackend>
94
- <popupgalleryslider module="bannerslider">
95
- <title>Manage Popupgalleryslider</title>
96
  <sort_order>0</sort_order>
97
- <action>bannerslider/adminhtml_popupgalleryslider</action>
98
- </popupgalleryslider>
99
  </children>
100
  </bannerslider>
101
  </menu>
@@ -111,12 +111,12 @@
111
  <sort_order>1000</sort_order>
112
  <children>
113
  <bannersliderbackend translate="title">
114
- <title>Banner slider</title>
115
  </bannersliderbackend>
116
- <popupgalleryslider translate="title">
117
- <title>Manage Popupgalleryslider</title>
118
  <sort_order>0</sort_order>
119
- </popupgalleryslider>
120
  </children>
121
  </bannerslider>
122
  </children>
2
  <config>
3
  <modules>
4
  <Mks_Bannerslider>
5
+ <version>8.1.1</version>
6
  </Mks_Bannerslider>
7
  </modules>
8
  <frontend>
42
  <bannerslider_mysql4>
43
  <class>Mks_Bannerslider_Model_Mysql4</class>
44
  <entities>
45
+ <imagegallery>
46
  <table>popupgalleryslider</table>
47
+ </imagegallery>
48
  </entities>
49
  </bannerslider_mysql4>
50
  </models>
87
  <sort_order>100</sort_order>
88
  <children>
89
  <bannersliderbackend module="bannerslider">
90
+ <title>About us</title>
91
  <sort_order>0</sort_order>
92
  <action>bannerslider/adminhtml_bannersliderbackend</action>
93
  </bannersliderbackend>
94
+ <imagegallery module="bannerslider">
95
+ <title>Manage Imagegallery</title>
96
  <sort_order>0</sort_order>
97
+ <action>bannerslider/adminhtml_imagegallery</action>
98
+ </imagegallery>
99
  </children>
100
  </bannerslider>
101
  </menu>
111
  <sort_order>1000</sort_order>
112
  <children>
113
  <bannersliderbackend translate="title">
114
+ <title>About us</title>
115
  </bannersliderbackend>
116
+ <imagegallery translate="title">
117
+ <title>Manage Imagegallery</title>
118
  <sort_order>0</sort_order>
119
+ </imagegallery>
120
  </children>
121
  </bannerslider>
122
  </children>
app/code/community/Mks/Bannerslider/etc/system.xml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <tabs>
4
+ <imagegallerytab translate="label" module="bannerslider">
5
+ <label>Mks Image gallery (Pop Up)</label>
6
+ <sort_order>0</sort_order>
7
+ </imagegallerytab>
8
+ </tabs>
9
+ <sections>
10
+ <imagegallerysection translate="label" module="bannerslider">
11
+ <label>General Setting</label>
12
+ <tab>imagegallerytab</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>0</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <imagegallerygroup translate="label">
20
+ <label>Gallery Setting</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>0</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <enable translate="label">
28
+ <label>Enable</label>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_yesno</source_model>
31
+ <sort_order>0</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ </enable>
36
+ <paggingstart translate="label">
37
+ <label>After Pagging Start</label>
38
+ <frontend_type>text</frontend_type>
39
+ <sort_order>0</sort_order>
40
+ <show_in_default>1</show_in_default>
41
+ <show_in_website>1</show_in_website>
42
+ <show_in_store>1</show_in_store>
43
+ <comment>5,10,15,20,25,30.....Default (15)</comment>
44
+ </paggingstart>
45
+ <rowitem translate="label">
46
+ <label>Number Of Row item</label>
47
+ <frontend_type>text</frontend_type>
48
+ <sort_order>0</sort_order>
49
+ <show_in_default>1</show_in_default>
50
+ <show_in_website>1</show_in_website>
51
+ <show_in_store>1</show_in_store>
52
+ <comment>3,4,5,6,7.......Default (5)</comment>
53
+ </rowitem>
54
+ </fields>
55
+ </imagegallerygroup>
56
+ </groups>
57
+ </imagegallerysection>
58
+ </sections>
59
+ </config>
app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-1.1.1.php DELETED
@@ -1,15 +0,0 @@
1
- <?php
2
- $installer = $this;
3
- $installer->startSetup();
4
- $sql=<<<SQLTEXT
5
- create table popupgalleryslider(id int not null auto_increment, title varchar(255), image varchar(255), url varchar(255), category varchar(100), description varchar(255),primary key(id));
6
-
7
-
8
- SQLTEXT;
9
-
10
- $installer->run($sql);
11
- //demo
12
- Mage::getModel('core/url_rewrite')->setId(null);
13
- //demo
14
- $installer->endSetup();
15
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Mks/Bannerslider/sql/bannerslider_setup/mysql4-install-8.1.1.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+ $sql=<<<SQLTEXT
5
+ create table {$this->getTable('popupgalleryslider')}(id int not null auto_increment, title varchar(255), image varchar(255), url varchar(255), description varchar(255), status varchar(100), primary key(id));
6
+
7
+
8
+ insert into {$this->getTable('popupgalleryslider')} (`title`,`image`,`description`,`url`,`status`) VALUES
9
+ ('Image gallery 1','bannerslider/imagegallery/3.jpg','Image gallery 1','www.google.com','0'),
10
+ ('Image gallery 2','bannerslider/imagegallery/4.jpg','Image gallery 2','www.google.com','0'),
11
+ ('Image gallery 3','bannerslider/imagegallery/5.jpg','Image gallery 3','www.google.com','0'),
12
+ ('Image gallery 4','bannerslider/imagegallery/6.jpg','Image gallery 4','www.google.com','0'),
13
+ ('Image gallery 5','bannerslider/imagegallery/7.jpg','Image gallery 5','www.google.com','0'),
14
+ ('Image gallery 6','bannerslider/imagegallery/8.jpg','Image gallery 6','www.google.com','0'),
15
+ ('Image gallery 7','bannerslider/imagegallery/9.jpg','Image gallery 7','www.google.com','0'),
16
+ ('Image gallery 8','bannerslider/imagegallery/10.jpg','Image gallery 8','www.google.com','0'),
17
+ ('Image gallery 9','bannerslider/imagegallery/11.jpg','Image gallery 9','www.google.com','0'),
18
+ ('Image gallery 10','bannerslider/imagegallery/2.jpg','Image gallery 10','www.google.com','0'),
19
+ ('Image gallery 11','bannerslider/imagegallery/3.jpg','Image gallery 11','www.google.com','0'),
20
+ ('Image gallery 12','bannerslider/imagegallery/4.jpg','Image gallery 12','www.google.com','0'),
21
+ ('Image gallery 13','bannerslider/imagegallery/5.jpg','Image gallery 13','www.google.com','0'),
22
+ ('Image gallery 14','bannerslider/imagegallery/6.jpg','Image gallery 14','www.google.com','0'),
23
+ ('Image gallery 15','bannerslider/imagegallery/7.jpg','Image gallery 15','www.google.com','0'),
24
+ ('Image gallery 16','bannerslider/imagegallery/8.jpg','Image gallery 16','www.google.com','0'),
25
+ ('Image gallery 17','bannerslider/imagegallery/9.jpg','Image gallery 17','www.google.com','0'),
26
+ ('Image gallery 18','bannerslider/imagegallery/10.jpg','Image gallery 18','www.google.com','0'),
27
+ ('Image gallery 19','bannerslider/imagegallery/11.jpg','Image gallery 19','www.google.com','0'),
28
+ ('Image gallery 20','bannerslider/imagegallery/2.jpg','Image gallery 20','www.google.com','0');
29
+
30
+ SQLTEXT;
31
+
32
+ $installer->run($sql);
33
+ //demo
34
+ //Mage::getModel('core/url_rewrite')->setId(null);
35
+ //demo
36
+ $installer->endSetup();
37
+
app/design/adminhtml/default/default/layout/bannerslider.xml CHANGED
@@ -5,9 +5,9 @@
5
  <block type="bannerslider/adminhtml_bannersliderbackend" name="bannersliderbackend" template="bannerslider/bannersliderbackend.phtml"/>
6
  </reference>
7
  </bannerslider_adminhtml_bannersliderbackend_index>
8
- <bannerslider_adminhtml_popupgalleryslider_index>
9
  <reference name="content">
10
- <block type="bannerslider/adminhtml_popupgalleryslider" name="popupgalleryslider" />
11
  </reference>
12
- </bannerslider_adminhtml_popupgalleryslider_index>
13
  </layout>
5
  <block type="bannerslider/adminhtml_bannersliderbackend" name="bannersliderbackend" template="bannerslider/bannersliderbackend.phtml"/>
6
  </reference>
7
  </bannerslider_adminhtml_bannersliderbackend_index>
8
+ <bannerslider_adminhtml_imagegallery_index>
9
  <reference name="content">
10
+ <block type="bannerslider/adminhtml_imagegallery" name="imagegallery" />
11
  </reference>
12
+ </bannerslider_adminhtml_imagegallery_index>
13
  </layout>
app/design/adminhtml/default/default/template/bannerslider/bannersliderbackend.phtml CHANGED
@@ -1,34 +1 @@
1
- This Magento image gallery extension free is compatible with all Magento stores. You can easily manage photo gallery on your site using this image gallery module.
2
- <br/><br/>
3
- <h1>Use block call on cms page </h1>
4
- <b>
5
- {{block type="imagegallery/imagegallery" name="imagegallery" template="imagegallery/test.phtml"}}
6
- </b>
7
- <br/>
8
- <br/>
9
- <h1>Features</h1>
10
- 1. Managing photos gellary (image galleries) <br/>
11
- 2. Easy uploading/removing photo galleries (multi-upload function) <br/>
12
- 3. Captions for all images Displaying image galleries in slideshows with beautiful modal dialogs (PrettyPhoto library)<br/>
13
- 4. SEO friendly image gallery URLs.<br/>
14
- 5. Easy to customize layout of the photo galleries through backend.<br/>
15
- 6. 100% Open source.<br/>
16
- 7. Easy to install and use.<br/>
17
- 8. Support all version.
18
- <br/>
19
- <h1>Support </h1>
20
- in.mukeshsaini@gmail.com<br/>
21
-
22
- <br/>
23
-
24
- <h1>Screenshot on Front-end</h1>
25
- <img src="http://trimurtyinfotech.com/project/testm/img/screenshot3.png" width="700"/><br/>
26
- <img src="http://trimurtyinfotech.com/project/testm/img/screenshot1.png" width="700"/><br/>
27
-
28
- <br/>
29
-
30
- <h1>Screenshot on Back-end</h1>
31
- <img src="http://trimurtyinfotech.com/project/testm/img/screenshot3admi1.png" width="700"/><br/>
32
- <img src="http://trimurtyinfotech.com/project/testm/img/screenshotadmin2.png" width="700"/><br/>
33
-
34
-
1
+ <iframe src="http://www.magentocommerce.com/magento-connect/developer/mukeshsaini" width="100%" height="1000"></iframe>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/layout/bannerslider.xml CHANGED
@@ -1,5 +1,5 @@
1
  <?xml version="1.0"?>
2
- <layout version="1.1.1">
3
  <bannerslider_index_index>
4
  <reference name="root">
5
  <action method="setTemplate"><template>page/1column.phtml</template></action>
1
  <?xml version="1.0"?>
2
+ <layout version="8.1.1">
3
  <bannerslider_index_index>
4
  <reference name="root">
5
  <action method="setTemplate"><template>page/1column.phtml</template></action>
app/design/frontend/base/default/template/bannerslider/index.phtml CHANGED
@@ -1,6 +1,16 @@
1
- <script src="<?php echo $this->getSkinUrl('bannersliderjs/jquery-1.2.6.noConflict.min.js'); ?>" type="text/javascript" ></script>
2
- <script type="text/javascript">
 
 
 
 
 
3
 
 
 
 
 
 
4
  jQuery.noConflict();
5
  function applyto(id) {
6
  var c= '#mks'+id
@@ -18,49 +28,9 @@ jQuery('#mks'+y).show();
18
  }
19
  </script>
20
 
21
-
22
- <style type="text/css">
23
- .blankdiv{background-color:#000;
24
- position:fixed;
25
- z-index: 9001;
26
- top:0px; height:100%;
27
- left:0px;
28
- width:100%; opacity: 0.65;
29
- filter:alpha(opacity=65);}
30
-
31
- #popupform{height: 100%;
32
- left: 0;
33
- padding: 15px;
34
- position: fixed;
35
- top: 0;
36
- width:97%;
37
- z-index: 10001;
38
- }
39
-
40
- #popupform .applyform{position:relative; overflow:auto;
41
- background-color:#fff;
42
- width:510px;
43
- height:500px; margin:5% auto auto auto;
44
- z-index: 9002; padding:10px; border:10px solid #7F3814; }
45
-
46
-
47
- #pclose{
48
-
49
-
50
- cursor: pointer;
51
- height: 25px;
52
- margin: 5% auto -6%;
53
- position: relative;
54
- right: -276px;
55
 
56
- top: 0;
57
- width: 25px;
58
- z-index: 9999;}
59
- </style>
60
  <?php
61
  $connection = Mage::getSingleton('core/resource')->getConnection('core_write');
62
-
63
-
64
  $sql = $connection->query("select * from popupgalleryslider");
65
  $nr = $connection->fetchOne( 'SELECT COUNT(*) AS count FROM popupgalleryslider' );
66
  //$sql = mysql_query("SELECT * FROM imagegallery");
@@ -73,7 +43,7 @@ if (isset($_GET['pn'])) { // Get pn from URL vars if it is present
73
  $pn = 1;
74
  }
75
 
76
- $itemsPerPage = 10;
77
 
78
  $lastPage = ceil($nr / $itemsPerPage);
79
 
@@ -140,6 +110,8 @@ if ($lastPage != "1"){
140
 
141
  <div style="margin-left:58px; margin-right:58px; padding:6px; background-color:#FFF; border:#999 1px solid;"><?php echo $paginationDisplay; ?></div>
142
 
 
 
143
  <?php
144
  $outputList = '';
145
  $vz=1;
@@ -153,6 +125,7 @@ $country = $row1["image"];
153
  $media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
154
  $img_src = $media_url.$country;
155
  ?>
 
156
  <div style="margin-left:64px;float:left;">
157
  <a href="javascript:void(0)" onclick="applyto('<?php echo $vz; ?>')"><img src="<?php echo $img_src; ?>" height="100" width="100" style="padding:10px;"></a>
158
  </div>
@@ -163,28 +136,40 @@ $img_src = $media_url.$country;
163
  <div id="popupform">
164
  <div class="blankdiv"></div>
165
  <div id="pclose" onclick="javascript:document.getElementById('<?php echo 'mks'.$vz; ?>').style.display='none'">
166
- <img src="<?php echo $this->getSkinUrl('bannersliderjs/close.png'); ?>" />
167
  </div>
168
  <div class="applyform">
169
  <p id="contactArea">
170
 
171
  <center>
172
- <a href="javascript:void(0)" onclick="applytoprev('<?php echo $vz; ?>' ,'<?php echo $vz-1; ?>')"><img src="<?php echo $this->getSkinUrl('bannersliderjs/left_1.png'); ?>" /></a>
173
  <img src="<?php echo $img_src; ?>" height="400" width="400" >
174
- <a href="javascript:void(0)" onclick="applytonext('<?php echo $vz; ?>' ,'<?php echo $vz+1; ?>')"><img src="<?php echo $this->getSkinUrl('bannersliderjs/right_1.png'); ?>" /></a>
175
  </center>
176
 
177
  </p>
178
  </div>
179
  </div>
180
  </div>
 
 
 
 
 
 
181
  <?php $vz++; }
182
  ?>
183
 
184
-
 
185
 
186
 
187
 
188
 
189
 
 
 
 
 
 
190
 
1
+ <?php $gallery_status=$this->getImagegalleryEnabled(); ?>
2
+ <?php $gallery_Paggingstar=$this->getImagegalleryPaggingstart(); ?>
3
+ <?php $gallery_Rowitem=$this->getImagegalleryRowitem(); ?>
4
+
5
+
6
+
7
+ <?php if($gallery_status==1){ ?>
8
 
9
+
10
+ <?php $cssurl = str_replace('index.php/','',$this->getUrl());?>
11
+ <script src="<?php echo $cssurl.'skin/frontend/base/default/bannerslider/js/jquery-1.2.6.noConflict.min.js'; ?>" type="text/javascript" ></script>
12
+ <link rel="stylesheet" type="text/css" href="<?php echo $cssurl.'skin/frontend/base/default/bannerslider/css/imagegallery.css'; ?>" media="all">
13
+ <script type="text/javascript">
14
  jQuery.noConflict();
15
  function applyto(id) {
16
  var c= '#mks'+id
28
  }
29
  </script>
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
 
 
 
 
32
  <?php
33
  $connection = Mage::getSingleton('core/resource')->getConnection('core_write');
 
 
34
  $sql = $connection->query("select * from popupgalleryslider");
35
  $nr = $connection->fetchOne( 'SELECT COUNT(*) AS count FROM popupgalleryslider' );
36
  //$sql = mysql_query("SELECT * FROM imagegallery");
43
  $pn = 1;
44
  }
45
 
46
+ $itemsPerPage = $gallery_Paggingstar;
47
 
48
  $lastPage = ceil($nr / $itemsPerPage);
49
 
110
 
111
  <div style="margin-left:58px; margin-right:58px; padding:6px; background-color:#FFF; border:#999 1px solid;"><?php echo $paginationDisplay; ?></div>
112
 
113
+ <table>
114
+ <tr>
115
  <?php
116
  $outputList = '';
117
  $vz=1;
125
  $media_url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);
126
  $img_src = $media_url.$country;
127
  ?>
128
+ <td>
129
  <div style="margin-left:64px;float:left;">
130
  <a href="javascript:void(0)" onclick="applyto('<?php echo $vz; ?>')"><img src="<?php echo $img_src; ?>" height="100" width="100" style="padding:10px;"></a>
131
  </div>
136
  <div id="popupform">
137
  <div class="blankdiv"></div>
138
  <div id="pclose" onclick="javascript:document.getElementById('<?php echo 'mks'.$vz; ?>').style.display='none'">
139
+ <img src="<?php echo $cssurl.'skin/frontend/base/default/bannerslider/images/close.png'; ?>" />
140
  </div>
141
  <div class="applyform">
142
  <p id="contactArea">
143
 
144
  <center>
145
+ <a href="javascript:void(0)" onclick="applytoprev('<?php echo $vz; ?>' ,'<?php echo $vz-1; ?>')"><img src="<?php echo $cssurl.'skin/frontend/base/default/bannerslider/images/left_1.png'; ?>" /></a>
146
  <img src="<?php echo $img_src; ?>" height="400" width="400" >
147
+ <a href="javascript:void(0)" onclick="applytonext('<?php echo $vz; ?>' ,'<?php echo $vz+1; ?>')"><img src="<?php echo $cssurl.'skin/frontend/base/default/bannerslider/images/right_1.png'; ?>" /></a>
148
  </center>
149
 
150
  </p>
151
  </div>
152
  </div>
153
  </div>
154
+ </td>
155
+ <?php
156
+ if($vz%$gallery_Rowitem==0){
157
+ echo '</tr><tr>';
158
+ }
159
+ ?>
160
  <?php $vz++; }
161
  ?>
162
 
163
+ </tr>
164
+ </table>
165
 
166
 
167
 
168
 
169
 
170
+ <?php } else { ?>
171
+
172
+ <h1 style="color:red;">Enable ( MKS IMAGE GALLERY (POP UP) ) Module via Admin = System -> Configuration-> General Setting </h1>
173
+
174
+ <?php } ?>
175
 
app/etc/modules/Mks_Bannerslider.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Mks_Bannerslider>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
- <version>1.1.1</version>
8
  </Mks_Bannerslider>
9
  </modules>
10
  </config>
4
  <Mks_Bannerslider>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
+ <version>8.1.1</version>
8
  </Mks_Bannerslider>
9
  </modules>
10
  </config>
media/bannerslider/imagegallery/10.jpg ADDED
Binary file
media/bannerslider/imagegallery/11.jpg ADDED
Binary file
media/bannerslider/imagegallery/2.jpg ADDED
Binary file
media/bannerslider/imagegallery/3.jpg ADDED
Binary file
media/bannerslider/imagegallery/4.jpg ADDED
Binary file
media/bannerslider/imagegallery/5.jpg ADDED
Binary file
media/bannerslider/imagegallery/6.jpg ADDED
Binary file
media/bannerslider/imagegallery/7.jpg ADDED
Binary file
media/bannerslider/imagegallery/8.jpg ADDED
Binary file
media/bannerslider/imagegallery/9.jpg ADDED
Binary file
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mks_Bannerslider</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>This Magento image gallery extension free is compatible with all Magento stores. You can easily manage photo gallery on your site using this image gallery module.</summary>
10
- <description>This Magento image gallery extension free is compatible with all Magento stores. You can easily manage photo gallery on your site using this image gallery module.</description>
11
- <notes>This Magento image gallery extension free is compatible with all Magento stores. You can easily manage photo gallery on your site using this image gallery module.</notes>
12
- <authors><author><name>mukesh kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
13
- <date>2013-12-18</date>
14
- <time>12:44:45</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Mks_Bannerslider.xml" hash="21a438370213d4ee8321f0e2a9b80dfd"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Bannerslider"><dir name="Block"><dir name="Adminhtml"><file name="Bannersliderbackend.php" hash="c4c6fb4b655fea0bd41834cbc0b380d3"/><dir name="Popupgalleryslider"><dir name="Edit"><file name="Form.php" hash="7f05e8a21adf5a40ac8484e8a1dc269f"/><dir name="Tab"><file name="Form.php" hash="8ce165e428974afe802dec35ffdf2bdd"/></dir><file name="Tabs.php" hash="a6292bc891d7e3f7d8ee322c6e75a295"/></dir><file name="Edit.php" hash="d21105722623068fe0d10aa549f67927"/><file name="Grid.php" hash="518f73c532cb1eeb821ad082c1a3603f"/></dir><file name="Popupgalleryslider.php" hash="cb98e19ab91a5ecc8a164c20087d8e7d"/></dir><file name="Index.php" hash="f3b2c62cab06bd80016b5eb867ac6c01"/></dir><dir name="Helper"><file name="Data.php" hash="78ef976446429483b21fafd68f74989b"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Popupgalleryslider"><file name="Collection.php" hash="54773c0bdcc261fdd6a50d92e713d987"/></dir><file name="Popupgalleryslider.php" hash="0d521fe717435258d495c4517c6ada6f"/></dir><file name="Popupgalleryslider.php" hash="3a17e4f6dfc26ff810db5a7b526c0e83"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersliderbackendController.php" hash="40e2c950f6d0029116834d220ec390e9"/><file name="PopupgallerysliderController.php" hash="77bc6a4a118d67617da23f91930b9239"/></dir><file name="IndexController.php" hash="4afb349a4a0e070bf887815ce994be87"/></dir><dir name="etc"><file name="config.xml" hash="200102cdbeb480988643903c307b8d57"/></dir><dir name="sql"><dir name="bannerslider_setup"><file name="mysql4-install-1.1.1.php" hash="b5d11306c7686944ed7ad2850f5d5331"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="bannerslider"><file name="index.phtml" hash="bdfc8b846ea0b91cae90e77045380bba"/></dir></dir><dir name="layout"><file name="bannerslider.xml" hash="494fce27de5f85bf05d00592b4b161ed"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="bannerslider"><file name="bannersliderbackend.phtml" hash="549e02bbd772d797078089d625adf057"/></dir></dir><dir name="layout"><file name="bannerslider.xml" hash="9c466e2c2128222f9506a92b40132f16"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="bannersliderjs"><file name="close.png" hash="7e1e4fe9697be548050b612c84df15d7"/><file name="jquery-1.2.6.noConflict.min.js" hash="34c0f327c9bd8215df7206bf57c2868f"/><file name="left_1.png" hash="70604f05151344b82eb8727bf917d992"/><file name="right_1.png" hash="8d90f2d7ba1b5ff56e093c5c48950cfd"/></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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mks_Bannerslider</name>
4
+ <version>8.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Banner Slider Fully Dynamic (Pop-up image gallery on cms page). always use Banner Slider</summary>
10
+ <description>Banner Slider Fully Dynamic (Pop-up image gallery on cms page). always use Banner Slider</description>
11
+ <notes>Add configuration setting</notes>
12
+ <authors><author><name>Mukesh Kumar saini</name><user>mukeshbagri</user><email>in.mukeshsaini@gmail.com</email></author></authors>
13
+ <date>2014-03-21</date>
14
+ <time>08:37:07</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Mks_Bannerslider.xml" hash="67606578b66a115849bde7920bb73c3c"/></dir></target><target name="magecommunity"><dir name="Mks"><dir name="Bannerslider"><dir name="Block"><dir name="Adminhtml"><file name="Bannersliderbackend.php" hash="c4c6fb4b655fea0bd41834cbc0b380d3"/><dir name="Imagegallery"><dir name="Edit"><file name="Form.php" hash="6bf611a29b6f43553b324cea6f299996"/><dir name="Tab"><file name="Form.php" hash="2a897f9391cef5a81faf0cee77dc4b51"/></dir><file name="Tabs.php" hash="947d52b2cf774dc10eb0249b51d03d6d"/></dir><file name="Edit.php" hash="4a0489c69b7830287e18edad35348ceb"/><file name="Grid.php" hash="7bbd1bae121f43a80faa3cbe4dae990b"/></dir><file name="Imagegallery.php" hash="5d7f22716646a9156b70a14c9e3cac35"/></dir><file name="Index.php" hash="51e40e2e1b2e593a40a4616bf14b5721"/></dir><dir name="Helper"><file name="Data.php" hash="78ef976446429483b21fafd68f74989b"/></dir><dir name="Model"><file name="Imagegallery.php" hash="7754ac88ef14e47ed6ae20bd6e5b3dee"/><dir name="Mysql4"><dir name="Imagegallery"><file name="Collection.php" hash="05ad344c19853775cc2defb6c02f43d5"/></dir><file name="Imagegallery.php" hash="f4a3ccb42c61c75d54ce07e1526e297a"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersliderbackendController.php" hash="2a19bc5dad2edb6de017c394d5616b00"/><file name="ImagegalleryController.php" hash="47103603a51c27efcf3072089ee9388b"/></dir><file name="IndexController.php" hash="a16f142d2046e4d5b21db1a3f58b1fbe"/></dir><dir name="etc"><file name="adminhtml.xml" hash="29856211718c298818eca603185065c5"/><file name="config.xml" hash="19f1dda334456dea239e9310bfad0ab7"/><file name="system.xml" hash="290dbeec94c2862d711cf8daf9849e12"/></dir><dir name="sql"><dir name="bannerslider_setup"><file name="mysql4-install-8.1.1.php" hash="acdf1e7b910770e8816604216b5d2399"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="bannerslider"><dir name="imagegallery"><file name="10.jpg" hash="e319bda7e5c57ec44604f57e4e432568"/><file name="11.jpg" hash="e319bda7e5c57ec44604f57e4e432568"/><file name="2.jpg" hash="50e1b25352e7a5438cfbea4c879a21bd"/><file name="3.jpg" hash="128aad6c96e9e1fbff279cd31ecc333d"/><file name="4.jpg" hash="7db4b1d19e73e8ce8f3d11de293d6b27"/><file name="5.jpg" hash="4c82a02693447cad4b9182defd8d0c5a"/><file name="6.jpg" hash="cb4985bf42b8848830b510ac8fa73232"/><file name="7.jpg" hash="b50f64182ba7094e72724b42b56c703b"/><file name="8.jpg" hash="3ed6b46a09a1faf5be74b70671944c66"/><file name="9.jpg" hash="17116b2c61f8e9b7d4f84a68da7eacc0"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bannerslider.xml" hash="86a5f0476c92402b9bb69f90fa33eb20"/></dir><dir name="template"><dir name="bannerslider"><file name="bannersliderbackend.phtml" hash="df18a76ac5d10cd61c8cd0b9fa2ee247"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="bannerslider.xml" hash="e1f2b2ebd80564049e52fc0b50d8008f"/></dir><dir name="template"><dir name="bannerslider"><file name="index.phtml" hash="00e4349bd96e170b598beba8da725d43"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="bannerslider"><dir name="css"><file name="imagegallery.css" hash="325242c5f63dd8788f01adfbbc7df495"/></dir><dir name="images"><file name="close.png" hash="7e1e4fe9697be548050b612c84df15d7"/><file name="left_1.png" hash="70604f05151344b82eb8727bf917d992"/><file name="right_1.png" hash="8d90f2d7ba1b5ff56e093c5c48950cfd"/></dir><dir name="js"><file name="jquery-1.2.6.noConflict.min.js" hash="34c0f327c9bd8215df7206bf57c2868f"/></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/bannerslider/css/imagegallery.css ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ .blankdiv{background-color:#000;
3
+ position:fixed;
4
+ z-index: 9001;
5
+ top:0px; height:100%;
6
+ left:0px;
7
+ width:100%; opacity: 0.65;
8
+ filter:alpha(opacity=65);}
9
+
10
+ #popupform{height: 100%;
11
+ left: 0;
12
+ padding: 15px;
13
+ position: fixed;
14
+ top: 0;
15
+ width:97%;
16
+ z-index: 10001;
17
+ }
18
+
19
+ #popupform .applyform{position:relative; overflow:auto;
20
+ background-color:#fff;
21
+ width:510px;
22
+ height:500px; margin:5% auto auto auto;
23
+ z-index: 9002; padding:10px; border:10px solid #7F3814; }
24
+
25
+
26
+ #pclose{
27
+
28
+
29
+ cursor: pointer;
30
+ height: 25px;
31
+ margin: 5% auto -6%;
32
+ position: relative;
33
+ right: -276px;
34
+
35
+ top: 0;
36
+ width: 25px;
37
+ z-index: 9999;}
38
+
skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/images}/close.png RENAMED
File without changes
skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/images}/left_1.png RENAMED
File without changes
skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/images}/right_1.png RENAMED
File without changes
skin/frontend/{default/default/bannersliderjs → base/default/bannerslider/js}/jquery-1.2.6.noConflict.min.js RENAMED
File without changes