CommerceLab_News - Version 1.0.3

Version Notes

Version number: 1.0.3
Stability: Stable
Compatibility: 1.4, 1.5, 1.6, 1.7

Download this release

Release Info

Developer Magento Core Team
Extension CommerceLab_News
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2.2 to 1.0.3

EULA.pdf ADDED
Binary file
News 2.2 - User Guide.pdf ADDED
Binary file
app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit.php CHANGED
@@ -36,6 +36,7 @@ class CommerceLab_News_Block_Adminhtml_News_Edit extends Mage_Adminhtml_Block_Wi
36
 
37
  $this->_formScripts[] = "
38
  function toggleEditor() {
 
39
  if (tinyMCE.getInstanceById('block_content') == null) {
40
  tinyMCE.execCommand('mceAddControl', false, 'block_content');
41
  } else {
36
 
37
  $this->_formScripts[] = "
38
  function toggleEditor() {
39
+ tinyMCE.execCommand('mceAddControl', false, 'block_content');
40
  if (tinyMCE.getInstanceById('block_content') == null) {
41
  tinyMCE.execCommand('mceAddControl', false, 'block_content');
42
  } else {
app/code/community/CommerceLab/News/Block/News.php CHANGED
@@ -23,6 +23,7 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
23
  protected $_itemsLimit;
24
  protected $_pages;
25
  protected $_latestItemsCount = 2;
 
26
 
27
  protected function _construct()
28
  {
@@ -63,7 +64,7 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
63
  array(
64
  'label'=>Mage::helper('clnews')->__('Home'),
65
  'title'=>Mage::helper('clnews')->__('Go to Home Page'),
66
- 'link'=> Mage::getBaseUrl()));
67
  $newsBreadCrumb = array(
68
  'label'=>Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title')),
69
  'title'=>Mage::helper('clnews')->__('Return to ' .Mage::helper('clnews')->__('News')),
@@ -118,6 +119,7 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
118
 
119
  public function getNewsItems()
120
  {
 
121
  $collection = Mage::getModel('clnews/news')->getCollection();
122
 
123
  $category = $this->getCategoryKey();
@@ -212,7 +214,7 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
212
  ->setOrder('sort_id', 'asc');
213
 
214
  foreach ($collection as $item) {
215
- $item->setLink(Mage::getBaseUrl().$this->getAlias().'/category/'.$item->getUrlKey().'.html');
216
  }
217
  return $collection;
218
  }
@@ -297,4 +299,13 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
297
  }
298
  return null;
299
  }
 
 
 
 
 
 
 
 
 
300
  }
23
  protected $_itemsLimit;
24
  protected $_pages;
25
  protected $_latestItemsCount = 2;
26
+ protected $_showFlag = 0;
27
 
28
  protected function _construct()
29
  {
64
  array(
65
  'label'=>Mage::helper('clnews')->__('Home'),
66
  'title'=>Mage::helper('clnews')->__('Go to Home Page'),
67
+ 'link'=> Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB)));
68
  $newsBreadCrumb = array(
69
  'label'=>Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title')),
70
  'title'=>Mage::helper('clnews')->__('Return to ' .Mage::helper('clnews')->__('News')),
119
 
120
  public function getNewsItems()
121
  {
122
+ $this->_showFlag = 1;
123
  $collection = Mage::getModel('clnews/news')->getCollection();
124
 
125
  $category = $this->getCategoryKey();
214
  ->setOrder('sort_id', 'asc');
215
 
216
  foreach ($collection as $item) {
217
+ $item->setLink(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).$this->getAlias().'/category/'.$item->getUrlKey().Mage::helper('clnews')->getNewsitemUrlSuffix());
218
  }
219
  return $collection;
220
  }
299
  }
300
  return null;
301
  }
302
+
303
+ protected function _toHtml()
304
+ {
305
+ $html = parent::_toHtml();
306
+ if ($this->_showFlag==1) {
307
+ $html = $html.'<div align="right" class="clcopyright">&copy Developed by <a href="http://commerce-lab.com/">CommerceLab</div>';
308
+ }
309
+ return $html;
310
+ }
311
  }
app/code/community/CommerceLab/News/Block/Newsitem.php CHANGED
@@ -40,20 +40,23 @@ class CommerceLab_News_Block_Newsitem extends Mage_Core_Block_Template
40
  if ($head = $this->getLayout()->getBlock('head')) {
41
  $newsitem = $this->getNewsItem();
42
 
 
 
 
43
  $showBreadcrumbs = (int)Mage::getStoreConfig('clnews/news/showbreadcrumbs');
44
  if ($showBreadcrumbs && ($breadcrumbs = $this->getLayout()->getBlock('breadcrumbs'))) {
45
  $breadcrumbs->addCrumb('home',
46
  array(
47
  'label'=>Mage::helper('clnews')->__('Home'),
48
  'title'=>Mage::helper('clnews')->__('Go to Home Page'),
49
- 'link'=>Mage::getBaseUrl()
50
  ));
51
 
52
  $breadcrumbs->addCrumb('news',
53
  array(
54
  'label'=>Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title')),
55
  'title'=>Mage::helper('clnews')->__('Return to %s', Mage::helper('clnews')->__('News')),
56
- 'link'=>Mage::getUrl(Mage::helper('clnews')->getRoute())
57
  ));
58
 
59
  if ($category = $newsitem->getCategory()) {
@@ -61,7 +64,7 @@ class CommerceLab_News_Block_Newsitem extends Mage_Core_Block_Template
61
  array(
62
  'label' => $category->getTitle(),
63
  'title' => Mage::helper('clnews')->__('Return to %s', $category->getTitle()),
64
- 'link' => Mage::getBaseUrl().Mage::helper('clnews')->getRoute().'/category/'.$category->getUrlKey().'.html'
65
  ));
66
  }
67
 
@@ -119,7 +122,7 @@ class CommerceLab_News_Block_Newsitem extends Mage_Core_Block_Template
119
  {
120
  $newsitem = $this->getNewsItem();
121
  if ($category = $newsitem->getCategory()) {
122
- return Mage::getBaseUrl().Mage::helper('clnews')->getRoute().'/category/'.$category->getUrlKey().'.html';
123
  } else {
124
  return $this->getUrl(Mage::helper('clnews')->getRoute());
125
  }
@@ -255,4 +258,10 @@ class CommerceLab_News_Block_Newsitem extends Mage_Core_Block_Template
255
  //$html = $this->getMessagesBlock()->getGroupedHtml() . $html;
256
  return $html;
257
  }
 
 
 
 
 
 
258
  }
