Version Notes
This module is use for image gallery with category.
Download this release
Release Info
Developer | Navneet |
Extension | SAG_Gallery |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- app/code/community/Sag/Gallery/Block/Category.php +41 -8
- app/code/community/Sag/Gallery/Block/Gallery.php +39 -4
- app/code/community/Sag/Gallery/controllers/CategoryController.php +10 -2
- app/code/community/Sag/Gallery/controllers/ImageController.php +11 -2
- app/code/community/Sag/Gallery/controllers/IndexController.php +12 -2
- app/code/community/Sag/Gallery/etc/config.xml +12 -4
- app/code/community/Sag/Gallery/etc/system.xml +84 -0
- app/design/frontend/base/default/layout/gallery.xml +10 -1
- app/design/frontend/base/default/template/gallery/category.phtml +26 -2
- app/design/frontend/base/default/template/gallery/gallery.phtml +25 -1
- package.xml +5 -4
app/code/community/Sag/Gallery/Block/Category.php
CHANGED
@@ -3,16 +3,49 @@ class Sag_Gallery_Block_Category extends Mage_Core_Block_Template
|
|
3 |
{
|
4 |
public function _prepareLayout()
|
5 |
{
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
8 |
|
9 |
-
public function getCategory()
|
10 |
-
{
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
|
18 |
/**
|
3 |
{
|
4 |
public function _prepareLayout()
|
5 |
{
|
6 |
+
parent::_prepareLayout();
|
7 |
+
|
8 |
+
if (!$this->hasData('category')) {
|
9 |
+
$collection = Mage::getModel('gallery/category')->getCollection();
|
10 |
+
$this->setCollection($collection);
|
11 |
+
|
12 |
+
//////////////////////// per page setting get value from configuration setting //////////////////////////////
|
13 |
+
$_module_cat_per_page = Mage::getStoreConfig('saggallery/general/gallery_cat_per_page',Mage::app()->getStore());
|
14 |
+
if($_module_cat_per_page==''){
|
15 |
+
$per_page = array(10=>10,20=>20,30=>30,'all'=>'all');
|
16 |
+
}else{
|
17 |
+
$ar = explode(',',$_module_cat_per_page);
|
18 |
+
for($i=0; $i<count($ar); $i++){
|
19 |
+
$val = $ar[$i];
|
20 |
+
$per_page[$val] = $val;
|
21 |
+
}
|
22 |
+
$per_page['all'] = 'all';
|
23 |
+
}
|
24 |
+
//////////////////////// per page setting get value from configuration setting //////////////////////////////
|
25 |
+
|
26 |
+
$pager = $this->getLayout()->createBlock('page/html_pager', 'custom.pager');
|
27 |
+
$pager->setAvailableLimit($per_page);
|
28 |
+
$pager->setCollection($this->getCollection());
|
29 |
+
$this->setChild('pager', $pager);
|
30 |
+
$this->getCollection()->load();
|
31 |
+
return $this;
|
32 |
+
}
|
33 |
}
|
34 |
|
35 |
+
//public function getCategory()
|
36 |
+
//{
|
37 |
+
// if (!$this->hasData('category')) {
|
38 |
+
// $this->setData('category', Mage::getModel('gallery/category')->getCollection());
|
39 |
+
// }
|
40 |
+
// return $this->getData('category');
|
41 |
+
//}
|
42 |
+
|
43 |
+
|
44 |
+
public function getPagerHtml()
|
45 |
+
{
|
46 |
+
return $this->getChildHtml('pager');
|
47 |
+
}
|
48 |
+
|
49 |
|
50 |
|
51 |
/**
|
app/code/community/Sag/Gallery/Block/Gallery.php
CHANGED
@@ -3,18 +3,53 @@ class Sag_Gallery_Block_Gallery extends Mage_Core_Block_Template
|
|
3 |
{
|
4 |
public function _prepareLayout()
|
5 |
{
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
8 |
|
9 |
-
public function getGallery()
|
10 |
{
|
11 |
if (!$this->hasData('gallery')) {
|
12 |
$current_cat =$this->getRequest()->getParam('cat');
|
|
|
13 |
$this->setData('gallery', Mage::getModel('gallery/gallery')->getCollection()->addFieldToFilter("category", $current_cat));
|
14 |
}
|
15 |
return $this->getData('gallery');
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
|
20 |
public function getImage()
|
3 |
{
|
4 |
public function _prepareLayout()
|
5 |
{
|
6 |
+
parent::_prepareLayout();
|
7 |
+
|
8 |
+
if (!$this->hasData('gallery')) {
|
9 |
+
$current_cat =$this->getRequest()->getParam('cat');
|
10 |
+
|
11 |
+
$collection = Mage::getModel('gallery/gallery')->getCollection()->addFieldToFilter("category", $current_cat);
|
12 |
+
$this->setCollection($collection);
|
13 |
+
|
14 |
+
//////////////////////// per page setting get value from configuration setting //////////////////////////////
|
15 |
+
$_module_img_item_per_page = Mage::getStoreConfig('saggallery/general/gallery_img_item_per_page',Mage::app()->getStore());
|
16 |
+
if($_module_img_item_per_page==''){
|
17 |
+
$per_page = array(10=>10,20=>20,30=>30,'all'=>'all');
|
18 |
+
}else{
|
19 |
+
$ar = explode(',',$_module_img_item_per_page);
|
20 |
+
for($i=0; $i<count($ar); $i++){
|
21 |
+
$val = $ar[$i];
|
22 |
+
$per_page[$val] = $val;
|
23 |
+
}
|
24 |
+
$per_page['all'] = 'all';
|
25 |
+
}
|
26 |
+
//////////////////////// per page setting get value from configuration setting //////////////////////////////
|
27 |
+
|
28 |
+
$pager = $this->getLayout()->createBlock('page/html_pager', 'custom.pager');
|
29 |
+
$pager->setAvailableLimit($per_page);
|
30 |
+
$pager->setCollection($this->getCollection());
|
31 |
+
$this->setChild('pager', $pager);
|
32 |
+
$this->getCollection()->load();
|
33 |
+
return $this;
|
34 |
+
}
|
35 |
}
|
36 |
|
37 |
+
/*public function getGallery()
|
38 |
{
|
39 |
if (!$this->hasData('gallery')) {
|
40 |
$current_cat =$this->getRequest()->getParam('cat');
|
41 |
+
|
42 |
$this->setData('gallery', Mage::getModel('gallery/gallery')->getCollection()->addFieldToFilter("category", $current_cat));
|
43 |
}
|
44 |
return $this->getData('gallery');
|
45 |
+
}*/
|
46 |
+
|
47 |
+
public function getPagerHtml()
|
48 |
+
{
|
49 |
+
return $this->getChildHtml('pager');
|
50 |
+
}
|
51 |
+
|
52 |
+
|
53 |
|
54 |
|
55 |
public function getImage()
|
app/code/community/Sag/Gallery/controllers/CategoryController.php
CHANGED
@@ -3,7 +3,15 @@ class Sag_Gallery_CategoryController extends Mage_Core_Controller_Front_Action
|
|
3 |
{
|
4 |
public function indexAction()
|
5 |
{
|
6 |
-
$
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
}
|
3 |
{
|
4 |
public function indexAction()
|
5 |
{
|
6 |
+
$_module_enabaled = Mage::getStoreConfig('saggallery/general/gallery_enabled_select_box',Mage::app()->getStore());
|
7 |
+
|
8 |
+
if($_module_enabaled==1){
|
9 |
+
$this->loadLayout();
|
10 |
+
$this->renderLayout();
|
11 |
+
}else{
|
12 |
+
$this->getResponse()->setHeader('HTTP/1.1','404 Not Found');
|
13 |
+
$this->getResponse()->setHeader('Status','404 File not found');
|
14 |
+
$this->_forward('defaultNoRoute');
|
15 |
+
}
|
16 |
}
|
17 |
}
|
app/code/community/Sag/Gallery/controllers/ImageController.php
CHANGED
@@ -3,7 +3,16 @@ class Sag_Gallery_ImageController extends Mage_Core_Controller_Front_Action
|
|
3 |
{
|
4 |
public function indexAction()
|
5 |
{
|
6 |
-
|
7 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
}
|
3 |
{
|
4 |
public function indexAction()
|
5 |
{
|
6 |
+
|
7 |
+
$_module_enabaled = Mage::getStoreConfig('saggallery/general/gallery_enabled_select_box',Mage::app()->getStore());
|
8 |
+
|
9 |
+
if($_module_enabaled==1){
|
10 |
+
$this->loadLayout();
|
11 |
+
$this->renderLayout();
|
12 |
+
}else{
|
13 |
+
$this->getResponse()->setHeader('HTTP/1.1','404 Not Found');
|
14 |
+
$this->getResponse()->setHeader('Status','404 File not found');
|
15 |
+
$this->_forward('defaultNoRoute');
|
16 |
+
}
|
17 |
}
|
18 |
}
|
app/code/community/Sag/Gallery/controllers/IndexController.php
CHANGED
@@ -3,7 +3,17 @@ class Sag_Gallery_IndexController extends Mage_Core_Controller_Front_Action
|
|
3 |
{
|
4 |
public function indexAction()
|
5 |
{
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
}
|
3 |
{
|
4 |
public function indexAction()
|
5 |
{
|
6 |
+
//$_module_enabaled = Mage::getStoreConfig('saggallery/general/gallery_enabled_select_box');
|
7 |
+
// we can use above comment line to get store config value
|
8 |
+
$_module_enabaled = Mage::getStoreConfig('saggallery/general/gallery_enabled_select_box',Mage::app()->getStore());
|
9 |
+
|
10 |
+
if($_module_enabaled==1){
|
11 |
+
$this->loadLayout();
|
12 |
+
$this->renderLayout();
|
13 |
+
}else{
|
14 |
+
$this->getResponse()->setHeader('HTTP/1.1','404 Not Found');
|
15 |
+
$this->getResponse()->setHeader('Status','404 File not found');
|
16 |
+
$this->_forward('defaultNoRoute');
|
17 |
+
}
|
18 |
}
|
19 |
}
|
app/code/community/Sag/Gallery/etc/config.xml
CHANGED
@@ -60,10 +60,18 @@
|
|
60 |
</all>
|
61 |
<admin>
|
62 |
<children>
|
63 |
-
<
|
64 |
-
<
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
</children>
|
68 |
</admin>
|
69 |
</resources>
|
60 |
</all>
|
61 |
<admin>
|
62 |
<children>
|
63 |
+
<system>
|
64 |
+
<children>
|
65 |
+
<config>
|
66 |
+
<children>
|
67 |
+
<saggallery translate="title">
|
68 |
+
<title>Sag Gallery</title>
|
69 |
+
<sort_order>1</sort_order>
|
70 |
+
</saggallery>
|
71 |
+
</children>
|
72 |
+
</config>
|
73 |
+
</children>
|
74 |
+
</system>
|
75 |
</children>
|
76 |
</admin>
|
77 |
</resources>
|
app/code/community/Sag/Gallery/etc/system.xml
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<gallery translate="label" module="gallery">
|
5 |
+
<label>SAG Gallery</label>
|
6 |
+
<sort_order>100</sort_order>
|
7 |
+
</gallery>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<saggallery translate="label" module="gallery">
|
11 |
+
<label>Extension Options</label>
|
12 |
+
<tab>gallery</tab>
|
13 |
+
<sort_order>1000</sort_order>
|
14 |
+
<show_in_default>1</show_in_default>
|
15 |
+
<show_in_website>1</show_in_website>
|
16 |
+
<show_in_store>1</show_in_store>
|
17 |
+
<groups>
|
18 |
+
<readme translate="label">
|
19 |
+
<label>Information about SAG infotech</label>
|
20 |
+
<frontend_type>text</frontend_type>
|
21 |
+
<sort_order>-1</sort_order>
|
22 |
+
<show_in_default>1</show_in_default>
|
23 |
+
<show_in_website>1</show_in_website>
|
24 |
+
<show_in_store>1</show_in_store>
|
25 |
+
<fields>
|
26 |
+
<information>
|
27 |
+
<label>About Company</label>
|
28 |
+
<comment>
|
29 |
+
<![CDATA[The Best Website Design, Web Application Development , web solutions Company backed by a team of creative and experienced web designers, web developers. Website: <a href="http://www.sagipl.com" target="_blank">sagipl.com</a> ]]>
|
30 |
+
</comment>
|
31 |
+
<frontend_type>label</frontend_type>
|
32 |
+
<sort_order>1</sort_order>
|
33 |
+
<show_in_default>1</show_in_default>
|
34 |
+
<show_in_website>1</show_in_website>
|
35 |
+
<show_in_store>1</show_in_store>
|
36 |
+
</information>
|
37 |
+
</fields>
|
38 |
+
</readme>
|
39 |
+
<general translate="label" module="gallery">
|
40 |
+
<label>General Extension Options</label>
|
41 |
+
<frontend_type>text</frontend_type>
|
42 |
+
<sort_order>1000</sort_order>
|
43 |
+
<show_in_default>1</show_in_default>
|
44 |
+
<show_in_website>1</show_in_website>
|
45 |
+
<show_in_store>1</show_in_store>
|
46 |
+
<fields>
|
47 |
+
<gallery_enabled_select_box translate="label">
|
48 |
+
<label>Enabled: </label>
|
49 |
+
<comment>Make extension enabled Yes/No</comment>
|
50 |
+
<frontend_type>select</frontend_type>
|
51 |
+
<sort_order>1</sort_order>
|
52 |
+
<show_in_default>1</show_in_default>
|
53 |
+
<show_in_website>1</show_in_website>
|
54 |
+
<show_in_store>1</show_in_store>
|
55 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
56 |
+
</gallery_enabled_select_box>
|
57 |
+
<gallery_cat_per_page translate="label">
|
58 |
+
<label>Categories per Page Allowed Values: </label>
|
59 |
+
<comment>Comma-separated. And default value is 10,20,30</comment>
|
60 |
+
<frontend_type>text</frontend_type>
|
61 |
+
<validate>validate-per-page-value-list</validate>
|
62 |
+
<sort_order>2</sort_order>
|
63 |
+
<show_in_default>1</show_in_default>
|
64 |
+
<show_in_website>1</show_in_website>
|
65 |
+
<show_in_store>1</show_in_store>
|
66 |
+
</gallery_cat_per_page>
|
67 |
+
<gallery_img_item_per_page translate="label">
|
68 |
+
<label>Image Items per Page Allowed Values: </label>
|
69 |
+
<comment>Comma-separated. And default value is 10,20,30</comment>
|
70 |
+
<frontend_type>text</frontend_type>
|
71 |
+
<validate>validate-per-page-value-list</validate>
|
72 |
+
<sort_order>3</sort_order>
|
73 |
+
<show_in_default>1</show_in_default>
|
74 |
+
<show_in_website>1</show_in_website>
|
75 |
+
<show_in_store>1</show_in_store>
|
76 |
+
</gallery_img_item_per_page>
|
77 |
+
|
78 |
+
|
79 |
+
</fields>
|
80 |
+
</general>
|
81 |
+
</groups>
|
82 |
+
</saggallery>
|
83 |
+
</sections>
|
84 |
+
</config>
|
app/design/frontend/base/default/layout/gallery.xml
CHANGED
@@ -1,7 +1,16 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="0.1.0">
|
3 |
<default>
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
<gallery_index_index>
|
6 |
<reference name="content">
|
7 |
<block type="gallery/category" name="category" template="gallery/category.phtml" />
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="0.1.0">
|
3 |
<default>
|
4 |
+
<reference name="top.links">
|
5 |
+
<action method="addLink" translate="label title">
|
6 |
+
<label>Gallery</label>
|
7 |
+
<url>gallery</url>
|
8 |
+
<title>Gallery</title>
|
9 |
+
<prepare>true</prepare>
|
10 |
+
<position>2</position>
|
11 |
+
</action>
|
12 |
+
</reference>
|
13 |
+
</default>
|
14 |
<gallery_index_index>
|
15 |
<reference name="content">
|
16 |
<block type="gallery/category" name="category" template="gallery/category.phtml" />
|
app/design/frontend/base/default/template/gallery/category.phtml
CHANGED
@@ -2,7 +2,30 @@
|
|
2 |
<h1><?php echo $this->__('Gallery') ?></h1>
|
3 |
</div>
|
4 |
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
<?php if($cnt > 0 ): ?>
|
7 |
<ul id="gallery_con">
|
8 |
<?php foreach ($this->getCategory() as $item): ?>
|
@@ -15,6 +38,7 @@
|
|
15 |
</li>
|
16 |
<?php endforeach; ?>
|
17 |
</ul>
|
|
|
18 |
<?php else: ?>
|
19 |
<div>There is no Category here</div>
|
20 |
-
<?php endif;
|
2 |
<h1><?php echo $this->__('Gallery') ?></h1>
|
3 |
</div>
|
4 |
|
5 |
+
|
6 |
+
<?php
|
7 |
+
$collection = $this->getCollection();
|
8 |
+
$cnt = count($collection);
|
9 |
+
if($cnt > 0 ):
|
10 |
+
?>
|
11 |
+
<?php echo $this->getPagerHtml(); ?>
|
12 |
+
<ul id="gallery_con">
|
13 |
+
<?php foreach ($collection as $item): ?>
|
14 |
+
<li>
|
15 |
+
<a class="image_gal" href="<?php echo Mage::getUrl('gallery');?>category/?cat=<?php echo $item->getCategoryId(); ?>">
|
16 |
+
<img src="<?php echo $this->resizeImage($item->getFilename(), 208, 230, ''); ?>" alt="<?php echo $item->getTitle(); ?>" />
|
17 |
+
</a>
|
18 |
+
<a class="link_gal" href="<?php echo Mage::getUrl('gallery');?>category/?cat=<?php echo $item->getCategoryId(); ?>"><?php echo $item->getTitle(); ?></a>
|
19 |
+
<!--<p><?php echo $item->getContent(); ?></p>-->
|
20 |
+
</li>
|
21 |
+
<?php endforeach; ?>
|
22 |
+
</ul>
|
23 |
+
<?php echo $this->getPagerHtml(); ?>
|
24 |
+
<?php else: ?>
|
25 |
+
<div>There is no Category here</div>
|
26 |
+
<?php endif; ?>
|
27 |
+
|
28 |
+
<?php /*?><?php $cnt = count($this->getCategory()); ?>
|
29 |
<?php if($cnt > 0 ): ?>
|
30 |
<ul id="gallery_con">
|
31 |
<?php foreach ($this->getCategory() as $item): ?>
|
38 |
</li>
|
39 |
<?php endforeach; ?>
|
40 |
</ul>
|
41 |
+
<?php echo $this->getPagerHtml(); ?>
|
42 |
<?php else: ?>
|
43 |
<div>There is no Category here</div>
|
44 |
+
<?php endif; ?><?php */?>
|
app/design/frontend/base/default/template/gallery/gallery.phtml
CHANGED
@@ -2,7 +2,30 @@
|
|
2 |
<h1><?php $this->getCategoryById(); ?></h1>
|
3 |
</div>
|
4 |
|
5 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
<?php if($cnt > 0 ): ?>
|
7 |
<ul id="gallery_con">
|
8 |
<?php foreach ($this->getGallery() as $item): ?>
|
@@ -17,3 +40,4 @@
|
|
17 |
<?php else: ?>
|
18 |
<div>There is no Images here</div>
|
19 |
<?php endif; ?>
|
|
2 |
<h1><?php $this->getCategoryById(); ?></h1>
|
3 |
</div>
|
4 |
|
5 |
+
<?php
|
6 |
+
$collection = $this->getCollection();
|
7 |
+
$cnt = count($collection);
|
8 |
+
if($cnt > 0 ):
|
9 |
+
?>
|
10 |
+
<?php echo $this->getPagerHtml(); ?>
|
11 |
+
<ul id="gallery_con">
|
12 |
+
<?php foreach ($collection as $item): ?>
|
13 |
+
<li>
|
14 |
+
<a class="image_gal" href="<?php echo Mage::getUrl('gallery');?>image/?img=<?php echo $item->getGalleryId(); ?>">
|
15 |
+
<img src="<?php echo $this->resizeImage($item->getFilename(), 208, 230, ''); ?>" alt="<?php echo $item->getTitle(); ?>" />
|
16 |
+
</a>
|
17 |
+
<a class="link_gal" href="<?php echo Mage::getUrl('gallery');?>image/?img=<?php echo $item->getGalleryId(); ?>"><?php echo $item->getTitle(); ?></a>
|
18 |
+
</li>
|
19 |
+
<?php endforeach; ?>
|
20 |
+
</ul>
|
21 |
+
<?php echo $this->getPagerHtml(); ?>
|
22 |
+
<?php else: ?>
|
23 |
+
<div>There is no Images here</div>
|
24 |
+
<?php endif; ?>
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
<?php /*?><?php $cnt = count($this->getGallery()); ?>
|
29 |
<?php if($cnt > 0 ): ?>
|
30 |
<ul id="gallery_con">
|
31 |
<?php foreach ($this->getGallery() as $item): ?>
|
40 |
<?php else: ?>
|
41 |
<div>There is no Images here</div>
|
42 |
<?php endif; ?>
|
43 |
+
<?php echo $this->getPagerHtml(); ?><?php */?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SAG_Gallery</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -13,6 +13,7 @@
|
|
13 |
<li>Gallery itself is very flexible and easily customizable</li>
|
14 |
<li>Easy to install</li>
|
15 |
</ul>
|
|
|
16 |
<h3>Steps:</h3>
|
17 |
<ul>
|
18 |
<li>Install module , Clear cache and logout, login again. Check admin menu bar , in menu bar Go to “<b>Gallery</b>“,here manage category and add images with desciription to these categories.</li>
|
@@ -20,9 +21,9 @@
|
|
20 |
</ul></description>
|
21 |
<notes>This module is use for image gallery with category.</notes>
|
22 |
<authors><author><name>Navneet</name><user>navneetkoshik</user><email>navneet.kshk@gmail.com</email></author></authors>
|
23 |
-
<date>
|
24 |
-
<time>
|
25 |
-
<contents><target name="magecommunity"><dir name="Sag"><dir name="Gallery"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="ae4e1e865699507d59185198fa5373e2"/><dir name="Tab"><file name="Form.php" hash="ae6d8213d6de8a5a3e89a952184e43d8"/></dir><file name="Tabs.php" hash="b466df74e5dbefe29b8e5054181adbe1"/></dir><file name="Edit.php" hash="38b819172609e8b8fa6944f6a5f31685"/><file name="Grid.php" hash="0454abf5427de1653c8ad402758f2e73"/></dir><file name="Category.php" hash="56f5839405fd45d80e32641ed44eb907"/><dir name="Gallery"><dir name="Edit"><file name="Form.php" hash="8f5337803feefaa888fb18f8aed78347"/><dir name="Tab"><file name="Form.php" hash="7a8ce812fd677bf75ec426d61f186f9a"/></dir><file name="Tabs.php" hash="b1939f938e840f2cd94164b25f3a0a77"/></dir><file name="Edit.php" hash="6131ec293f6e993c55d76f8a8c3fbcff"/><file name="Grid.php" hash="ee5f87edb9e31b4037f5b17005d9c655"/></dir><file name="Gallery.php" hash="b6c543541caceefb78eeb992f4eedbc0"/></dir><file name="Category.php" hash="
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SAG_Gallery</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
13 |
<li>Gallery itself is very flexible and easily customizable</li>
|
14 |
<li>Easy to install</li>
|
15 |
</ul>
|
16 |
+

|
17 |
<h3>Steps:</h3>
|
18 |
<ul>
|
19 |
<li>Install module , Clear cache and logout, login again. Check admin menu bar , in menu bar Go to “<b>Gallery</b>“,here manage category and add images with desciription to these categories.</li>
|
21 |
</ul></description>
|
22 |
<notes>This module is use for image gallery with category.</notes>
|
23 |
<authors><author><name>Navneet</name><user>navneetkoshik</user><email>navneet.kshk@gmail.com</email></author></authors>
|
24 |
+
<date>2014-04-14</date>
|
25 |
+
<time>06:35:32</time>
|
26 |
+
<contents><target name="magecommunity"><dir name="Sag"><dir name="Gallery"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="ae4e1e865699507d59185198fa5373e2"/><dir name="Tab"><file name="Form.php" hash="ae6d8213d6de8a5a3e89a952184e43d8"/></dir><file name="Tabs.php" hash="b466df74e5dbefe29b8e5054181adbe1"/></dir><file name="Edit.php" hash="38b819172609e8b8fa6944f6a5f31685"/><file name="Grid.php" hash="0454abf5427de1653c8ad402758f2e73"/></dir><file name="Category.php" hash="56f5839405fd45d80e32641ed44eb907"/><dir name="Gallery"><dir name="Edit"><file name="Form.php" hash="8f5337803feefaa888fb18f8aed78347"/><dir name="Tab"><file name="Form.php" hash="7a8ce812fd677bf75ec426d61f186f9a"/></dir><file name="Tabs.php" hash="b1939f938e840f2cd94164b25f3a0a77"/></dir><file name="Edit.php" hash="6131ec293f6e993c55d76f8a8c3fbcff"/><file name="Grid.php" hash="ee5f87edb9e31b4037f5b17005d9c655"/></dir><file name="Gallery.php" hash="b6c543541caceefb78eeb992f4eedbc0"/></dir><file name="Category.php" hash="0b6316a92e38dd60b18dc7e2ebfdbbbb"/><file name="Gallery.php" hash="0b75b1350a0aad239bf47264643600cf"/></dir><dir name="Helper"><file name="Data.php" hash="68299461670829942df1fbfed2996ebb"/></dir><dir name="Model"><file name="Category.php" hash="ad94aa40e2853e5d69417a8b53893077"/><file name="Gallery.php" hash="f52818d2009ca792b6ff27fc3905d45f"/><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="a3ced1fcab208e1d0f066967a6a79c9e"/></dir><file name="Category.php" hash="8f00a7d50e13a297c8ab4c324130126d"/><dir name="Gallery"><file name="Collection.php" hash="6a8f5d7b709bcc764d3ccdba3e366898"/></dir><file name="Gallery.php" hash="9bcec1d41f31b0bd138fb9b1154670c7"/></dir><file name="Status.php" hash="43d29bc98b39eb41fd8a03c7dcc33a5a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="6b61402a8d50013b8254e37af6f54908"/><file name="GalleryController.php" hash="b129e34f62b6f5ee31afe639222d7101"/></dir><file name="CategoryController.php" hash="588ab20ccad75c1f0279dc7cf8727b7c"/><file name="ImageController.php" hash="5ed2cb31648e4cf1838672df791b09c9"/><file name="IndexController.php" hash="3ae61c21308469939937ae4cc4ac5872"/></dir><dir name="etc"><file name="config.xml" hash="10478951de5b7605fd93b37533526411"/><file name="system.xml" hash="c6ccabb70fce8ffa7741984ef292f1f9"/></dir><dir name="sql"><dir name="category_setup"><file name="mysql4-install-0.1.0.php" hash="da8f1299b688a7565059e82c576287ab"/></dir><dir name="gallery_setup"><file name="mysql4-install-0.1.0.php" hash="6ab5c2a698a2031534e60ea880352ed2"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sag_Gallery.xml" hash="2dab763598742d9237fafbe568dfcc38"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="gallery.xml" hash="c351e1aaabe7eaed2d0d5bf7545e4d71"/></dir><dir name="template"><dir name="gallery"><file name="category.phtml" hash="58060f9959c44803b81ccfbebe2765bf"/><file name="gallery.phtml" hash="a4c89033be6f4e93bfefe2dd778c7bc0"/><file name="image.phtml" hash="0667cc4e29442da3fe6b9ea497164022"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="gallery.xml" hash="3e5a43a322b36052bccea22a5607fb89"/></dir></dir></dir></dir></target></contents>
|
27 |
<compatible/>
|
28 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
29 |
</package>
|