Version Notes
Latest version
Download this release
Release Info
Developer | Netsol |
Extension | Netsol_Brand |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/Netsol/Brand/Block/Brandproductlist.php +4 -2
- app/code/community/Netsol/Brand/Block/Brandtoolbar.php +1 -1
- app/code/community/Netsol/Brand/Block/Navigation.php +7 -3
- app/code/community/Netsol/Brand/Block/Pager.php +4 -3
- app/code/community/Netsol/Brand/Controller/Router.php +10 -4
- app/code/community/Netsol/Brand/Helper/Data.php +17 -2
- app/code/community/Netsol/Brand/controllers/BrandController.php +11 -1
- app/code/community/Netsol/Brand/etc/config.xml +5 -3
- app/code/community/Netsol/Brand/etc/system.xml +16 -21
- app/code/community/Netsol/Brand/sql/brand_setup/{mysql4-install-1.0.0.php → mysql4-install-1.0.1.php} +0 -0
- app/design/frontend/base/default/layout/brand.xml +5 -2
- app/design/frontend/base/default/template/brand/brand.phtml +18 -4
- app/design/frontend/base/default/template/brand/brandfooter.phtml +5 -1
- app/design/frontend/base/default/template/brand/brandproductlist.phtml +7 -1
- app/design/frontend/base/default/template/brand/navigation/brandtopmenu.phtml +24 -9
- media/brand/559fcf3930cd3476a16d5d017b720df9.png +0 -0
- media/brand/d569c6cbe72a271dfd22164c14566be5.jpg +0 -0
- media/brand/default/index_gucci.jpg +0 -0
- media/brand/default/resize/120_200_index_gucci.jpg +0 -0
- media/brand/default/resize/120_66_index_gucci.jpg +0 -0
- media/brand/default/resize/120_66_small_image.jpg +0 -0
- media/brand/default/resize/146_66_index_gucci.jpg +0 -0
- media/brand/default/small_image.jpg +0 -0
- media/brand/f40eac8ab70f205f89a326cbb2f1f910.jpg +0 -0
- media/brand/fa11c3248c7deba29067b02b7b61134b.png +0 -0
- media/brand/index_gucci.jpg +0 -0
- media/brand/logo/462f990847682010d2acb48e14a8ff15.jpg +0 -0
- media/brand/logo/559fcf3930cd3476a16d5d017b720df9.png +0 -0
- media/brand/logo/d569c6cbe72a271dfd22164c14566be5.jpg +0 -0
- media/brand/logo/f40eac8ab70f205f89a326cbb2f1f910.jpg +0 -0
- media/brand/logo/fa11c3248c7deba29067b02b7b61134b.png +0 -0
- media/brand/logo/resize/120_200_559fcf3930cd3476a16d5d017b720df9.png +0 -0
- media/brand/logo/resize/120_200_d569c6cbe72a271dfd22164c14566be5.jpg +0 -0
- media/brand/logo/resize/120_200_f40eac8ab70f205f89a326cbb2f1f910.jpg +0 -0
- media/brand/logo/resize/120_200_fa11c3248c7deba29067b02b7b61134b.png +0 -0
- media/brand/logo/resize/120_66_462f990847682010d2acb48e14a8ff15.jpg +0 -0
- media/brand/logo/resize/120_66_559fcf3930cd3476a16d5d017b720df9.png +0 -0
- media/brand/logo/resize/120_66_d569c6cbe72a271dfd22164c14566be5.jpg +0 -0
- media/brand/logo/resize/120_66_f40eac8ab70f205f89a326cbb2f1f910.jpg +0 -0
- media/brand/logo/resize/120_66_fa11c3248c7deba29067b02b7b61134b.png +0 -0
- media/brand/logo/resize/146_66_559fcf3930cd3476a16d5d017b720df9.png +0 -0
- media/brand/logo/resize/146_66_d569c6cbe72a271dfd22164c14566be5.jpg +0 -0
- media/brand/logo/resize/146_66_f40eac8ab70f205f89a326cbb2f1f910.jpg +0 -0
- media/brand/logo/resize/146_66_fa11c3248c7deba29067b02b7b61134b.png +0 -0
- media/brand/logo/resize/300_400_f40eac8ab70f205f89a326cbb2f1f910.jpg +0 -0
- media/brand/logo/resize/300_400_fa11c3248c7deba29067b02b7b61134b.png +0 -0
- media/brand/resize/100_100_559fcf3930cd3476a16d5d017b720df9.png +0 -0
- media/brand/resize/100_100_d569c6cbe72a271dfd22164c14566be5.jpg +0 -0
- media/brand/resize/100_100_f40eac8ab70f205f89a326cbb2f1f910.jpg +0 -0
- media/brand/resize/100_100_fa11c3248c7deba29067b02b7b61134b.png +0 -0
- media/brand/resize/300_400_fa11c3248c7deba29067b02b7b61134b.png +0 -0
- package.xml +4 -4
- skin/frontend/base/default/images/netsol/brand/small_image.jpg +0 -0
app/code/community/Netsol/Brand/Block/Brandproductlist.php
CHANGED
@@ -52,7 +52,7 @@ class Netsol_Brand_Block_Brandproductlist extends Mage_Catalog_Block_Product_Lis
|
|
52 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
53 |
$path = $url->getPath();
|
54 |
|
55 |
-
$brandproducturlsuffix =
|
56 |
$brand_name = basename($path,$brandproducturlsuffix );
|
57 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
58 |
->addFieldToSelect('brand_id')
|
@@ -104,10 +104,12 @@ class Netsol_Brand_Block_Brandproductlist extends Mage_Catalog_Block_Product_Lis
|
|
104 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
105 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
106 |
$path = $url->getPath();
|
107 |
-
|
|
|
108 |
$brand_name = basename($path,$brandproducturlsuffix );
|
109 |
$brand_info = Mage::getModel('brand/brand')->getCollection()
|
110 |
->addFieldToFilter('name', $brand_name);
|
|
|
111 |
$brand_info = $brand_info->getFirstItem();
|
112 |
|
113 |
return $brand_info;
|
52 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
53 |
$path = $url->getPath();
|
54 |
|
55 |
+
$brandproducturlsuffix = '.html';
|
56 |
$brand_name = basename($path,$brandproducturlsuffix );
|
57 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
58 |
->addFieldToSelect('brand_id')
|
104 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
105 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
106 |
$path = $url->getPath();
|
107 |
+
|
108 |
+
$brandproducturlsuffix = '.html';
|
109 |
$brand_name = basename($path,$brandproducturlsuffix );
|
110 |
$brand_info = Mage::getModel('brand/brand')->getCollection()
|
111 |
->addFieldToFilter('name', $brand_name);
|
112 |
+
|
113 |
$brand_info = $brand_info->getFirstItem();
|
114 |
|
115 |
return $brand_info;
|
app/code/community/Netsol/Brand/Block/Brandtoolbar.php
CHANGED
@@ -87,7 +87,7 @@ class Netsol_Brand_Block_Brandtoolbar extends Mage_Catalog_Block_Product_List_To
|
|
87 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
88 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
89 |
$path = $url->getPath();
|
90 |
-
$brandproducturlsuffix =
|
91 |
$brand_name = basename($path,$brandproducturlsuffix );
|
92 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
93 |
->addFieldToSelect('brand_id')
|
87 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
88 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
89 |
$path = $url->getPath();
|
90 |
+
$brandproducturlsuffix = '.html';
|
91 |
$brand_name = basename($path,$brandproducturlsuffix );
|
92 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
93 |
->addFieldToSelect('brand_id')
|
app/code/community/Netsol/Brand/Block/Navigation.php
CHANGED
@@ -27,6 +27,10 @@ class Netsol_Brand_Block_Navigation extends Mage_Catalog_Block_Navigation{
|
|
27 |
public function Brandcustommenu($level = 0, $isLast = false, $isFirst = false,
|
28 |
$isOutermost = false, $outermostItemClass = '', $childrenWrapClass = '', $noEventAttributes = false){
|
29 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
|
|
|
|
|
|
|
|
30 |
$html = array();
|
31 |
|
32 |
// prepare list item html classes
|
@@ -57,8 +61,8 @@ class Netsol_Brand_Block_Navigation extends Mage_Catalog_Block_Navigation{
|
|
57 |
$attributes['class'] = implode(' ', $classes);
|
58 |
}
|
59 |
|
60 |
-
|
61 |
-
|
62 |
|
63 |
//print_r($attributes); exit;
|
64 |
// assemble list item with attributes
|
@@ -72,7 +76,7 @@ class Netsol_Brand_Block_Navigation extends Mage_Catalog_Block_Navigation{
|
|
72 |
$brandtitle = Mage::getStoreConfig('netsol_brand/settings/brand_title');
|
73 |
$brandMenuname = ($brandtitle == '') ? 'Brands' : $brandtitle;
|
74 |
$html[] = '<a href="'.Mage::getBaseUrl().$brandurl.'"'.$linkClass.'>';
|
75 |
-
$html[] = '<span>' . $brandMenuname . '</span>';
|
76 |
$html[] = '</a>';
|
77 |
|
78 |
$html[] = '</li>';
|
27 |
public function Brandcustommenu($level = 0, $isLast = false, $isFirst = false,
|
28 |
$isOutermost = false, $outermostItemClass = '', $childrenWrapClass = '', $noEventAttributes = false){
|
29 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
30 |
+
if($brandurl == '')
|
31 |
+
{
|
32 |
+
$brandurl = 'brand';
|
33 |
+
}
|
34 |
$html = array();
|
35 |
|
36 |
// prepare list item html classes
|
61 |
$attributes['class'] = implode(' ', $classes);
|
62 |
}
|
63 |
|
64 |
+
// $attributes['onmouseover'] = 'toggleMenu(this,1)';
|
65 |
+
// $attributes['onmouseout'] = 'toggleMenu(this,0)';
|
66 |
|
67 |
//print_r($attributes); exit;
|
68 |
// assemble list item with attributes
|
76 |
$brandtitle = Mage::getStoreConfig('netsol_brand/settings/brand_title');
|
77 |
$brandMenuname = ($brandtitle == '') ? 'Brands' : $brandtitle;
|
78 |
$html[] = '<a href="'.Mage::getBaseUrl().$brandurl.'"'.$linkClass.'>';
|
79 |
+
$html[] = '<span>' . ucwords($brandMenuname) . '</span>';
|
80 |
$html[] = '</a>';
|
81 |
|
82 |
$html[] = '</li>';
|
app/code/community/Netsol/Brand/Block/Pager.php
CHANGED
@@ -69,12 +69,13 @@ class Netsol_Brand_Block_Pager extends Mage_Page_Block_Html_Pager{
|
|
69 |
* @return Brand collection according to params
|
70 |
* */
|
71 |
public function getMyCollection(){
|
72 |
-
if (is_null($this->_myCollection))
|
|
|
73 |
$this->_myCollection = Mage::getModel('brand/brand')->getCollection();
|
74 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
75 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
76 |
$path = $url->getPath();
|
77 |
-
$brandproducturlsuffix =
|
78 |
$brand_name = basename($path,$brandproducturlsuffix );
|
79 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
80 |
->addFieldToSelect('brand_id')
|
@@ -87,7 +88,7 @@ class Netsol_Brand_Block_Pager extends Mage_Page_Block_Html_Pager{
|
|
87 |
->addAttributeToSelect('*')
|
88 |
->addAttributeToFilter('visibility', 4)
|
89 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()));
|
90 |
-
|
91 |
return $this->_myCollection;
|
92 |
|
93 |
}
|
69 |
* @return Brand collection according to params
|
70 |
* */
|
71 |
public function getMyCollection(){
|
72 |
+
if (is_null($this->_myCollection))
|
73 |
+
{
|
74 |
$this->_myCollection = Mage::getModel('brand/brand')->getCollection();
|
75 |
$currentUrl = $this->helper('core/url')->getCurrentUrl(false);
|
76 |
$url = Mage::getSingleton('core/url')->parseUrl($currentUrl);
|
77 |
$path = $url->getPath();
|
78 |
+
$brandproducturlsuffix = '.html';
|
79 |
$brand_name = basename($path,$brandproducturlsuffix );
|
80 |
$collections = Mage::getModel('brand/brand')->getCollection()
|
81 |
->addFieldToSelect('brand_id')
|
88 |
->addAttributeToSelect('*')
|
89 |
->addAttributeToFilter('visibility', 4)
|
90 |
->addAttributeToFilter($sAttributeName, array('eq' => $brand->getOptionId()));
|
91 |
+
}
|
92 |
return $this->_myCollection;
|
93 |
|
94 |
}
|
app/code/community/Netsol/Brand/Controller/Router.php
CHANGED
@@ -26,6 +26,12 @@ class Netsol_Brand_Controller_Router extends Mage_Core_Controller_Varien_Router_
|
|
26 |
*/
|
27 |
public function match(Zend_Controller_Request_Http $request)
|
28 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
//checking before even try to find out that current module
|
30 |
//should use this router
|
31 |
if (!$this->_beforeModuleMatch()) {
|
@@ -63,17 +69,17 @@ class Netsol_Brand_Controller_Router extends Mage_Core_Controller_Varien_Router_
|
|
63 |
return false;
|
64 |
}
|
65 |
}
|
66 |
-
|
67 |
-
if($module ==
|
68 |
|
69 |
-
if($p[1] && $p[0] ==
|
70 |
$module = 'brand';
|
71 |
$controller = 'brand';
|
72 |
$action = 'view';
|
73 |
$request->setModuleName($module);
|
74 |
$request->setControllerName($controller);
|
75 |
$request->setActionName($action);
|
76 |
-
}elseif($p[0] ==
|
77 |
$module = 'brand';
|
78 |
$controller = 'brand';
|
79 |
$action = 'index';
|
26 |
*/
|
27 |
public function match(Zend_Controller_Request_Http $request)
|
28 |
{
|
29 |
+
$moduleenabled = Mage::getStoreConfig('netsol_brand/settings/status');
|
30 |
+
$modulebrandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
31 |
+
if($modulebrandurl == '')
|
32 |
+
{
|
33 |
+
$modulebrandurl = 'brand';
|
34 |
+
}
|
35 |
//checking before even try to find out that current module
|
36 |
//should use this router
|
37 |
if (!$this->_beforeModuleMatch()) {
|
69 |
return false;
|
70 |
}
|
71 |
}
|
72 |
+
|
73 |
+
if(($module == $modulebrandurl) && $moduleenabled){
|
74 |
|
75 |
+
if($p[1] && $p[0] == $modulebrandurl ){
|
76 |
$module = 'brand';
|
77 |
$controller = 'brand';
|
78 |
$action = 'view';
|
79 |
$request->setModuleName($module);
|
80 |
$request->setControllerName($controller);
|
81 |
$request->setActionName($action);
|
82 |
+
}elseif($p[0] == $modulebrandurl){
|
83 |
$module = 'brand';
|
84 |
$controller = 'brand';
|
85 |
$action = 'index';
|
app/code/community/Netsol/Brand/Helper/Data.php
CHANGED
@@ -111,8 +111,10 @@ class Netsol_Brand_Helper_Data extends Mage_Core_Helper_Abstract{
|
|
111 |
* */
|
112 |
public function showTemplate()
|
113 |
{
|
|
|
114 |
if(Mage::app()->getLayout()->createBlock('page/html_topmenu')){
|
115 |
-
|
|
|
116 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetBlock('top.menu');
|
117 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetChild('catalog.topnav');
|
118 |
return 'brand/navigation/brandtopmenu.phtml';
|
@@ -121,7 +123,7 @@ class Netsol_Brand_Helper_Data extends Mage_Core_Helper_Abstract{
|
|
121 |
}
|
122 |
|
123 |
}else{
|
124 |
-
if (
|
125 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetBlock('top.menu');
|
126 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetChild('catalog.topnav');
|
127 |
return 'brand/navigation/brandtopmenu.phtml';
|
@@ -132,5 +134,18 @@ class Netsol_Brand_Helper_Data extends Mage_Core_Helper_Abstract{
|
|
132 |
}
|
133 |
}
|
134 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
|
136 |
}
|
111 |
* */
|
112 |
public function showTemplate()
|
113 |
{
|
114 |
+
$moduleenabled = Mage::getStoreConfig('netsol_brand/settings/status');
|
115 |
if(Mage::app()->getLayout()->createBlock('page/html_topmenu')){
|
116 |
+
|
117 |
+
if ($moduleenabled) {
|
118 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetBlock('top.menu');
|
119 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetChild('catalog.topnav');
|
120 |
return 'brand/navigation/brandtopmenu.phtml';
|
123 |
}
|
124 |
|
125 |
}else{
|
126 |
+
if ($moduleenabled) {
|
127 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetBlock('top.menu');
|
128 |
Mage::app()->getLayout()->getBlock('top.menu')->unsetChild('catalog.topnav');
|
129 |
return 'brand/navigation/brandtopmenu.phtml';
|
134 |
}
|
135 |
}
|
136 |
}
|
137 |
+
/**
|
138 |
+
* @return the featured brand when module and show in footer is enabled
|
139 |
+
* */
|
140 |
+
public function showFeaturedbrand()
|
141 |
+
{
|
142 |
+
$moduleenabled = Mage::getStoreConfig('netsol_brand/settings/status');
|
143 |
+
$showInfooter = Mage::getStoreConfig('netsol_brand/settings/show_in_footer');
|
144 |
+
|
145 |
+
if($moduleenabled && $showInfooter)
|
146 |
+
{
|
147 |
+
return 'brand/brandfooter.phtml';
|
148 |
+
}
|
149 |
+
}
|
150 |
|
151 |
}
|
app/code/community/Netsol/Brand/controllers/BrandController.php
CHANGED
@@ -70,11 +70,21 @@ class Netsol_Brand_BrandController extends Mage_Core_Controller_Front_Action{
|
|
70 |
$defaultlogourl = $this->getLayout()->createBlock('brand/brand')->resize('brand/default/','brand/default/resize/',$defaultlogo,$logowidth,$logoheight);
|
71 |
|
72 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
73 |
-
$
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
foreach($collections as $brand){
|
76 |
$logourl = $this->getLayout()->createBlock('brand/brand')->resize('brand/logo/','brand/logo/resize/',$brand['logo'],$logowidth,$logoheight);
|
77 |
$imageurl = ($brand['logo'] != '') ? $logourl : $defaultlogourl;
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
$response['brand_html'] .= '<li class="allbrand"><div id="brand"><a href="'.$brandurl.'/'.strtolower($brand['name']).trim($brandproducturlsuffix).'"><img class="brand_logo" src="'.$imageurl.'" /><h4 class="brandName">'.$brand['name'].'</h4></a></div></li>';
|
80 |
}
|
70 |
$defaultlogourl = $this->getLayout()->createBlock('brand/brand')->resize('brand/default/','brand/default/resize/',$defaultlogo,$logowidth,$logoheight);
|
71 |
|
72 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
73 |
+
if($brandurl == '')
|
74 |
+
{
|
75 |
+
$brandurl = 'brand';
|
76 |
+
}
|
77 |
+
$brandproducturlsuffix = '.html';
|
78 |
+
|
79 |
|
80 |
foreach($collections as $brand){
|
81 |
$logourl = $this->getLayout()->createBlock('brand/brand')->resize('brand/logo/','brand/logo/resize/',$brand['logo'],$logowidth,$logoheight);
|
82 |
$imageurl = ($brand['logo'] != '') ? $logourl : $defaultlogourl;
|
83 |
+
if($imageurl == '')
|
84 |
+
{
|
85 |
+
$defaultlogo = 'small_image.jpg';
|
86 |
+
$imageurl = $this->getLayout()->createBlock('brand/brand')->resize('brand/default/','brand/default/resize/',$defaultlogo,$logowidth,$logoheight);
|
87 |
+
}
|
88 |
|
89 |
$response['brand_html'] .= '<li class="allbrand"><div id="brand"><a href="'.$brandurl.'/'.strtolower($brand['name']).trim($brandproducturlsuffix).'"><img class="brand_logo" src="'.$imageurl.'" /><h4 class="brandName">'.$brand['name'].'</h4></a></div></li>';
|
90 |
}
|
app/code/community/Netsol/Brand/etc/config.xml
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Netsol_Brand>
|
25 |
-
<version>1.0.
|
26 |
</Netsol_Brand>
|
27 |
</modules>
|
28 |
<frontend>
|
@@ -141,8 +141,10 @@
|
|
141 |
<brand_metatag>Meta keywords for brand page</brand_metatag>
|
142 |
<brand_description>Meta Description for brand page</brand_description>
|
143 |
<logo_width>120</logo_width>
|
144 |
-
<logo_height>
|
145 |
-
<
|
|
|
|
|
146 |
</settings>
|
147 |
</netsol_brand>
|
148 |
</default>
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Netsol_Brand>
|
25 |
+
<version>1.0.1</version> <!-- Version of module -->
|
26 |
</Netsol_Brand>
|
27 |
</modules>
|
28 |
<frontend>
|
141 |
<brand_metatag>Meta keywords for brand page</brand_metatag>
|
142 |
<brand_description>Meta Description for brand page</brand_description>
|
143 |
<logo_width>120</logo_width>
|
144 |
+
<logo_height>60</logo_height>
|
145 |
+
<brand_image_width>100</brand_image_width>
|
146 |
+
<brand_image_height>100</brand_image_height>
|
147 |
+
<default_logo>default/small_image.jpg</default_logo>
|
148 |
</settings>
|
149 |
</netsol_brand>
|
150 |
</default>
|
app/code/community/Netsol/Brand/etc/system.xml
CHANGED
@@ -43,6 +43,7 @@
|
|
43 |
<show_in_website>1</show_in_website>
|
44 |
<show_in_store>1</show_in_store>
|
45 |
<comment>URL for brand page, by default the url will be www.domain.com/brand</comment>
|
|
|
46 |
</brand_url>
|
47 |
|
48 |
<brand_title translate="label">
|
@@ -78,17 +79,20 @@
|
|
78 |
<logo_width translate="label">
|
79 |
<label>Logo Width</label>
|
80 |
<frontend_type>text</frontend_type>
|
|
|
81 |
<sort_order>6</sort_order>
|
82 |
<show_in_default>1</show_in_default>
|
83 |
<show_in_website>1</show_in_website>
|
84 |
<show_in_store>1</show_in_store>
|
85 |
<comment>In pixel,Recommended 120 px</comment>
|
|
|
86 |
</logo_width>
|
87 |
|
88 |
|
89 |
<logo_height translate="label">
|
90 |
<label>Logo Height</label>
|
91 |
<frontend_type>text</frontend_type>
|
|
|
92 |
<sort_order>7</sort_order>
|
93 |
<show_in_default>1</show_in_default>
|
94 |
<show_in_website>1</show_in_website>
|
@@ -99,6 +103,7 @@
|
|
99 |
<brand_image_width translate="label">
|
100 |
<label>Base Image Width</label>
|
101 |
<frontend_type>text</frontend_type>
|
|
|
102 |
<sort_order>8</sort_order>
|
103 |
<show_in_default>1</show_in_default>
|
104 |
<show_in_website>1</show_in_website>
|
@@ -110,6 +115,7 @@
|
|
110 |
<brand_image_height translate="label">
|
111 |
<label>Base Image Height</label>
|
112 |
<frontend_type>text</frontend_type>
|
|
|
113 |
<sort_order>9</sort_order>
|
114 |
<show_in_default>1</show_in_default>
|
115 |
<show_in_website>1</show_in_website>
|
@@ -118,28 +124,18 @@
|
|
118 |
</brand_image_height>
|
119 |
|
120 |
<default_logo translate="label comment">
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
<show_in_default>1</show_in_default>
|
129 |
-
<show_in_website>1</show_in_website>
|
130 |
-
<show_in_store>1</show_in_store>
|
131 |
-
</default_logo>
|
132 |
-
|
133 |
-
<brand_product_suffix translate="label comment">
|
134 |
-
<label>Brand Product Page URL Suffix </label>
|
135 |
-
<frontend_type>text</frontend_type>
|
136 |
-
<sort_order>12</sort_order>
|
137 |
<show_in_default>1</show_in_default>
|
138 |
<show_in_website>1</show_in_website>
|
139 |
<show_in_store>1</show_in_store>
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
<show_in_footer translate="label">
|
144 |
<label>Show in footer</label>
|
145 |
<frontend_type>Select</frontend_type>
|
@@ -150,9 +146,8 @@
|
|
150 |
<show_in_website>1</show_in_website>
|
151 |
<show_in_store>1</show_in_store>
|
152 |
<comment>If yes, featured brands will be show in footer block</comment>
|
153 |
-
<validate>required-entry</validate>
|
154 |
</show_in_footer>
|
155 |
-
|
156 |
</fields>
|
157 |
|
158 |
</settings>
|
43 |
<show_in_website>1</show_in_website>
|
44 |
<show_in_store>1</show_in_store>
|
45 |
<comment>URL for brand page, by default the url will be www.domain.com/brand</comment>
|
46 |
+
<validate>validate-required</validate>
|
47 |
</brand_url>
|
48 |
|
49 |
<brand_title translate="label">
|
79 |
<logo_width translate="label">
|
80 |
<label>Logo Width</label>
|
81 |
<frontend_type>text</frontend_type>
|
82 |
+
<validate>required-entry</validate>
|
83 |
<sort_order>6</sort_order>
|
84 |
<show_in_default>1</show_in_default>
|
85 |
<show_in_website>1</show_in_website>
|
86 |
<show_in_store>1</show_in_store>
|
87 |
<comment>In pixel,Recommended 120 px</comment>
|
88 |
+
<validate>required-entry</validate>
|
89 |
</logo_width>
|
90 |
|
91 |
|
92 |
<logo_height translate="label">
|
93 |
<label>Logo Height</label>
|
94 |
<frontend_type>text</frontend_type>
|
95 |
+
<validate>required-entry</validate>
|
96 |
<sort_order>7</sort_order>
|
97 |
<show_in_default>1</show_in_default>
|
98 |
<show_in_website>1</show_in_website>
|
103 |
<brand_image_width translate="label">
|
104 |
<label>Base Image Width</label>
|
105 |
<frontend_type>text</frontend_type>
|
106 |
+
<validate>required-entry</validate>
|
107 |
<sort_order>8</sort_order>
|
108 |
<show_in_default>1</show_in_default>
|
109 |
<show_in_website>1</show_in_website>
|
115 |
<brand_image_height translate="label">
|
116 |
<label>Base Image Height</label>
|
117 |
<frontend_type>text</frontend_type>
|
118 |
+
<validate>required-entry</validate>
|
119 |
<sort_order>9</sort_order>
|
120 |
<show_in_default>1</show_in_default>
|
121 |
<show_in_website>1</show_in_website>
|
124 |
</brand_image_height>
|
125 |
|
126 |
<default_logo translate="label comment">
|
127 |
+
<label>Default Logo</label>
|
128 |
+
<comment>Allowed file types: jpeg, gif, png. If brand logo is not uploaded use default</comment>
|
129 |
+
<frontend_type>image</frontend_type>
|
130 |
+
<backend_model>adminhtml/system_config_backend_image</backend_model>
|
131 |
+
<upload_dir config="system/filesystem/media" scope_info="1">brand</upload_dir>
|
132 |
+
<base_url type="media" scope_info="1">brand</base_url>
|
133 |
+
<sort_order>11</sort_order>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
<show_in_default>1</show_in_default>
|
135 |
<show_in_website>1</show_in_website>
|
136 |
<show_in_store>1</show_in_store>
|
137 |
+
</default_logo>
|
138 |
+
|
|
|
139 |
<show_in_footer translate="label">
|
140 |
<label>Show in footer</label>
|
141 |
<frontend_type>Select</frontend_type>
|
146 |
<show_in_website>1</show_in_website>
|
147 |
<show_in_store>1</show_in_store>
|
148 |
<comment>If yes, featured brands will be show in footer block</comment>
|
|
|
149 |
</show_in_footer>
|
150 |
+
|
151 |
</fields>
|
152 |
|
153 |
</settings>
|
app/code/community/Netsol/Brand/sql/brand_setup/{mysql4-install-1.0.0.php → mysql4-install-1.0.1.php}
RENAMED
File without changes
|
app/design/frontend/base/default/layout/brand.xml
CHANGED
@@ -17,9 +17,12 @@
|
|
17 |
</reference>
|
18 |
<reference name="footer">
|
19 |
<block type="brand/brand" name="brandfooter" before="-">
|
20 |
-
<action method="setTemplate"
|
21 |
-
<template
|
22 |
</action>
|
|
|
|
|
|
|
23 |
</block>
|
24 |
</reference>
|
25 |
</default>
|
17 |
</reference>
|
18 |
<reference name="footer">
|
19 |
<block type="brand/brand" name="brandfooter" before="-">
|
20 |
+
<action method="setTemplate">
|
21 |
+
<template helper="brand/data/showFeaturedbrand"/>
|
22 |
</action>
|
23 |
+
<!--<action method="setTemplate" ifconfig="netsol_brand/settings/show_in_footer">
|
24 |
+
<template>brand/brandfooter.phtml</template>
|
25 |
+
</action>-->
|
26 |
</block>
|
27 |
</reference>
|
28 |
</default>
|
app/design/frontend/base/default/template/brand/brand.phtml
CHANGED
@@ -7,12 +7,20 @@ $logowidth = Mage::getStoreConfig('netsol_brand/settings/logo_width');
|
|
7 |
$logoheight = Mage::getStoreConfig('netsol_brand/settings/logo_height');
|
8 |
$defaultlogo = Mage::getStoreConfig('netsol_brand/settings/default_logo');
|
9 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
10 |
-
$
|
|
|
|
|
|
|
|
|
11 |
$brandtitle = Mage::getStoreConfig('netsol_brand/settings/brand_title');
|
|
|
|
|
|
|
|
|
12 |
$defaultlogo = str_replace("default/","",$defaultlogo);
|
13 |
?>
|
14 |
<div class="allBrands">
|
15 |
-
<h1><?php echo $brandtitle; ?></h1>
|
16 |
<div class="alphaBets">
|
17 |
<ul class="listing">
|
18 |
<?php foreach($search as $value){ ?>
|
@@ -31,7 +39,13 @@ $defaultlogo = str_replace("default/","",$defaultlogo);
|
|
31 |
<!--<a href="<?php echo Mage::getBaseUrl();?>brand/index/<?php echo strtolower($brand['name']).'.html'; ?>">
|
32 |
<img class="brand_logo" src="<?php echo ($brand['base_image']!='') ? $this->getBrandlogoimageurl().$brand['logo'] : $this->getdefaultImage(); ; ?>" /></a>-->
|
33 |
<a href="<?php echo Mage::getBaseUrl().$brandurl.'/'.strtolower($brand['name']).trim($brandproducturlsuffix); ?>" >
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
<h4 class="brandName"><?php echo $brand['name'] ?></h4>
|
36 |
</a>
|
37 |
</li>
|
@@ -78,7 +92,7 @@ if ( typeof jQuery == 'undefined')
|
|
78 |
});
|
79 |
}
|
80 |
script.type='text/javascript';
|
81 |
-
script.src='<?php echo $this->getSkinUrl('js/brand/jquery-1.10.2.min.js');?>';
|
82 |
document.getElementsByTagName('head')[0].appendChild(script)
|
83 |
}else{
|
84 |
jQuery(document).ready(function(){
|
7 |
$logoheight = Mage::getStoreConfig('netsol_brand/settings/logo_height');
|
8 |
$defaultlogo = Mage::getStoreConfig('netsol_brand/settings/default_logo');
|
9 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
10 |
+
if($brandurl == '')
|
11 |
+
{
|
12 |
+
$brandurl = 'brand';
|
13 |
+
}
|
14 |
+
$brandproducturlsuffix = '.html';
|
15 |
$brandtitle = Mage::getStoreConfig('netsol_brand/settings/brand_title');
|
16 |
+
if($brandtitle == '')
|
17 |
+
{
|
18 |
+
$brandtitle = 'brands';
|
19 |
+
}
|
20 |
$defaultlogo = str_replace("default/","",$defaultlogo);
|
21 |
?>
|
22 |
<div class="allBrands">
|
23 |
+
<h1><?php echo ucwords($brandtitle); ?></h1>
|
24 |
<div class="alphaBets">
|
25 |
<ul class="listing">
|
26 |
<?php foreach($search as $value){ ?>
|
39 |
<!--<a href="<?php echo Mage::getBaseUrl();?>brand/index/<?php echo strtolower($brand['name']).'.html'; ?>">
|
40 |
<img class="brand_logo" src="<?php echo ($brand['base_image']!='') ? $this->getBrandlogoimageurl().$brand['logo'] : $this->getdefaultImage(); ; ?>" /></a>-->
|
41 |
<a href="<?php echo Mage::getBaseUrl().$brandurl.'/'.strtolower($brand['name']).trim($brandproducturlsuffix); ?>" >
|
42 |
+
<?php if(($brand['logo'] != '') || ($defaultlogo != '')): ?>
|
43 |
+
<img class="brand_logo" src="<?php echo ($brand['logo'] != '') ? $this->resize('brand/logo/','brand/logo/resize/',$brand['logo'],$logowidth,$logoheight) : $this->resize('brand/default/','brand/default/resize/',$defaultlogo,$logowidth,$logoheight); ?>" />
|
44 |
+
<?php else:
|
45 |
+
$defaultlogo = 'small_image.jpg';
|
46 |
+
?>
|
47 |
+
<img class="brand_logo" src="<?php echo $this->resize('brand/default/','brand/default/resize/',$defaultlogo,$logowidth,$logoheight); ?>" />
|
48 |
+
<?php endif; ?>
|
49 |
<h4 class="brandName"><?php echo $brand['name'] ?></h4>
|
50 |
</a>
|
51 |
</li>
|
92 |
});
|
93 |
}
|
94 |
script.type='text/javascript';
|
95 |
+
script.src='<?php echo $this->getSkinUrl('js/netsol/brand/jquery-1.10.2.min.js');?>';
|
96 |
document.getElementsByTagName('head')[0].appendChild(script)
|
97 |
}else{
|
98 |
jQuery(document).ready(function(){
|
app/design/frontend/base/default/template/brand/brandfooter.phtml
CHANGED
@@ -9,8 +9,12 @@ $logowidth = Mage::getStoreConfig('netsol_brand/settings/logo_width');
|
|
9 |
$logoheight = Mage::getStoreConfig('netsol_brand/settings/logo_height');
|
10 |
$defaultlogo = Mage::getStoreConfig('netsol_brand/settings/default_logo');
|
11 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
12 |
-
$brandproducturlsuffix =
|
13 |
$defaultlogo = str_replace("default/","",$defaultlogo);
|
|
|
|
|
|
|
|
|
14 |
?>
|
15 |
<?php if(count($collections )): ?>
|
16 |
<div class="featurebrand">
|
9 |
$logoheight = Mage::getStoreConfig('netsol_brand/settings/logo_height');
|
10 |
$defaultlogo = Mage::getStoreConfig('netsol_brand/settings/default_logo');
|
11 |
$brandurl = Mage::getStoreConfig('netsol_brand/settings/brand_url');
|
12 |
+
$brandproducturlsuffix = '.html';
|
13 |
$defaultlogo = str_replace("default/","",$defaultlogo);
|
14 |
+
if($defaultlogo == '')
|
15 |
+
{
|
16 |
+
$defaultlogo = 'small_image.jpg';
|
17 |
+
}
|
18 |
?>
|
19 |
<?php if(count($collections )): ?>
|
20 |
<div class="featurebrand">
|
app/design/frontend/base/default/template/brand/brandproductlist.phtml
CHANGED
@@ -17,7 +17,13 @@ $defaultlogo = str_replace("default/","",$defaultlogo);
|
|
17 |
<h1 class="brand-name"><?php echo $brand_info->getName(); ?></h1>
|
18 |
<div class="brand-info">
|
19 |
<span class="brandinfo_baseimage">
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
</span>
|
22 |
<p class="brand-description"><?php echo $brand_info->getDescription(); ?></p>
|
23 |
</div>
|
17 |
<h1 class="brand-name"><?php echo $brand_info->getName(); ?></h1>
|
18 |
<div class="brand-info">
|
19 |
<span class="brandinfo_baseimage">
|
20 |
+
<?php if(($brand['logo'] != '') || ($defaultlogo != '')): ?>
|
21 |
+
<img class="brand_baseimage" src="<?php echo ($brand_info->getBaseImage() != '') ? $this->resize('brand/','brand/resize/',$brand_info->getBaseImage(),$baseimagewidth,$baseimageheight) : $this->resize('brand/default/','brand/default/resize/',$defaultlogo,$logowidth,$logoheight); ?>" />
|
22 |
+
<?php else:
|
23 |
+
$defaultlogo = 'small_image.jpg';
|
24 |
+
?>
|
25 |
+
<img class="brand_logo" src="<?php echo $this->resize('brand/default/','brand/default/resize/',$defaultlogo,$logowidth,$logoheight); ?>" />
|
26 |
+
<?php endif; ?>
|
27 |
</span>
|
28 |
<p class="brand-description"><?php echo $brand_info->getDescription(); ?></p>
|
29 |
</div>
|
app/design/frontend/base/default/template/brand/navigation/brandtopmenu.phtml
CHANGED
@@ -6,33 +6,48 @@
|
|
6 |
* */
|
7 |
$html = $this->Brandcustommenu(0,'level-top');
|
8 |
$enable = Mage::getStoreConfig('netsol_brand/settings/status');
|
|
|
9 |
?>
|
10 |
<?php if($enable == 1 ): ?>
|
11 |
<!---checking catalog navigation is not present-->
|
12 |
<?php if(Mage::app()->getLayout()->createBlock('page/html_topmenu')){?>
|
13 |
<?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
|
14 |
-
|
15 |
-
|
|
|
|
|
16 |
<ol class="nav-primary">
|
17 |
-
|
|
|
|
|
18 |
<?php echo $html ?>
|
19 |
</ol>
|
20 |
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
-
|
23 |
-
<?php endif ?>
|
24 |
<!---checking catalog navigation is not present-->
|
25 |
<?php }else{ ?>
|
26 |
<!---checking catalog navigation is present (magento old version)-->
|
27 |
<?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
|
28 |
-
|
29 |
<div class="nav-container">
|
30 |
<ul id="nav">
|
31 |
-
<?php
|
32 |
-
|
|
|
|
|
33 |
</ul>
|
34 |
</div>
|
35 |
-
<?php endif ?>
|
36 |
<!---checking catalog navigation is present (magento old version)-->
|
37 |
<?php } ?>
|
38 |
|
6 |
* */
|
7 |
$html = $this->Brandcustommenu(0,'level-top');
|
8 |
$enable = Mage::getStoreConfig('netsol_brand/settings/status');
|
9 |
+
$magentoDefaultpackage = Mage::getSingleton('core/design_package')->getPackageName();
|
10 |
?>
|
11 |
<?php if($enable == 1 ): ?>
|
12 |
<!---checking catalog navigation is not present-->
|
13 |
<?php if(Mage::app()->getLayout()->createBlock('page/html_topmenu')){?>
|
14 |
<?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
|
15 |
+
|
16 |
+
<?php if($magentoDefaultpackage == 'rwd'):?>
|
17 |
+
|
18 |
+
<nav id="nav">
|
19 |
<ol class="nav-primary">
|
20 |
+
<?php if($_menu): ?>
|
21 |
+
<?php echo $_menu ?>
|
22 |
+
<?php endif ?>
|
23 |
<?php echo $html ?>
|
24 |
</ol>
|
25 |
</nav>
|
26 |
+
|
27 |
+
<?php else: ?>
|
28 |
+
<div class="nav-container">
|
29 |
+
<ul id="nav">
|
30 |
+
<?php if($_menu): ?>
|
31 |
+
<?php echo $_menu ?>
|
32 |
+
<?php endif ?>
|
33 |
+
<?php echo $html ?>
|
34 |
+
</ul>
|
35 |
+
</div>
|
36 |
+
<?php endif; ?>
|
37 |
|
|
|
|
|
38 |
<!---checking catalog navigation is not present-->
|
39 |
<?php }else{ ?>
|
40 |
<!---checking catalog navigation is present (magento old version)-->
|
41 |
<?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
|
42 |
+
|
43 |
<div class="nav-container">
|
44 |
<ul id="nav">
|
45 |
+
<?php if($_menu): ?>
|
46 |
+
<?php echo $_menu ?>
|
47 |
+
<?php endif ?>
|
48 |
+
<?php echo $html ?>
|
49 |
</ul>
|
50 |
</div>
|
|
|
51 |
<!---checking catalog navigation is present (magento old version)-->
|
52 |
<?php } ?>
|
53 |
|
media/brand/559fcf3930cd3476a16d5d017b720df9.png
ADDED
Binary file
|
media/brand/d569c6cbe72a271dfd22164c14566be5.jpg
ADDED
Binary file
|
media/brand/default/index_gucci.jpg
ADDED
Binary file
|
media/brand/default/resize/120_200_index_gucci.jpg
ADDED
Binary file
|
media/brand/default/resize/120_66_index_gucci.jpg
ADDED
Binary file
|
media/brand/default/resize/120_66_small_image.jpg
ADDED
Binary file
|
media/brand/default/resize/146_66_index_gucci.jpg
ADDED
Binary file
|
media/brand/default/small_image.jpg
ADDED
Binary file
|
media/brand/f40eac8ab70f205f89a326cbb2f1f910.jpg
ADDED
Binary file
|
media/brand/fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
media/brand/index_gucci.jpg
ADDED
Binary file
|
media/brand/logo/462f990847682010d2acb48e14a8ff15.jpg
ADDED
Binary file
|
media/brand/logo/559fcf3930cd3476a16d5d017b720df9.png
ADDED
Binary file
|
media/brand/logo/d569c6cbe72a271dfd22164c14566be5.jpg
ADDED
Binary file
|
media/brand/logo/f40eac8ab70f205f89a326cbb2f1f910.jpg
ADDED
Binary file
|
media/brand/logo/fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
media/brand/logo/resize/120_200_559fcf3930cd3476a16d5d017b720df9.png
ADDED
Binary file
|
media/brand/logo/resize/120_200_d569c6cbe72a271dfd22164c14566be5.jpg
ADDED
Binary file
|
media/brand/logo/resize/120_200_f40eac8ab70f205f89a326cbb2f1f910.jpg
ADDED
Binary file
|
media/brand/logo/resize/120_200_fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
media/brand/logo/resize/120_66_462f990847682010d2acb48e14a8ff15.jpg
ADDED
Binary file
|
media/brand/logo/resize/120_66_559fcf3930cd3476a16d5d017b720df9.png
ADDED
Binary file
|
media/brand/logo/resize/120_66_d569c6cbe72a271dfd22164c14566be5.jpg
ADDED
Binary file
|
media/brand/logo/resize/120_66_f40eac8ab70f205f89a326cbb2f1f910.jpg
ADDED
Binary file
|
media/brand/logo/resize/120_66_fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
media/brand/logo/resize/146_66_559fcf3930cd3476a16d5d017b720df9.png
ADDED
Binary file
|
media/brand/logo/resize/146_66_d569c6cbe72a271dfd22164c14566be5.jpg
ADDED
Binary file
|
media/brand/logo/resize/146_66_f40eac8ab70f205f89a326cbb2f1f910.jpg
ADDED
Binary file
|
media/brand/logo/resize/146_66_fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
media/brand/logo/resize/300_400_f40eac8ab70f205f89a326cbb2f1f910.jpg
ADDED
Binary file
|
media/brand/logo/resize/300_400_fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
media/brand/resize/100_100_559fcf3930cd3476a16d5d017b720df9.png
ADDED
Binary file
|
media/brand/resize/100_100_d569c6cbe72a271dfd22164c14566be5.jpg
ADDED
Binary file
|
media/brand/resize/100_100_f40eac8ab70f205f89a326cbb2f1f910.jpg
ADDED
Binary file
|
media/brand/resize/100_100_fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
media/brand/resize/300_400_fa11c3248c7deba29067b02b7b61134b.png
ADDED
Binary file
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Netsol_Brand</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>The extension allows to create brand list, associate products with brands in brand product page as shop by brands.</description>
|
11 |
<notes>Latest version</notes>
|
12 |
<authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
-
<date>2015-06-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Netsol"><dir name="Brand"><dir name="Block"><dir name="Adminhtml"><dir name="Brand"><dir name="Edit"><file name="Form.php" hash="26a58a2b51846146edadb4ac73502769"/><dir name="Tab"><file name="Form.php" hash="272237823e9ed327291959f0168a0936"/></dir><file name="Tabs.php" hash="3a1478fcab034e84532f05f956109dc8"/></dir><file name="Edit.php" hash="3bd55292b615be5a7ef04f0727ae5ec1"/><file name="Grid.php" hash="670ac7bc6319e35efaac0b0d1a4808f0"/></dir><file name="Brand.php" hash="dacc2aeec25f2189dfe67f6f684e4002"/></dir><file name="Brand.php" hash="4292cd5bb6e4d77c82d53e8adbdc816b"/><file name="Brandproductlist.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Netsol_Brand</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License</license>
|
7 |
<channel>community</channel>
|
10 |
<description>The extension allows to create brand list, associate products with brands in brand product page as shop by brands.</description>
|
11 |
<notes>Latest version</notes>
|
12 |
<authors><author><name>Netsol</name><user>net_solutions</user><email>marketing@netsolutionsindia.com</email></author></authors>
|
13 |
+
<date>2015-06-30</date>
|
14 |
+
<time>11:16:23</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Netsol"><dir name="Brand"><dir name="Block"><dir name="Adminhtml"><dir name="Brand"><dir name="Edit"><file name="Form.php" hash="26a58a2b51846146edadb4ac73502769"/><dir name="Tab"><file name="Form.php" hash="272237823e9ed327291959f0168a0936"/></dir><file name="Tabs.php" hash="3a1478fcab034e84532f05f956109dc8"/></dir><file name="Edit.php" hash="3bd55292b615be5a7ef04f0727ae5ec1"/><file name="Grid.php" hash="670ac7bc6319e35efaac0b0d1a4808f0"/></dir><file name="Brand.php" hash="dacc2aeec25f2189dfe67f6f684e4002"/></dir><file name="Brand.php" hash="4292cd5bb6e4d77c82d53e8adbdc816b"/><file name="Brandproductlist.php" hash="04cd33d93cce595f7d56d992b25a6465"/><file name="Brandtoolbar.php" hash="6e023255fd3db961fb01e56492f71433"/><file name="Navigation.php" hash="2eb09111da8874bbb50bcccabea40c4b"/><file name="Pager.php" hash="3254db550d78391ab1c6b9958750418f"/></dir><dir name="Controller"><file name="Router.php" hash="628531a8d1659bfd8be5620849fdb4a7"/></dir><dir name="Helper"><file name="Data.php" hash="a61b2a333b7e851f73679a0a22560f28"/></dir><dir name="Model"><file name="Brand.php" hash="d1bfcb72930684caa7927df3121210eb"/><dir name="Mysql4"><dir name="Brand"><file name="Collection.php" hash="85accf1837e3b2a0d8a3f46de628b4f0"/></dir><file name="Brand.php" hash="80fc9fa242185e768a24975b5f675087"/></dir><file name="Observer.php" hash="62866e46984983ecba635ea819b56aac"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BrandController.php" hash="4028f0f8e050745eb54f51dc698d36a9"/></dir><file name="BrandController.php" hash="2de8b1e5676a681ef3001afa71aef40b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d0bf1ad1537d95a0a7c99ca06a500e83"/><file name="config.xml" hash="d66a1d42cf7a027d6c8ee297da014706"/><file name="system.xml" hash="b6fccd5043297a60ab02faabc5dfc8af"/></dir><dir name="sql"><dir name="brand_setup"><file name="mysql4-install-1.0.1.php" hash="642b8446f20a90b2f27e93c8c2335354"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Netsol_Brand.xml" hash="f29447ad362602b10aa9541800659d3b"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="brand.xml" hash="46065be13bf489cde337da911e91b8f7"/></dir><dir name="template"><dir name="brand"><file name="brand.phtml" hash="541ba4bf2348bb1de4bd9e883d54c5cc"/><file name="brandfooter.phtml" hash="6e80f0ac97c1c93761b2ebf71aa7bf73"/><file name="brandproductlist.phtml" hash="360f6bb84f89eeef4e9dd7a0d465723b"/><dir name="html"><file name="pager.phtml" hash="b5bdeff2c8da4fa27d270ec2d436cfed"/></dir><dir name="navigation"><file name="brandtopmenu.phtml" hash="c14607bb6ea363c5da0a3e690b126051"/></dir><dir name="toolbar"><file name="brandtoolbar.phtml" hash="246acc033aeb4b2cd3c41658e5b6a3a3"/><file name="pager.phtml" hash="b5bdeff2c8da4fa27d270ec2d436cfed"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="netsol"><dir name="brand"><file name="brand.css" hash="0d50eb5431f3edce2ba5ffcbc8667881"/><file name="jquery.bxslider.css" hash="22c455a0fb61b2a1e0a7dadd1f95e386"/><file name="tinycarousel.css" hash="ecad2eafca22937aba7cb5ec87fe9715"/></dir></dir></dir><dir name="images"><dir name="netsol"><dir name="brand"><file name="bullet.png" hash="117c0297bac6096d62702893e7d7b840"/><file name="bx_loader.gif" hash="931bdb6b50816b03206c66921760b246"/><file name="controls.png" hash="d9d25372f38c6b242b9b51d5841fe86e"/><file name="loading.gif" hash="3eb63d6867e720e525cca07b3e33afbc"/><file name="product_loader.gif" hash="03b6aa9d61525f4f9dd41512ea7134a4"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/></dir></dir></dir><dir name="js"><dir name="netsol"><dir name="brand"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery.js" hash="895323ed2f7258af4fae2c738c8aea49"/><file name="jquery.min.2.0.js" hash="2edc942c0bd2476be8967a9f788d9e26"/><file name="jquery.tinycarousel.js" hash="9929533999a59b11aa93dd23defdb599"/><file name="jquery.tinycarousel.min.js" hash="bc6db8635552859f87ea3a12fde7f2bf"/></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="brand"><file name="559fcf3930cd3476a16d5d017b720df9.png" hash="4ab46e58ad859ae1a156e2e21698aa1a"/><file name="d569c6cbe72a271dfd22164c14566be5.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><dir name="default"><file name="index_gucci.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><dir name="resize"><file name="120_200_index_gucci.jpg" hash="cd93c6c9ba59feb372170ad04b5cf253"/><file name="120_66_index_gucci.jpg" hash="8108c49eaec347f1b279d2bbf55e8c22"/><file name="120_66_small_image.jpg" hash="770c9e7d13d77b992c1c0aeec47889c0"/><file name="146_66_index_gucci.jpg" hash="71f6a5209574c4497b8b16f68e36e650"/></dir><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/></dir><file name="f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="c1a6cf2ac7e580ae6549ffdd8520c8bf"/><file name="fa11c3248c7deba29067b02b7b61134b.png" hash="fb92d5696a0ed74f8828e06d841d4a5a"/><file name="index_gucci.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><dir name="logo"><file name="462f990847682010d2acb48e14a8ff15.jpg" hash="c9c1b7bcdffdf4187b5bd4d9c4ac1135"/><file name="559fcf3930cd3476a16d5d017b720df9.png" hash="4ab46e58ad859ae1a156e2e21698aa1a"/><file name="d569c6cbe72a271dfd22164c14566be5.jpg" hash="4585f5b3f43488c71a4319eea933e7d4"/><file name="f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="c1a6cf2ac7e580ae6549ffdd8520c8bf"/><file name="fa11c3248c7deba29067b02b7b61134b.png" hash="fb92d5696a0ed74f8828e06d841d4a5a"/><dir name="resize"><file name="120_200_559fcf3930cd3476a16d5d017b720df9.png" hash="c60ef3c4113797b80a2aff2ce91cd6cb"/><file name="120_200_d569c6cbe72a271dfd22164c14566be5.jpg" hash="cd93c6c9ba59feb372170ad04b5cf253"/><file name="120_200_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="62a118ce2656370f1936a2689442199e"/><file name="120_200_fa11c3248c7deba29067b02b7b61134b.png" hash="5f15707a9669d6a6214d983421ea866b"/><file name="120_66_462f990847682010d2acb48e14a8ff15.jpg" hash="ab863adc17770c586c2f6b9220c8d483"/><file name="120_66_559fcf3930cd3476a16d5d017b720df9.png" hash="104dfc502f1eed7f16384e03d3a2c389"/><file name="120_66_d569c6cbe72a271dfd22164c14566be5.jpg" hash="8108c49eaec347f1b279d2bbf55e8c22"/><file name="120_66_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="ac9665d29d1b86a2405631ca60ef415b"/><file name="120_66_fa11c3248c7deba29067b02b7b61134b.png" hash="9b330fe7c906cd48cb18256b0016fabf"/><file name="146_66_559fcf3930cd3476a16d5d017b720df9.png" hash="4d228e3f072f6daf21682d2f09483360"/><file name="146_66_d569c6cbe72a271dfd22164c14566be5.jpg" hash="71f6a5209574c4497b8b16f68e36e650"/><file name="146_66_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="679eac56635b14cd0aed1cb1c379c96d"/><file name="146_66_fa11c3248c7deba29067b02b7b61134b.png" hash="680db626ff3b8076f4667cd3d2642f59"/><file name="300_400_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="307f9ce6599659909a36044c5e3af603"/><file name="300_400_fa11c3248c7deba29067b02b7b61134b.png" hash="40e64a74c1e2d5a3aede0e0047554c97"/></dir></dir><dir name="resize"><file name="100_100_559fcf3930cd3476a16d5d017b720df9.png" hash="01f879890c407953cd8c111165bf42ce"/><file name="100_100_d569c6cbe72a271dfd22164c14566be5.jpg" hash="fcbb7ff0b9216869ba695fbe2781d4fd"/><file name="100_100_f40eac8ab70f205f89a326cbb2f1f910.jpg" hash="7bf432c5bc434d363473bcdef5626baa"/><file name="100_100_fa11c3248c7deba29067b02b7b61134b.png" hash="f5fdc7862336fe59bc5b4abb4c820391"/><file name="300_400_fa11c3248c7deba29067b02b7b61134b.png" hash="40e64a74c1e2d5a3aede0e0047554c97"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
skin/frontend/base/default/images/netsol/brand/small_image.jpg
ADDED
Binary file
|