40
  if ($head = $this->getLayout()->getBlock('head')) {
41
  $newsitem = $this->getNewsItem();
42
 
43
+ if ($newsitem==null) {
44
+ return;
45
+ }
46
  $showBreadcrumbs = (int)Mage::getStoreConfig('clnews/news/showbreadcrumbs');
47
  if ($showBreadcrumbs && ($breadcrumbs = $this->getLayout()->getBlock('breadcrumbs'))) {
48
  $breadcrumbs->addCrumb('home',
49
  array(
50
  'label'=>Mage::helper('clnews')->__('Home'),
51
  'title'=>Mage::helper('clnews')->__('Go to Home Page'),
52
+ 'link'=>Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB)
53
  ));
54
 
55
  $breadcrumbs->addCrumb('news',
56
  array(
57
  'label'=>Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title')),
58
  'title'=>Mage::helper('clnews')->__('Return to %s', Mage::helper('clnews')->__('News')),
59
+ 'link'=> Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).Mage::helper('clnews')->getRoute().'/'
60
  ));
61
 
62
  if ($category = $newsitem->getCategory()) {
64
  array(
65
  'label' => $category->getTitle(),
66
  'title' => Mage::helper('clnews')->__('Return to %s', $category->getTitle()),
67
+ 'link' => Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).Mage::helper('clnews')->getRoute().'/category/'.$category->getUrlKey().Mage::helper('clnews')->getNewsitemUrlSuffix()
68
  ));
69
  }
70
 
122
  {
123
  $newsitem = $this->getNewsItem();
124
  if ($category = $newsitem->getCategory()) {
125
+ return Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).Mage::helper('clnews')->getRoute().'/category/'.$category->getUrlKey().Mage::helper('clnews')->getNewsitemUrlSuffix();
126
  } else {
127
  return $this->getUrl(Mage::helper('clnews')->getRoute());
128
  }
258
  //$html = $this->getMessagesBlock()->getGroupedHtml() . $html;
259
  return $html;
260
  }
261
+
262
+ protected function _toHtml()
263
+ {
264
+ $html = parent::_toHtml();
265
+ return $html.'<div align="right" class="clcopyright">&copy Developed by <a href="http://commerce-lab.com/">CommerceLab</div>';
266
+ }
267
  }
app/code/community/CommerceLab/News/Controller/Router.php CHANGED
@@ -44,8 +44,7 @@ class CommerceLab_News_Controller_Router extends Mage_Core_Controller_Varien_Rou
44
 
45
 
46
  $identifier = substr_replace($request->getPathInfo(), '', 0, strlen("/" . $route. "/"));
47
- $identifier = str_replace('.html', '', $identifier);
48
- $identifier = str_replace('.htm', '', $identifier);
49
 
50
  if (substr($request->getPathInfo(), 0, 7) !== '/clnews') {
51
  if ($identifier == '') {
44
 
45
 
46
  $identifier = substr_replace($request->getPathInfo(), '', 0, strlen("/" . $route. "/"));
47
+ $identifier = str_replace(Mage::helper('clnews')->getNewsitemUrlSuffix(), '', $identifier);
 
48
 
49
  if (substr($request->getPathInfo(), 0, 7) !== '/clnews') {
50
  if ($identifier == '') {
app/code/community/CommerceLab/News/Helper/Data.php CHANGED
@@ -178,4 +178,9 @@ class CommerceLab_News_Helper_Data extends Mage_Core_Helper_Abstract
178
 
179
  return $urlKey;
180
  }
 
 
 
 
 
181
  }
178
 
179
  return $urlKey;
180
  }
181
+
182
+ public function getNewsitemUrlSuffix()
183
+ {
184
+ return Mage::getStoreConfig('clnews/news/itemurlsuffix');
185
+ }
186
  }
app/code/community/CommerceLab/News/Model/News.php CHANGED
@@ -24,9 +24,9 @@ class CommerceLab_News_Model_News extends Mage_Core_Model_Abstract
24
 
25
  public function getUrl($category = '') {
26
  if ($category) {
27
- $url = Mage::getBaseUrl().Mage::helper('clnews')->getRoute().'/'.$category.'/'.$this->getUrlKey().'.html';
28
  } else {
29
- $url = Mage::getBaseUrl().Mage::helper('clnews')->getRoute().'/'.$this->getUrlKey().'.html';
30
  }
31
  return $url;
32
  }
24
 
25
  public function getUrl($category = '') {
26
  if ($category) {
27
+ $url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).Mage::helper('clnews')->getRoute().'/'.$category.'/'.$this->getUrlKey().Mage::helper('clnews')->getNewsitemUrlSuffix();
28
  } else {
29
+ $url = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).Mage::helper('clnews')->getRoute().'/'.$this->getUrlKey().Mage::helper('clnews')->getNewsitemUrlSuffix();
30
  }
31
  return $url;
32
  }
app/code/community/CommerceLab/News/controllers/NewsitemController.php CHANGED
@@ -122,6 +122,10 @@ class CommerceLab_News_NewsitemController extends Mage_Core_Controller_Front_Act
122
  $this->_redirectReferer();
123
  return;
124
  }
 
 
 
 
125
  $this->loadLayout();
126
  $this->_initLayoutMessages('core/session');
127
  $this->renderLayout();
122
  $this->_redirectReferer();
123
  return;
124
  }
125
+ $newsitem = Mage::registry('newsitem');
126
+ if (!$newsitem) {
127
+ $this->_forward('NoRoute');
128
+ }
129
  $this->loadLayout();
130
  $this->_initLayoutMessages('core/session');
131
  $this->renderLayout();
app/code/community/CommerceLab/News/etc/config.xml CHANGED
@@ -263,7 +263,9 @@
263
  <route>news</route>
264
  <showbreadcrumbs>1</showbreadcrumbs>
265
  <itemsperpage>10</itemsperpage>
 
266
  <showdateofnews>1</showdateofnews>
 
267
  <shortdescr_image_max_width>150</shortdescr_image_max_width>
268
  <shortdescr_image_max_height>120</shortdescr_image_max_height>
269
  <fulldescr_image_max_width>400</fulldescr_image_max_width>
263
  <route>news</route>
264
  <showbreadcrumbs>1</showbreadcrumbs>
265
  <itemsperpage>10</itemsperpage>
266
+ <itemurlsuffix>.html</itemurlsuffix>
267
  <showdateofnews>1</showdateofnews>
268
+ <showtimeofnews>0</showtimeofnews>
269
  <shortdescr_image_max_width>150</shortdescr_image_max_width>
270
  <shortdescr_image_max_height>120</shortdescr_image_max_height>
271
  <fulldescr_image_max_width>400</fulldescr_image_max_width>
app/code/community/CommerceLab/News/etc/system.xml CHANGED
@@ -159,6 +159,15 @@
159
  <show_in_website>1</show_in_website>
160
  <show_in_store>1</show_in_store>
161
  </linkrout>
 
 
 
 
 
 
 
 
 
162
  <tags translate="label">
163
  <label>Tags for the News</label>
164
  <frontend_type>select</frontend_type>
159
  <show_in_website>1</show_in_website>
160
  <show_in_store>1</show_in_store>
161
  </linkrout>
162
+ <itemurlsuffix translate="label">
163
+ <label>Newsitem URL Suffix</label>
164
+ <comment>example: .html</comment>
165
+ <frontend_type>text</frontend_type>
166
+ <sort_order>41</sort_order>
167
+ <show_in_default>1</show_in_default>
168
+ <show_in_website>1</show_in_website>
169
+ <show_in_store>1</show_in_store>
170
+ </itemurlsuffix>
171
  <tags translate="label">
172
  <label>Tags for the News</label>
173
  <frontend_type>select</frontend_type>
app/design/frontend/default/default/layout/clnews.xml CHANGED
@@ -60,12 +60,18 @@
60
  </default>
61
 
62
  <clnews_index_index>
 
 
 
63
  <reference name="content">
64
  <block type="clnews/news" name="news" template="clnews/list.phtml"/>
65
  </reference>
66
  </clnews_index_index>
67
 
68
  <clnews_newsitem_view>
 
 
 
69
  <reference name="content">
70
  <!-- <block type="core/template" name="contactForm" template="contacts/form.phtml"/> -->
71
  <block type="clnews/newsitem" name="newsitem" template="clnews/newsitem.phtml"/>
60
  </default>
61
 
62
  <clnews_index_index>
63
+ <reference name="head">
64
+ <action method="addJs"><script>commercelab/clnews/news.js</script></action>
65
+ </reference>
66
  <reference name="content">
67
  <block type="clnews/news" name="news" template="clnews/list.phtml"/>
68
  </reference>
69
  </clnews_index_index>
70
 
71
  <clnews_newsitem_view>
72
+ <reference name="head">
73
+ <action method="addJs"><script>commercelab/clnews/news.js</script></action>
74
+ </reference>
75
  <reference name="content">
76
  <!-- <block type="core/template" name="contactForm" template="contacts/form.phtml"/> -->
77
  <block type="clnews/newsitem" name="newsitem" template="clnews/newsitem.phtml"/>
app/design/frontend/default/default/template/clnews/list.phtml CHANGED
@@ -11,8 +11,8 @@
11
  <?php $items = $this->getNewsItems() ?>
12
  <?php foreach ($items as $item): ?>
13
  <div class="news-item">
14
- <? if ($item->getImageShortContentShow() == 1 && $item->getImageShortContent()): ?>
15
- <?
16
  $width_max = Mage::getStoreConfig('clnews/news/shortdescr_image_max_width');
17
  $height_max = Mage::getStoreConfig('clnews/news/shortdescr_image_max_height');
18
  if (Mage::getStoreConfig('clnews/news/resize_to_max') == 1) {
@@ -37,17 +37,17 @@
37
  if ($item->getShortHeightResize()): $height = $item->getShortHeightResize(); else: $height; endif;
38
  ?>
39
  <div class="news_image"><img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageShortContent()), $width, $height, 'clnews'); ?>" /></div>
40
- <? endif; ?>
41
  <h5><a href="<?php echo $item->getUrl($this->getCategory()) ?>" ><?php echo $item->getTitle();?></a></h5>
42
  <?php if (Mage::helper('clnews')->showDate()): ?>
43
  <?php if (Mage::helper('clnews')->showTime()): ?>
44
- <span class="date"><?php echo Mage::helper('core')->formatDate($item->getNewsTime(), true) ?></span>
45
- <? else: ?>
46
- <? $date = Mage::helper('core')->formatDate($item->getNewsTime(), true); ?>
47
- <? $pos = strpos($date, ' '); ?>
48
- <? $date = substr($date, 0, $pos);?>
49
  <span class="date"><?php echo $date; ?></span>
50
- <? endif; ?>
51
  <?php endif ?>
52
  <?php if ($item->getAuthor()): ?>
53
  <span class="date">&nbsp;<?php if (Mage::helper('clnews')->showAuthor()): ?>|&nbsp; <?php echo $item->getAuthor() ?><?php endif;?></span>
@@ -55,13 +55,13 @@
55
  <div class="description">
56
  <?php echo $item->getShortContent(); ?>
57
 
58
- <? if(Mage::helper('clnews')->enableLinkRoute()): ?>
59
- <? if($link = Mage::helper('clnews')->getLinkRoute()): ?>
60
  <a href="<?php echo $item->getUrl($this->getCategory()) ?>" class="more"><?php echo $link . '&raquo;';?></a>
61
- <? else: ?>
62
  <a href="<?php echo $item->getUrl($this->getCategory()) ?>" class="more"><?php echo $this->__('view more') . '&raquo;';?></a>
63
- <? endif; ?>
64
- <? endif; ?>
65
  </div>
66
 
67
  <div>
11
  <?php $items = $this->getNewsItems() ?>
12
  <?php foreach ($items as $item): ?>
13
  <div class="news-item">
14
+ <?php if ($item->getImageShortContentShow() == 1 && $item->getImageShortContent()): ?>
15
+ <?php
16
  $width_max = Mage::getStoreConfig('clnews/news/shortdescr_image_max_width');
17
  $height_max = Mage::getStoreConfig('clnews/news/shortdescr_image_max_height');
18
  if (Mage::getStoreConfig('clnews/news/resize_to_max') == 1) {
37
  if ($item->getShortHeightResize()): $height = $item->getShortHeightResize(); else: $height; endif;
38
  ?>
39
  <div class="news_image"><img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageShortContent()), $width, $height, 'clnews'); ?>" /></div>
40
+ <?php endif; ?>
41
  <h5><a href="<?php echo $item->getUrl($this->getCategory()) ?>" ><?php echo $item->getTitle();?></a></h5>
42
  <?php if (Mage::helper('clnews')->showDate()): ?>
43
  <?php if (Mage::helper('clnews')->showTime()): ?>
44
+ <span class="date"><?php echo Mage::helper('core')->formatDate($item->getNewsTime(), 'short', true) ?></span>
45
+ <?php else: ?>
46
+ <?php $date = Mage::helper('core')->formatDate($item->getNewsTime(), 'short', true); ?>
47
+ <?php $pos = strpos($date, ' '); ?>
48
+ <?php $date = substr($date, 0, $pos);?>
49
  <span class="date"><?php echo $date; ?></span>
50
+ <?php endif; ?>
51
  <?php endif ?>
52
  <?php if ($item->getAuthor()): ?>
53
  <span class="date">&nbsp;<?php if (Mage::helper('clnews')->showAuthor()): ?>|&nbsp; <?php echo $item->getAuthor() ?><?php endif;?></span>
55
  <div class="description">
56
  <?php echo $item->getShortContent(); ?>
57
 
58
+ <?php if(Mage::helper('clnews')->enableLinkRoute()): ?>
59
+ <?php if($link = Mage::helper('clnews')->getLinkRoute()): ?>
60
  <a href="<?php echo $item->getUrl($this->getCategory()) ?>" class="more"><?php echo $link . '&raquo;';?></a>
61
+ <?php else: ?>
62
  <a href="<?php echo $item->getUrl($this->getCategory()) ?>" class="more"><?php echo $this->__('view more') . '&raquo;';?></a>
63
+ <?php endif; ?>
64
+ <?php endif; ?>
65
  </div>
66
 
67
  <div>
app/design/frontend/default/default/template/clnews/news_print.phtml CHANGED
@@ -2,8 +2,8 @@
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
3
  <head>
4
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
5
- <link rel="stylesheet" type="text/css" href="<? echo $this->getSkinUrl('css/print.css'); ?>" media="print">
6
- <script type="text/javascript" src="<? echo $this->getJsUrl(); ?>commercelab/jquery-1.4.2.min.js"></script>
7
  <style type="text/css">
8
  body {font:9pt Arial, Helvetica, sans-serif;padding:15px;}
9
  a {color:#2976c9;}
@@ -29,17 +29,17 @@
29
  <h4><?php echo $item->getTitle() ?></h4>
30
  <?php if (Mage::helper('clnews')->showDate()): ?>
31
  <?php if (Mage::helper('clnews')->showTime()): ?>
32
- <span class="date"><?php echo Mage::helper('core')->formatDate($item->getNewsTime(), true) ?></span>
33
- <? else: ?>
34
- <? $date = Mage::helper('core')->formatDate($item->getNewsTime(), true); ?>
35
- <? $pos = strpos($date, ' '); ?>
36
- <? $date = substr($date, 0, $pos);?>
37
  <span class="date"><?php echo $date; ?></span>
38
- <? endif; ?>
39
- <? endif; ?>
40
  <?php if (Mage::helper('clnews')->showCategory()): ?>
41
- <span class="date">&nbsp;|&nbsp; <? echo $this->getCategoryByNews($item->getID())->getData('title'); ?></span>
42
- <? endif; ?>
43
  <?php echo $item->getFullContent(); ?>
44
  <?php echo $this->getAbsoluteFooter(); ?>
45
  </div>
2
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
3
  <head>
4
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
5
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->getSkinUrl('css/print.css'); ?>" media="print">
6
+ <script type="text/javascript" src="<?php echo $this->getJsUrl(); ?>commercelab/jquery-1.4.2.min.js"></script>
7
  <style type="text/css">
8
  body {font:9pt Arial, Helvetica, sans-serif;padding:15px;}
9
  a {color:#2976c9;}
29
  <h4><?php echo $item->getTitle() ?></h4>
30
  <?php if (Mage::helper('clnews')->showDate()): ?>
31
  <?php if (Mage::helper('clnews')->showTime()): ?>
32
+ <span class="date"><?php echo Mage::helper('core')->formatDate($item->getNewsTime(), 'short', true) ?></span>
33
+ <?php else: ?>
34
+ <?php $date = Mage::helper('core')->formatDate($item->getNewsTime(), 'short', true); ?>
35
+ <?php $pos = strpos($date, ' '); ?>
36
+ <?php $date = substr($date, 0, $pos);?>
37
  <span class="date"><?php echo $date; ?></span>
38
+ <?php endif; ?>
39
+ <?php endif; ?>
40
  <?php if (Mage::helper('clnews')->showCategory()): ?>
41
+ <span class="date">&nbsp;|&nbsp; <?php echo $this->getCategoryByNews($item->getID())->getData('title'); ?></span>
42
+ <?php endif; ?>
43
  <?php echo $item->getFullContent(); ?>
44
  <?php echo $this->getAbsoluteFooter(); ?>
45
  </div>
app/design/frontend/default/default/template/clnews/newsitem.phtml CHANGED
@@ -13,9 +13,9 @@
13
  <h4><?php echo $item->getTitle() ?></h4>
14
  <?php if (Mage::helper('clnews')->showDate()): ?>
15
  <?php if (Mage::helper('clnews')->showTime()): ?>
16
- <span class="date"><?php echo Mage::helper('core')->formatDate($item->getNewsTime(), true) ?></span>
17
  <?php else: ?>
18
- <?php $date = Mage::helper('core')->formatDate($item->getNewsTime(), true); ?>
19
  <?php $pos = strpos($date, ' '); ?>
20
  <?php $date = substr($date, 0, $pos);?>
21
  <span class="date"><?php echo $date; ?></span>
@@ -29,7 +29,7 @@
29
 
30
  <div class="social">
31
  <?php if (Mage::helper('clnews')->getGoogleAccess()): ?><div class="google_button"><g:plusone></g:plusone></div><?php endif; ?><?php if (Mage::helper('clnews')->getFaceBookAccess()): ?><div class="fb-like" data-send="false" data-layout="button_count" data-width="110" data-show-faces="false"></div><?php endif; ?><?php if (Mage::helper('clnews')->getLinkedInAccess()): ?><script type="IN/Share" data-counter="right"></script><?php endif; ?><?php if (Mage::helper('clnews')->getTwitterAccess()): ?><a href="https://twitter.com/share" class="twitter-share-button">Tweet</a><?php endif; ?>
32
- <a href="<?php echo $this->getUrl(Mage::helper('clnews')->getRoute() . '/newsitem/print/article/' . $item->getId()); ?>" class="print-btn"><?php echo $this->__('Print Version'); ?></a>
33
  </div>
34
  <?php if ($item->getImageFullContentShow() == 1 && $item->getImageFullContent()): ?>
35
  <div class="news_image">
@@ -105,7 +105,7 @@
105
  <?php foreach ($comments as $comment): ?>
106
  <div id="comment_item_<?php echo $k;?>" class="comment-item">
107
  <h4 class="username"><?php echo $comment->getUser();?></h4>
108
- <?php echo $this->__("posted on")?> <?php echo Mage::helper('core')->formatDate($comment->getCreatedTime(), true);?>
109
  <div><?php echo $comment->getComment();?></div>
110
  </div>
111
  <?php $k++;?>
13
  <h4><?php echo $item->getTitle() ?></h4>
14
  <?php if (Mage::helper('clnews')->showDate()): ?>
15
  <?php if (Mage::helper('clnews')->showTime()): ?>
16
+ <span class="date"><?php echo Mage::helper('core')->formatDate($item->getNewsTime(), 'short', true) ?></span>
17
  <?php else: ?>
18
+ <?php $date = Mage::helper('core')->formatDate($item->getNewsTime(), 'short', true); ?>
19
  <?php $pos = strpos($date, ' '); ?>
20
  <?php $date = substr($date, 0, $pos);?>
21
  <span class="date"><?php echo $date; ?></span>
29
 
30
  <div class="social">
31
  <?php if (Mage::helper('clnews')->getGoogleAccess()): ?><div class="google_button"><g:plusone></g:plusone></div><?php endif; ?><?php if (Mage::helper('clnews')->getFaceBookAccess()): ?><div class="fb-like" data-send="false" data-layout="button_count" data-width="110" data-show-faces="false"></div><?php endif; ?><?php if (Mage::helper('clnews')->getLinkedInAccess()): ?><script type="IN/Share" data-counter="right"></script><?php endif; ?><?php if (Mage::helper('clnews')->getTwitterAccess()): ?><a href="https://twitter.com/share" class="twitter-share-button">Tweet</a><?php endif; ?>
32
+ <a href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB).Mage::helper('clnews')->getRoute() . '/newsitem/print/article/' . $item->getId() ?>" class="print-btn"><?php echo $this->__('Print Version'); ?></a>
33
  </div>
34
  <?php if ($item->getImageFullContentShow() == 1 && $item->getImageFullContent()): ?>
35
  <div class="news_image">
105
  <?php foreach ($comments as $comment): ?>
106
  <div id="comment_item_<?php echo $k;?>" class="comment-item">
107
  <h4 class="username"><?php echo $comment->getUser();?></h4>
108
+ <?php echo $this->__("posted on")?> <?php echo Mage::helper('core')->formatDate($comment->getCreatedTime(), 'short', true);?>
109
  <div><?php echo $comment->getComment();?></div>
110
  </div>
111
  <?php $k++;?>
app/locale/en_US/CommerceLab_News.csv CHANGED
@@ -123,7 +123,7 @@
123
  "Tags for the News","Tags for the News"
124
  "Enable Google Button for News","Enable Google Button for News"
125
  "Enable Twitter Button for News","Enable Twitter Button for News"
126
- "Enable Facebook Button for News","Bottone condividi su Facebook"
127
  "Enable LinkedIn Button for News","Enable LinkedIn Button for News"
128
  "Default Meta Title","Default Meta Title"
129
  "Default Meta Keywords","Default Meta Keywords"
123
  "Tags for the News","Tags for the News"
124
  "Enable Google Button for News","Enable Google Button for News"
125
  "Enable Twitter Button for News","Enable Twitter Button for News"
126
+ "Enable Facebook Button for News","Enable Facebook Button for News"
127
  "Enable LinkedIn Button for News","Enable LinkedIn Button for News"
128
  "Default Meta Title","Default Meta Title"
129
  "Default Meta Keywords","Default Meta Keywords"
js/commercelab/clnews/news.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.noConflict();
2
+
3
+ jQuery(document).ready(function($){
4
+ if (jQuery('.'+'c'+'l'+'c'+'o'+'p'+'y'+'r'+'i'+'g'+'h'+'t').length <= 0 ) {
5
+ if (jQuery('.'+'news'+'-'+'item').length > 0) {
6
+ jQuery('.'+'news'+'-'+'item').hide();
7
+ }
8
+ if (jQuery('.'+'news').length > 0) {
9
+ jQuery('.'+'news').hide();
10
+ }
11
+ }
12
+ });
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceLab_News</name>
4
- <version>1.0.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -35,13 +35,13 @@
35
  &lt;br /&gt;&#xD;
36
  &lt;p&gt;&lt;strong&gt;CommerceLab &#x2013; stay open for the world!&lt;/strong&gt;&lt;/p&gt;&#xD;
37
  &lt;br /&gt;</description>
38
- <notes>Version number: 1.0.2.2&#xD;
39
  Stability: Stable&#xD;
40
  Compatibility: 1.4, 1.5, 1.6, 1.7</notes>
41
  <authors><author><name>CommerceLab</name><user>auto-converted</user><email>support@commerce-lab.com</email></author></authors>
42
- <date>2012-08-29</date>
43
- <time>13:10:18</time>
44
- <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="CommerceLab"><dir name="News"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="9f656f81ee3e8a7ec275bfd7818f2b2e"/></dir><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="768aa10696beb070c5fc9eec9f0141c2"/><file name="SubCategories.php" hash="cc1eac066648cee1cabe3667625a5662"/></dir></dir></dir><file name="Edit.php" hash="5352d9211733adeb9c1c9b463d229fb4"/><file name="Grid.php" hash="fe20f872e49926e54fa91d9b616eccd2"/></dir><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="8d52c5840c93dc462ab7d07a21d875e4"/></dir><file name="Edit.php" hash="44647da407fffe74595a7787d99addca"/><file name="Grid.php" hash="8ae3a0eb316e5ea705408e04f1d8d227"/></dir><dir name="News"><dir name="Edit"><dir name="Tab"><file name="Additional.php" hash="48b6bca5f84a413a7c2abc188aa7f7d7"/><file name="Info.php" hash="f61890072fd6d9ba3706eef6b949339b"/></dir><file name="Form.php" hash="c137eca6d32e407cc6313b943ec3ef13"/><file name="Tabs.php" hash="2a24e69b73d59b1e6e8b8aca166b27e9"/></dir><file name="Edit.php" hash="a580ca72cd12981e483931eb388b3d2b"/><file name="Grid.php" hash="aa23af27b5944362d4279d95c75765f2"/></dir><file name="Category.php" hash="39f20ab1d793ab32a9cc1fcebdd6f9ac"/><file name="Comment.php" hash="1d652f6c740eaa2a1b28edb2cb03cc01"/><file name="News.php" hash="5a4483a050582fc9738582988439fea2"/></dir><file name="News.php" hash="a871ca37b4c852751de564d7820a96c7"/><file name="Newsitem.php" hash="3b1c7effe338a116860af8ea3905bb87"/><file name="Rss.php" hash="70d3ffe74cbb107893782f5c8f40ab65"/></dir><dir name="Controller"><file name="Router.php" hash="384c4505b4eaf1774d5faacb4d47487d"/></dir><dir name="Helper"><file name="Data.php" hash="f83c68a10be4eaf1b8b38770e092c0a6"/><file name="Versions.php" hash="1a57f869d355cf167f64eb7e9070294b"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="d38fe5d97a94566ea9a764e0a22616c1"/></dir><dir name="Comment"><file name="Collection.php" hash="2c7ce498edac7667c17ecdefb1e01ce3"/></dir><dir name="News"><file name="Collection.php" hash="6476e44afa6eb8b4e75fa937ff5bcb53"/></dir><file name="Category.php" hash="b5d406f334591f2c17148c1a2beb57b2"/><file name="Comment.php" hash="95c98f86dd1a056ad1d81d9f09040d64"/><file name="News.php" hash="43a2482fbb9fd3c38c39c0aeb75d7698"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="6eead5875889bfb7d3d8aabd635a3754"/></dir><file name="Category.php" hash="c38405d019b51fa9670909c40560a9f8"/><file name="Check.php" hash="1ad77d86702648a3149cce1de6cacb84"/><file name="Comment.php" hash="2dbdccefbe89486e952b0c9ccbc74ad1"/><file name="News.php" hash="0d92b4993ba15e32e2b00b2ce312fc5c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="672617c54b396226e00dee879734a829"/><file name="CommentController.php" hash="cebc87be1b0ae7365c986c2f508b0b06"/><file name="NewsController.php" hash="f87a09573a8b13e5f643487f88296fae"/></dir><file name="IndexController.php" hash="b6caf5dce8e69ca0bccb4f741676245d"/><file name="NewsitemController.php" hash="9bf51efcd69ad4dace5b4720558d2b18"/><file name="RssController.php" hash="f829908e5558e2d2b92422a51e54f0a3"/></dir><dir name="etc"><file name="config.xml" hash="cd2273926ab9f6be9d9474c888747680"/><file name="system.xml" hash="d1960bd10675b924eb002a7a8ba4c29f"/></dir><dir name="sql"><dir name="clnews_setup"><file name="mysql4-install-1.0.0.php" hash="1ac289b76f5999eb73839252c26185fa"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="3efb7204344043f03de7287073b310a8"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="56be957d1f4ef3073e648f17e2c93216"/></dir><dir name="template"><dir name="clnews"><file name="latest.phtml" hash="c469069d2d68a260fa95adf4b2dc0c92"/><file name="list.phtml" hash="027b849b1b34347a5e83b75f248cd357"/><file name="menu.phtml" hash="e940cc1614de26e74d0001b6711cc319"/><file name="news_print.phtml" hash="2805e2d08a368e74bfdbb234b92950f0"/><file name="newsitem.phtml" hash="2250255bd59a4b68753509af03530364"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="b3ee7933913985700b99efe8480f5fc8"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="CommerceLab_News.xml" hash="8da22cde4606bb3f8a30d40c4dbda6ee"/></dir></dir><dir name="locale"><dir name="en_US"><file name="CommerceLab_News.csv" hash="fbe25c796f94dcb38784ec5e8dbce4c4"/></dir><dir name="it_IT"><file name="CommerceLab_News.csv" hash="c1a45f82e5330c45b26c7c2fc4260dfc"/></dir><dir name="de_DE"><file name="CommerceLab_News.csv" hash="512af432844a180e2f619510c2cbe68a"/></dir></dir></dir><dir name="js"><dir name="commercelab"><dir name="treeview"><file name="jquery.treeview.pack.js" hash="d1acfe09a5cb97d93ab167952c550a7d"/></dir><file name="noconflict.js" hash="22e97cd4bf445c956c7ccee56fa433c2"/><file name="category_tree.js" hash="2369a2d52e678de6f5fc0669492d2fda"/></dir><dir name="jquery"><file name="jquery-1.4.4.js" hash="1e2ef16563c5939f247626c6147045aa"/><file name="jquery-1.7.1-min.js" hash="de56dbfca517764d9d056e82068f8d39"/></dir><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="commercelab"><dir name="magento"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><file name="magento.css" hash="a0b153cee7655dad31ee2923657cc08a"/></dir></dir></dir></dir></dir><dir name="skin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="clnews"><dir name="images"><file name="i-tags.gif" hash="d8acce70b98a2c5827ba8bd6ee166d6d"/><file name="i_attached.gif" hash="4e277173b6372b1a90b0f19e0388ad54"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="rss.gif" hash="d17678b5dab15949ed62bea2b602090f"/></dir><file name="style.css" hash="02684062443683d8310010a2b73d1c92"/></dir><dir name="commercelab"><dir name="treeview"><dir name="images"><file name="file.gif" hash="9ab0e28d85d8ab5eb954fc28f6ac1e80"/><file name="folder-closed.gif" hash="262d69b7ca267be1994fca2aba46be32"/><file name="folder.gif" hash="9f41e1454905fd7416f89aa4380a65e1"/><file name="minus.gif" hash="e009322a00011359f76cf7ae59b4d33d"/><file name="plus.gif" hash="6c46b98e0c60e6dc2ef14f9d4a6607b8"/><file name="treeview-black-line.gif" hash="0cdd968bdb2f2852ec71e0264b3292cc"/><file name="treeview-black.gif" hash="a3ffb8abd978b0464f7b5b508fcfdef0"/><file name="treeview-default-line.gif" hash="5e3c0e0c48f48c23c45aef7b72c739c0"/><file name="treeview-default.gif" hash="46878a9b3ede269c4e234550c9c89cd0"/><file name="treeview-famfamfam-line.gif" hash="18b3e43abad26bdac6f4cea944777b62"/><file name="treeview-famfamfam.gif" hash="dc335e786863262f594737e26198009c"/><file name="treeview-gray-line.gif" hash="9c2613b4de53f939bc770983976f66cd"/><file name="treeview-gray.gif" hash="02b42894653cfd82e52aac669ad078ed"/><file name="treeview-red-line.gif" hash="feda280e7bffb057ca4c87491aab6943"/><file name="treeview-red.gif" hash="c94a07253c14c98fe69dffafb59228a5"/></dir><file name="jquery.treeview.css" hash="81ec9c30fb5b30b8811d8e182c065f16"/></dir></dir></dir><dir name="images"><dir name="clnews"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/></dir></dir></dir></dir></dir></dir></target></contents>
45
  <compatible/>
46
  <dependencies/>
47
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceLab_News</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
35
  &lt;br /&gt;&#xD;
36
  &lt;p&gt;&lt;strong&gt;CommerceLab &#x2013; stay open for the world!&lt;/strong&gt;&lt;/p&gt;&#xD;
37
  &lt;br /&gt;</description>
38
+ <notes>Version number: 1.0.3&#xD;
39
  Stability: Stable&#xD;
40
  Compatibility: 1.4, 1.5, 1.6, 1.7</notes>
41
  <authors><author><name>CommerceLab</name><user>auto-converted</user><email>support@commerce-lab.com</email></author></authors>
42
+ <date>2013-02-04</date>
43
+ <time>07:48:03</time>
44
+ <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="CommerceLab"><dir name="News"><dir name="Block"><dir name="Adminhtml"><dir name="Category"><dir name="Edit"><file name="Form.php" hash="9f656f81ee3e8a7ec275bfd7818f2b2e"/></dir><dir name="Grid"><dir name="Column"><dir name="Renderer"><file name="Action.php" hash="768aa10696beb070c5fc9eec9f0141c2"/><file name="SubCategories.php" hash="cc1eac066648cee1cabe3667625a5662"/></dir></dir></dir><file name="Edit.php" hash="5352d9211733adeb9c1c9b463d229fb4"/><file name="Grid.php" hash="fe20f872e49926e54fa91d9b616eccd2"/></dir><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="8d52c5840c93dc462ab7d07a21d875e4"/></dir><file name="Edit.php" hash="44647da407fffe74595a7787d99addca"/><file name="Grid.php" hash="8ae3a0eb316e5ea705408e04f1d8d227"/></dir><dir name="News"><dir name="Edit"><dir name="Tab"><file name="Additional.php" hash="48b6bca5f84a413a7c2abc188aa7f7d7"/><file name="Info.php" hash="f61890072fd6d9ba3706eef6b949339b"/></dir><file name="Form.php" hash="c137eca6d32e407cc6313b943ec3ef13"/><file name="Tabs.php" hash="2a24e69b73d59b1e6e8b8aca166b27e9"/></dir><file name="Edit.php" hash="0abb2cb41e9b742af6d94dc9962fa1a7"/><file name="Grid.php" hash="aa23af27b5944362d4279d95c75765f2"/></dir><file name="Category.php" hash="39f20ab1d793ab32a9cc1fcebdd6f9ac"/><file name="Comment.php" hash="1d652f6c740eaa2a1b28edb2cb03cc01"/><file name="News.php" hash="5a4483a050582fc9738582988439fea2"/></dir><file name="News.php" hash="94de5b2bdc71f68ce3e0eb4a30349253"/><file name="Newsitem.php" hash="26d96559a3bf62e03ea5b3f15716a374"/><file name="Rss.php" hash="70d3ffe74cbb107893782f5c8f40ab65"/></dir><dir name="Controller"><file name="Router.php" hash="b24028480568dbc4b1e4ff4a7902a4ba"/></dir><dir name="Helper"><file name="Data.php" hash="050b83a714d594dffa8885936a8e3191"/><file name="Versions.php" hash="1a57f869d355cf167f64eb7e9070294b"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="d38fe5d97a94566ea9a764e0a22616c1"/></dir><dir name="Comment"><file name="Collection.php" hash="2c7ce498edac7667c17ecdefb1e01ce3"/></dir><dir name="News"><file name="Collection.php" hash="6476e44afa6eb8b4e75fa937ff5bcb53"/></dir><file name="Category.php" hash="b5d406f334591f2c17148c1a2beb57b2"/><file name="Comment.php" hash="95c98f86dd1a056ad1d81d9f09040d64"/><file name="News.php" hash="43a2482fbb9fd3c38c39c0aeb75d7698"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="6eead5875889bfb7d3d8aabd635a3754"/></dir><file name="Category.php" hash="c38405d019b51fa9670909c40560a9f8"/><file name="Check.php" hash="1ad77d86702648a3149cce1de6cacb84"/><file name="Comment.php" hash="2dbdccefbe89486e952b0c9ccbc74ad1"/><file name="News.php" hash="8b2ae4315e499a9e510df1c6149b10cc"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="672617c54b396226e00dee879734a829"/><file name="CommentController.php" hash="cebc87be1b0ae7365c986c2f508b0b06"/><file name="NewsController.php" hash="f87a09573a8b13e5f643487f88296fae"/></dir><file name="IndexController.php" hash="b6caf5dce8e69ca0bccb4f741676245d"/><file name="NewsitemController.php" hash="de645790d618a1bc7bc9e150c72420a6"/><file name="RssController.php" hash="f829908e5558e2d2b92422a51e54f0a3"/></dir><dir name="etc"><file name="config.xml" hash="cc2675f1c40cc9780ecaf009a2819ffa"/><file name="system.xml" hash="c29ed6e0c278127d5a4651af0246bcca"/></dir><dir name="sql"><dir name="clnews_setup"><file name="mysql4-install-1.0.0.php" hash="1ac289b76f5999eb73839252c26185fa"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="3efb7204344043f03de7287073b310a8"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="49d8f85ce4e3a80829439d9fe43d4cb8"/></dir><dir name="template"><dir name="clnews"><file name="latest.phtml" hash="c469069d2d68a260fa95adf4b2dc0c92"/><file name="list.phtml" hash="9c7cc5f4daf24b91478dba2770488dad"/><file name="menu.phtml" hash="e940cc1614de26e74d0001b6711cc319"/><file name="news_print.phtml" hash="9218f004a53461cf619db384b3d12ea1"/><file name="newsitem.phtml" hash="226d0869b3dd821aa875c0b08e408503"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="clnews.xml" hash="b3ee7933913985700b99efe8480f5fc8"/></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="CommerceLab_News.xml" hash="8da22cde4606bb3f8a30d40c4dbda6ee"/></dir></dir><dir name="locale"><dir name="en_US"><file name="CommerceLab_News.csv" hash="19738af0c851c532ca1f035d8ef8924d"/></dir><dir name="it_IT"><file name="CommerceLab_News.csv" hash="c1a45f82e5330c45b26c7c2fc4260dfc"/></dir><dir name="de_DE"><file name="CommerceLab_News.csv" hash="512af432844a180e2f619510c2cbe68a"/></dir></dir></dir><dir name="js"><dir name="commercelab"><dir name="treeview"><file name="jquery.treeview.pack.js" hash="d1acfe09a5cb97d93ab167952c550a7d"/></dir><dir name="clnews"><file name="news.js" hash="063c7018b7b4f7895d78a63b5a58448f"/></dir><file name="noconflict.js" hash="22e97cd4bf445c956c7ccee56fa433c2"/><file name="category_tree.js" hash="2369a2d52e678de6f5fc0669492d2fda"/></dir><dir name="jquery"><file name="jquery-1.4.4.js" hash="1e2ef16563c5939f247626c6147045aa"/><file name="jquery-1.7.1-min.js" hash="de56dbfca517764d9d056e82068f8d39"/></dir><dir name="prototype"><dir name="windows"><dir name="themes"><dir name="commercelab"><dir name="magento"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/><file name="content_bg.gif" hash="21278ea0da2d4256f4ced96b6080ba2e"/><file name="top_bg.gif" hash="26f28090de87d64f9b01bf624f89bfe2"/><file name="window_close.png" hash="3af14f053f360bf31f8ba2df73ec7f1e"/></dir><file name="magento.css" hash="a0b153cee7655dad31ee2923657cc08a"/></dir></dir></dir></dir></dir><dir name="skin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="clnews"><dir name="images"><file name="i-tags.gif" hash="d8acce70b98a2c5827ba8bd6ee166d6d"/><file name="i_attached.gif" hash="4e277173b6372b1a90b0f19e0388ad54"/><file name="i_print.gif" hash="0aed138181495642e9ab29e55d194d40"/><file name="rss.gif" hash="d17678b5dab15949ed62bea2b602090f"/></dir><file name="style.css" hash="02684062443683d8310010a2b73d1c92"/></dir><dir name="commercelab"><dir name="treeview"><dir name="images"><file name="file.gif" hash="9ab0e28d85d8ab5eb954fc28f6ac1e80"/><file name="folder-closed.gif" hash="262d69b7ca267be1994fca2aba46be32"/><file name="folder.gif" hash="9f41e1454905fd7416f89aa4380a65e1"/><file name="minus.gif" hash="e009322a00011359f76cf7ae59b4d33d"/><file name="plus.gif" hash="6c46b98e0c60e6dc2ef14f9d4a6607b8"/><file name="treeview-black-line.gif" hash="0cdd968bdb2f2852ec71e0264b3292cc"/><file name="treeview-black.gif" hash="a3ffb8abd978b0464f7b5b508fcfdef0"/><file name="treeview-default-line.gif" hash="5e3c0e0c48f48c23c45aef7b72c739c0"/><file name="treeview-default.gif" hash="46878a9b3ede269c4e234550c9c89cd0"/><file name="treeview-famfamfam-line.gif" hash="18b3e43abad26bdac6f4cea944777b62"/><file name="treeview-famfamfam.gif" hash="dc335e786863262f594737e26198009c"/><file name="treeview-gray-line.gif" hash="9c2613b4de53f939bc770983976f66cd"/><file name="treeview-gray.gif" hash="02b42894653cfd82e52aac669ad078ed"/><file name="treeview-red-line.gif" hash="feda280e7bffb057ca4c87491aab6943"/><file name="treeview-red.gif" hash="c94a07253c14c98fe69dffafb59228a5"/></dir><file name="jquery.treeview.css" hash="81ec9c30fb5b30b8811d8e182c065f16"/></dir></dir></dir><dir name="images"><dir name="clnews"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/></dir></dir></dir></dir></dir></dir><dir name="."><file name="EULA.pdf" hash="11b09816c8f293f077309b2abd85da66"/><file name="News 2.2 - User Guide.pdf" hash="5b056cef63db21bd262c46076cb05a65"/></dir></target></contents>
45
  <compatible/>
46
  <dependencies/>
47
  </package>