CommerceLab_News - Version 1.0.1

Version Notes

Version number: 1.0.1
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.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/CommerceLab/News/Block/Adminhtml/Category/Grid.php CHANGED
@@ -28,7 +28,8 @@ class CommerceLab_News_Block_Adminhtml_Category_Grid extends Mage_Adminhtml_Bloc
28
  {
29
  $collection = Mage::getModel('clnews/category')->getCollection();
30
  if (!Mage::app()->isSingleStoreMode()) {
31
- $collection->getSelect()->joinLeft('clnews_category_store', 'main_table.category_id = clnews_category_store.category_id', array('clnews_category_store.store_id as store_id'));
 
32
  }
33
  $this->setCollection($collection);
34
  return parent::_prepareCollection();
28
  {
29
  $collection = Mage::getModel('clnews/category')->getCollection();
30
  if (!Mage::app()->isSingleStoreMode()) {
31
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_category_store');
32
+ $collection->getSelect()->joinLeft($tableName, 'main_table.category_id = '. $tableName . '.category_id', array($tableName . '.store_id as store_id'));
33
  }
34
  $this->setCollection($collection);
35
  return parent::_prepareCollection();
app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Edit/Form.php CHANGED
@@ -22,7 +22,8 @@ class CommerceLab_News_Block_Adminhtml_Comment_Edit_Form extends Mage_Adminhtml_
22
  $collection = Mage::getResourceModel('clnews/comment_collection');
23
 
24
  $news_id = $this->getRequest()->getParam('id');
25
- $collection->getSelect()->joinLeft('clnews_news', 'main_table.news_id = clnews_news.news_id', 'title');
 
26
  $collection->getSelect()->distinct();
27
  $collection->getSelect()->where('main_table.news_id =' . $news_id);
28
  $collection->getSelect()->limit(1);
22
  $collection = Mage::getResourceModel('clnews/comment_collection');
23
 
24
  $news_id = $this->getRequest()->getParam('id');
25
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news');
26
+ $collection->getSelect()->joinLeft($tableName, 'main_table.news_id = '. $tableName . '.news_id', 'title');
27
  $collection->getSelect()->distinct();
28
  $collection->getSelect()->where('main_table.news_id =' . $news_id);
29
  $collection->getSelect()->limit(1);
app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Grid.php CHANGED
@@ -32,7 +32,8 @@ class CommerceLab_News_Block_Adminhtml_Comment_Grid extends Mage_Adminhtml_Block
32
  if ($this->getRequest()->getParam('news_id')) {
33
  $collection->addNewsFilter($this->getRequest()->getParam('news_id'));
34
  } else {
35
- $collection->getSelect()->joinLeft('clnews_news', 'main_table.news_id = clnews_news.news_id', array('clnews_news.title as title'));
 
36
  }
37
  $this->setCollection($collection);
38
  return parent::_prepareCollection();
32
  if ($this->getRequest()->getParam('news_id')) {
33
  $collection->addNewsFilter($this->getRequest()->getParam('news_id'));
34
  } else {
35
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news');
36
+ $collection->getSelect()->joinLeft($tableName, 'main_table.news_id = ' . $tableName . '.news_id', array($tableName . '.title as title'));
37
  }
38
  $this->setCollection($collection);
39
  return parent::_prepareCollection();
app/code/community/CommerceLab/News/Block/Adminhtml/News/Grid.php CHANGED
@@ -30,7 +30,8 @@ class CommerceLab_News_Block_Adminhtml_News_Grid extends Mage_Adminhtml_Block_Wi
30
  {
31
  $collection = Mage::getModel('clnews/news')->getCollection();
32
  if (!Mage::app()->isSingleStoreMode()) {
33
- $collection->getSelect()->joinLeft('clnews_news_store', 'main_table.news_id = clnews_news_store.news_id', array('clnews_news_store.store_id as store_id'));
 
34
  }
35
  $this->setCollection($collection);
36
  return parent::_prepareCollection();
30
  {
31
  $collection = Mage::getModel('clnews/news')->getCollection();
32
  if (!Mage::app()->isSingleStoreMode()) {
33
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_store');
34
+ $collection->getSelect()->joinLeft($tableName, 'main_table.news_id = ' . $tableName . '.news_id', array($tableName . '.store_id as store_id'));
35
  }
36
  $this->setCollection($collection);
37
  return parent::_prepareCollection();
app/code/community/CommerceLab/News/Block/News.php CHANGED
@@ -114,8 +114,9 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
114
  ->addStoreFilter(Mage::app()->getStore()->getId());
115
  $categoryId = $catCollection->getData();
116
  if ($categoryId[0]['category_id']) {
117
- $collection->getSelect()->join('clnews_news_category', 'main_table.news_id = clnews_news_category.news_id','category_id');
118
- $collection->getSelect()->where('clnews_news_category.category_id =?', $categoryId[0]['category_id']);
 
119
  }
120
  } else {
121
  $collection->addStoreFilter(Mage::app()->getStore()->getId());
@@ -123,8 +124,9 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
123
  if ($tag = $this->getRequest()->getParam('q')) {
124
  $collection = Mage::getModel('clnews/news')->getCollection()->setOrder('news_time', 'desc');
125
  if (count(Mage::app()->getStores()) > 1) {
126
- $collection->getSelect()->join('clnews_news_store', 'main_table.news_id = clnews_news_store.news_id','store_id');
127
- $collection->getSelect()->where('clnews_news_store.store_id =?', Mage::app()->getStore()->getId());
 
128
  }
129
  $tag = urldecode($tag);
130
  $collection->getSelect()->where("tags LIKE '%". $tag . "%'");
114
  ->addStoreFilter(Mage::app()->getStore()->getId());
115
  $categoryId = $catCollection->getData();
116
  if ($categoryId[0]['category_id']) {
117
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_category');
118
+ $collection->getSelect()->join($tableName, 'main_table.news_id = ' . $tableName . '.news_id','category_id');
119
+ $collection->getSelect()->where($tableName . '.category_id =?', $categoryId[0]['category_id']);
120
  }
121
  } else {
122
  $collection->addStoreFilter(Mage::app()->getStore()->getId());
124
  if ($tag = $this->getRequest()->getParam('q')) {
125
  $collection = Mage::getModel('clnews/news')->getCollection()->setOrder('news_time', 'desc');
126
  if (count(Mage::app()->getStores()) > 1) {
127
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_store');
128
+ $collection->getSelect()->join($tableName, 'main_table.news_id = ' . $tableName . '.news_id','store_id');
129
+ $collection->getSelect()->where($tableName . '.store_id =?', Mage::app()->getStore()->getId());
130
  }
131
  $tag = urldecode($tag);
132
  $collection->getSelect()->where("tags LIKE '%". $tag . "%'");
app/code/community/CommerceLab/News/Helper/Data.php CHANGED
@@ -161,7 +161,6 @@ class CommerceLab_News_Helper_Data extends Mage_Core_Helper_Abstract
161
 
162
  if (file_exists($imagePathFull) && !file_exists($resizePathFull)) {
163
  $imageObj = new Varien_Image($imagePathFull);
164
- $imageObj->constrainOnly(TRUE);
165
  $imageObj->keepAspectRatio(TRUE);
166
  $imageObj->resize($width,$height);
167
  $imageObj->save($resizePathFull);
161
 
162
  if (file_exists($imagePathFull) && !file_exists($resizePathFull)) {
163
  $imageObj = new Varien_Image($imagePathFull);
 
164
  $imageObj->keepAspectRatio(TRUE);
165
  $imageObj->resize($width,$height);
166
  $imageObj->save($resizePathFull);
app/code/community/CommerceLab/News/controllers/IndexController.php CHANGED
@@ -32,8 +32,9 @@ class CommerceLab_News_IndexController extends Mage_Core_Controller_Front_Action
32
  $collection = Mage::getModel('clnews/news')->getCollection()
33
  ->setOrder('news_time', 'asc');
34
  if (count(Mage::app()->getStores()) > 1) {
35
- $collection->getSelect()->join('clnews_news_store', 'main_table.news_id = clnews_news_store.news_id','store_id');
36
- $collection->getSelect()->where('clnews_news_store.store_id =?', Mage::app()->getStore()->getId());
 
37
  }
38
  $tag = urldecode($tag);
39
  $collection->getSelect()->where("main_table.tags LIKE '%". $tag . "%'");
32
  $collection = Mage::getModel('clnews/news')->getCollection()
33
  ->setOrder('news_time', 'asc');
34
  if (count(Mage::app()->getStores()) > 1) {
35
+ $tableName = Mage::getSingleton('core/resource')->getTableName('clnews_news_store');
36
+ $collection->getSelect()->join($tableName, 'main_table.news_id = ' . $tableName . '.news_id','store_id');
37
+ $collection->getSelect()->where($tableName . '.store_id =?', Mage::app()->getStore()->getId());
38
  }
39
  $tag = urldecode($tag);
40
  $collection->getSelect()->where("main_table.tags LIKE '%". $tag . "%'");
app/code/community/CommerceLab/News/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <CommerceLab_News>
5
- <version>1.0.0</version><platform>ce</platform>
6
  </CommerceLab_News>
7
  </modules>
8
  <admin>
@@ -256,6 +256,11 @@
256
  <showbreadcrumbs>1</showbreadcrumbs>
257
  <itemsperpage>10</itemsperpage>
258
  <showdateofnews>1</showdateofnews>
 
 
 
 
 
259
  </news>
260
  <comments>
261
  <enabled>1</enabled>
2
  <config>
3
  <modules>
4
  <CommerceLab_News>
5
+ <version>1.0.1</version><platform>ce</platform>
6
  </CommerceLab_News>
7
  </modules>
8
  <admin>
256
  <showbreadcrumbs>1</showbreadcrumbs>
257
  <itemsperpage>10</itemsperpage>
258
  <showdateofnews>1</showdateofnews>
259
+ <shortdescr_image_max_width>150</shortdescr_image_max_width>
260
+ <shortdescr_image_max_height>120</shortdescr_image_max_height>
261
+ <fulldescr_image_max_width>400</fulldescr_image_max_width>
262
+ <fulldescr_image_max_height>300</fulldescr_image_max_height>
263
+ <resize_to_max>1</resize_to_max>
264
  </news>
265
  <comments>
266
  <enabled>1</enabled>
app/code/community/CommerceLab/News/etc/system.xml CHANGED
@@ -201,6 +201,47 @@
201
  <show_in_website>1</show_in_website>
202
  <show_in_store>1</show_in_store>
203
  </metadescription>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  </fields>
205
  </news>
206
  <comments translate="label">
201
  <show_in_website>1</show_in_website>
202
  <show_in_store>1</show_in_store>
203
  </metadescription>
204
+ <shortdescr_image_max_width translate="label">
205
+ <label>Short Description Image Max Width</label>
206
+ <frontend_type>text</frontend_type>
207
+ <sort_order>70</sort_order>
208
+ <show_in_default>1</show_in_default>
209
+ <show_in_website>1</show_in_website>
210
+ <show_in_store>1</show_in_store>
211
+ </shortdescr_image_max_width>
212
+ <shortdescr_image_max_height translate="label">
213
+ <label>Short Description Image Max Height</label>
214
+ <frontend_type>text</frontend_type>
215
+ <sort_order>80</sort_order>
216
+ <show_in_default>1</show_in_default>
217
+ <show_in_website>1</show_in_website>
218
+ <show_in_store>1</show_in_store>
219
+ </shortdescr_image_max_height>
220
+ <fulldescr_image_max_width translate="label">
221
+ <label>Full Description Image Max Width</label>
222
+ <frontend_type>text</frontend_type>
223
+ <sort_order>90</sort_order>
224
+ <show_in_default>1</show_in_default>
225
+ <show_in_website>1</show_in_website>
226
+ <show_in_store>1</show_in_store>
227
+ </fulldescr_image_max_width>
228
+ <fulldescr_image_max_height translate="label">
229
+ <label>Full Description Image Max Height</label>
230
+ <frontend_type>text</frontend_type>
231
+ <sort_order>100</sort_order>
232
+ <show_in_default>1</show_in_default>
233
+ <show_in_website>1</show_in_website>
234
+ <show_in_store>1</show_in_store>
235
+ </fulldescr_image_max_height>
236
+ <resize_to_max translate="label">
237
+ <label>Resize always to Max Values</label>
238
+ <frontend_type>select</frontend_type>
239
+ <source_model>adminhtml/system_config_source_yesno</source_model>
240
+ <sort_order>101</sort_order>
241
+ <show_in_default>1</show_in_default>
242
+ <show_in_website>1</show_in_website>
243
+ <show_in_store>1</show_in_store>
244
+ </resize_to_max>
245
  </fields>
246
  </news>
247
  <comments translate="label">
app/code/community/CommerceLab/News/sql/clnews_setup/mysql4-install-1.0.0.php CHANGED
@@ -93,9 +93,6 @@ VALUES (
93
  NULL , 'Default', 'default'
94
  );
95
 
96
- SET @last_category_id = LAST_INSERT_ID();
97
- SELECT @default_store_id:=store_id AS store_id FROM core_store where code = 'admin';
98
-
99
  DROP TABLE IF EXISTS {$this->getTable('clnews/news_store')};
100
  CREATE TABLE {$this->getTable('clnews/news_store')} (
101
  `news_id` smallint(6) unsigned,
@@ -108,8 +105,6 @@ CREATE TABLE {$this->getTable('clnews/category_store')} (
108
  `store_id` smallint(6) unsigned
109
  ) ENGINE = InnoDB DEFAULT CHARSET = utf8;
110
 
111
- INSERT INTO {$this->getTable('clnews/category_store')} VALUES (@last_category_id, @default_store_id);
112
-
113
  DROP TABLE IF EXISTS {$this->getTable('clnews/news_category')};
114
  CREATE TABLE {$this->getTable('clnews/news_category')} (
115
  `category_id` smallint(6) unsigned ,
93
  NULL , 'Default', 'default'
94
  );
95
 
 
 
 
96
  DROP TABLE IF EXISTS {$this->getTable('clnews/news_store')};
97
  CREATE TABLE {$this->getTable('clnews/news_store')} (
98
  `news_id` smallint(6) unsigned,
105
  `store_id` smallint(6) unsigned
106
  ) ENGINE = InnoDB DEFAULT CHARSET = utf8;
107
 
 
 
108
  DROP TABLE IF EXISTS {$this->getTable('clnews/news_category')};
109
  CREATE TABLE {$this->getTable('clnews/news_category')} (
110
  `category_id` smallint(6) unsigned ,
app/design/frontend/default/default/template/clnews/list.phtml CHANGED
@@ -13,10 +13,28 @@
13
  <div class="news-item">
14
  <? if ($item->getImageShortContentShow() == 1): ?>
15
  <?
16
- $width = '';
17
- $height = '';
18
- if ($item->getShortWidthResize()): $width = $item->getShortWidthResize(); else: $width = '150'; endif;
19
- if ($item->getShortHeightResize()): $height = $item->getShortHeightResize(); else: $height = '125'; endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  ?>
21
  <div class="news_image"><img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageShortContent()), $width, $height, 'clnews'); ?>" /></div>
22
  <? endif; ?>
13
  <div class="news-item">
14
  <? if ($item->getImageShortContentShow() == 1): ?>
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) {
19
+ $width = $width_max;
20
+ $height = $height_max;
21
+ } else {
22
+ $imageObj = new Varien_Image(Mage::getBaseDir('media') . DS . $item->getImageShortContent());
23
+ $original_width = $imageObj->getOriginalWidth();
24
+ $original_height = $imageObj->getOriginalHeight();
25
+ if ($original_width > $width_max) {
26
+ $width = $width_max;
27
+ } else {
28
+ $width = $original_width;
29
+ }
30
+ if ($original_height > $height_max) {
31
+ $height = $height_max;
32
+ } else {
33
+ $height = $original_height;
34
+ }
35
+ }
36
+ if ($item->getShortWidthResize()): $width = $item->getShortWidthResize(); else: $width; endif;
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; ?>
app/design/frontend/default/default/template/clnews/newsitem.phtml CHANGED
@@ -34,10 +34,28 @@
34
  <?php if ($item->getImageFullContentShow() == 1): ?>
35
  <div class="news_image">
36
  <?php
37
- $width = '';
38
- $height = '';
39
- if ($item->getFullWidthResize()): $width = $item->getFullWidthResize(); else: $width = '150'; endif;
40
- if ($item->getFullHeightResize()): $height = $item->getFullHeightResize(); else: $height = '125'; endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  ?>
42
  <img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageFullContent()), $width, $height, 'clnews'); ?>" /></div>
43
  <?php endif; ?>
34
  <?php if ($item->getImageFullContentShow() == 1): ?>
35
  <div class="news_image">
36
  <?php
37
+ $width_max = Mage::getStoreConfig('clnews/news/fulldescr_image_max_width');
38
+ $height_max = Mage::getStoreConfig('clnews/news/fulldescr_image_max_height');
39
+ if (Mage::getStoreConfig('clnews/news/resize_to_max') == 1) {
40
+ $width = $width_max;
41
+ $height = $height_max;
42
+ } else {
43
+ $imageObj = new Varien_Image(Mage::getBaseDir('media') . DS . $item->getImageFullContent());
44
+ $original_width = $imageObj->getOriginalWidth();
45
+ $original_height = $imageObj->getOriginalHeight();
46
+ if ($original_width > $width_max) {
47
+ $width = $width_max;
48
+ } else {
49
+ $width = $original_width;
50
+ }
51
+ if ($original_height > $height_max) {
52
+ $height = $height_max;
53
+ } else {
54
+ $height = $original_height;
55
+ }
56
+ }
57
+ if ($item->getFullWidthResize()): $width = $item->getFullWidthResize(); else: $width; endif;
58
+ if ($item->getFullHeightResize()): $height = $item->getFullHeightResize(); else: $height; endif;
59
  ?>
60
  <img src="<?php echo Mage::helper('clnews')->resizeImage(str_replace('clnews/', '', $item->getImageFullContent()), $width, $height, 'clnews'); ?>" /></div>
61
  <?php endif; ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceLab_News</name>
4
- <version>1.0.0</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>
@@ -34,13 +34,13 @@
34
  &lt;br /&gt;&#xD;
35
  &lt;p&gt;&lt;strong&gt;CommerceLab &#x2013; stay open for the world!&lt;/strong&gt;&lt;/p&gt;&#xD;
36
  &lt;br /&gt;</description>
37
- <notes>Version number: 1.0&#xD;
38
  Stability: Stable&#xD;
39
  Compatibility: 1.4, 1.5, 1.6, 1.7</notes>
40
  <authors><author><name>CommerceLab</name><user>auto-converted</user><email>support@commerce-lab.com</email></author></authors>
41
- <date>2012-03-19</date>
42
- <time>21:43:15</time>
43
- <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="67fbb8494a34d12be38c71d733609a52"/></dir><file name="Edit.php" hash="9360ec5d3aa88fe9dde9f37bd5ed0a80"/><file name="Grid.php" hash="1089d2079e4101a57db30d792013ffc5"/></dir><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="a2f1dd1d22665c5a067a3e42700c701a"/></dir><file name="Edit.php" hash="8de5a9f3de068243fbe0c4eddd58a715"/><file name="Grid.php" hash="6d1dfb07e013e864ead53f3ab1574806"/></dir><dir name="News"><dir name="Edit"><dir name="Tab"><file name="Additional.php" hash="5b0ab5180c2c6192f7a0e6c9a566c09d"/><file name="Info.php" hash="c2e91c7a505ee6ede52ef8ad52b4181c"/></dir><file name="Form.php" hash="9f087b81e9d08db22a719b70c8b504ba"/><file name="Tabs.php" hash="7cfa29c9c00b9e26a9114aef3f3a95e1"/></dir><file name="Edit.php" hash="b509c5c33e895f23d56ff19f085a6b02"/><file name="Grid.php" hash="ad878513ff6b5e1569c62488afa53921"/></dir><file name="Category.php" hash="79b3dde6b9fa76ae62213b7d6e2724b7"/><file name="Comment.php" hash="8be4d51b79855f471d28ebb8efa893cc"/><file name="News.php" hash="ebff7860ffe79041ace0badd257548fa"/></dir><file name="News.php" hash="788dca4c24c60863a289602247e694e1"/><file name="Newsitem.php" hash="263e8591eabbfdf226cb111784eaea54"/><file name="Rss.php" hash="8011e243acfd1f2407ad69f271205315"/></dir><dir name="Controller"><file name="Router.php" hash="9defad284f4ba8ae6adbc1d1479fdb02"/></dir><dir name="Helper"><file name="Data.php" hash="3198da62d7486894b1dfbb0a8cc529c0"/><file name="Versions.php" hash="47847c5ebcbb4afff5db50af3c358df5"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="bcd541e130b269eaa7c881998a1e1ec2"/></dir><dir name="Comment"><file name="Collection.php" hash="0a0735a6169c5b39d8d54a67c2bf181c"/></dir><dir name="News"><file name="Collection.php" hash="3a8d6de820d75ce0caca6319b8b7c780"/></dir><file name="Category.php" hash="09487b65a95b3f26924f3362b5dfc32e"/><file name="Comment.php" hash="50cd3b7a8a7b451723d6038fe0f402d3"/><file name="News.php" hash="7d4c3d7ba217fbe82f3b8c94ead8f9ec"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="44527a7977ce854719b845dc37912548"/></dir><file name="Category.php" hash="e3d279a026d1613ecbd7d5a3b1b5f879"/><file name="Check.php" hash="8a48d77b591b6234f23a34d1cb02e2a3"/><file name="Comment.php" hash="e6ca88fe0a7ba12be87cc8b8ea8467ed"/><file name="News.php" hash="98c8bdfc76f61485437a9da60418395c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="55a5ce77722a8c066348063d2bd7bf8a"/><file name="CommentController.php" hash="bec1545e94875f64582f298ef8de977c"/><file name="NewsController.php" hash="b33e1983da1d98f9d2220403e9fa5fde"/></dir><file name="IndexController.php" hash="a942095b635f345c7d91079d8cc92d75"/><file name="NewsitemController.php" hash="2ad107ffbcfff9f2655784f08195e457"/><file name="RssController.php" hash="53eeaf7b1f992ad4e018fa54cf08044a"/></dir><dir name="etc"><file name="config.xml" hash="4a3cff563130a38bd3dbd7a24a55f8ec"/><file name="system.xml" hash="fc91c1a9c57d8c37fef767e6e60300ca"/></dir><dir name="sql"><dir name="clnews_setup"><file name="mysql4-install-1.0.0.php" hash="59f4d1576540ee5d98b7030ac32d0b3a"/></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="c862118dff765ac146aaa5aaebf396da"/></dir><dir name="template"><dir name="clnews"><file name="latest.phtml" hash="c469069d2d68a260fa95adf4b2dc0c92"/><file name="list.phtml" hash="a676fdf8b7c4dfb777022b2694b14fc5"/><file name="menu.phtml" hash="ce181349e797b49232237ac74c36b047"/><file name="news_print.phtml" hash="2805e2d08a368e74bfdbb234b92950f0"/><file name="newsitem.phtml" hash="e81cc946ebad9a70e068fb4300af0e96"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="CommerceLab_News.xml" hash="8da22cde4606bb3f8a30d40c4dbda6ee"/></dir></dir></dir><dir name="js"><dir name="commercelab"><file name="noconflict.js" hash="8b266e71830972f1999c5af5638b5ff2"/></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><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><file name="print.css" hash="45381611ef35e150daaff426b3f04020"/></dir><dir name="images"><dir name="clnews"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/></dir></dir></dir></dir></dir></dir></target></contents>
44
  <compatible/>
45
  <dependencies/>
46
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceLab_News</name>
4
+ <version>1.0.1</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>
34
  &lt;br /&gt;&#xD;
35
  &lt;p&gt;&lt;strong&gt;CommerceLab &#x2013; stay open for the world!&lt;/strong&gt;&lt;/p&gt;&#xD;
36
  &lt;br /&gt;</description>
37
+ <notes>Version number: 1.0.1&#xD;
38
  Stability: Stable&#xD;
39
  Compatibility: 1.4, 1.5, 1.6, 1.7</notes>
40
  <authors><author><name>CommerceLab</name><user>auto-converted</user><email>support@commerce-lab.com</email></author></authors>
41
+ <date>2012-04-29</date>
42
+ <time>16:19:12</time>
43
+ <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="67fbb8494a34d12be38c71d733609a52"/></dir><file name="Edit.php" hash="9360ec5d3aa88fe9dde9f37bd5ed0a80"/><file name="Grid.php" hash="cd635009de82d5833fffcd5529bc69ad"/></dir><dir name="Comment"><dir name="Edit"><file name="Form.php" hash="a7b57128ebc8db11faeb12c19daf296b"/></dir><file name="Edit.php" hash="8de5a9f3de068243fbe0c4eddd58a715"/><file name="Grid.php" hash="d2ad38f3fc092a0ab9fcf1cbc56883db"/></dir><dir name="News"><dir name="Edit"><dir name="Tab"><file name="Additional.php" hash="5b0ab5180c2c6192f7a0e6c9a566c09d"/><file name="Info.php" hash="c2e91c7a505ee6ede52ef8ad52b4181c"/></dir><file name="Form.php" hash="9f087b81e9d08db22a719b70c8b504ba"/><file name="Tabs.php" hash="7cfa29c9c00b9e26a9114aef3f3a95e1"/></dir><file name="Edit.php" hash="b509c5c33e895f23d56ff19f085a6b02"/><file name="Grid.php" hash="a085b99960e12b8d53227c22532ec23d"/></dir><file name="Category.php" hash="79b3dde6b9fa76ae62213b7d6e2724b7"/><file name="Comment.php" hash="8be4d51b79855f471d28ebb8efa893cc"/><file name="News.php" hash="ebff7860ffe79041ace0badd257548fa"/></dir><file name="News.php" hash="afb8b3e92a1628fab3db44b465aca195"/><file name="Newsitem.php" hash="263e8591eabbfdf226cb111784eaea54"/><file name="Rss.php" hash="8011e243acfd1f2407ad69f271205315"/></dir><dir name="Controller"><file name="Router.php" hash="9defad284f4ba8ae6adbc1d1479fdb02"/></dir><dir name="Helper"><file name="Data.php" hash="54b3e5f59f408f77d0dc5402d4b89cee"/><file name="Versions.php" hash="47847c5ebcbb4afff5db50af3c358df5"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="bcd541e130b269eaa7c881998a1e1ec2"/></dir><dir name="Comment"><file name="Collection.php" hash="0a0735a6169c5b39d8d54a67c2bf181c"/></dir><dir name="News"><file name="Collection.php" hash="3a8d6de820d75ce0caca6319b8b7c780"/></dir><file name="Category.php" hash="09487b65a95b3f26924f3362b5dfc32e"/><file name="Comment.php" hash="50cd3b7a8a7b451723d6038fe0f402d3"/><file name="News.php" hash="7d4c3d7ba217fbe82f3b8c94ead8f9ec"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="44527a7977ce854719b845dc37912548"/></dir><file name="Category.php" hash="e3d279a026d1613ecbd7d5a3b1b5f879"/><file name="Check.php" hash="8a48d77b591b6234f23a34d1cb02e2a3"/><file name="Comment.php" hash="e6ca88fe0a7ba12be87cc8b8ea8467ed"/><file name="News.php" hash="98c8bdfc76f61485437a9da60418395c"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CategoryController.php" hash="55a5ce77722a8c066348063d2bd7bf8a"/><file name="CommentController.php" hash="bec1545e94875f64582f298ef8de977c"/><file name="NewsController.php" hash="b33e1983da1d98f9d2220403e9fa5fde"/></dir><file name="IndexController.php" hash="aed6c752e90fd1d5f363e056a262cf2f"/><file name="NewsitemController.php" hash="2ad107ffbcfff9f2655784f08195e457"/><file name="RssController.php" hash="53eeaf7b1f992ad4e018fa54cf08044a"/></dir><dir name="etc"><file name="config.xml" hash="1404990f6241e79713ee741e58637245"/><file name="system.xml" hash="1649da4981766775b0d5ae4b9007c7b5"/></dir><dir name="sql"><dir name="clnews_setup"><file name="mysql4-install-1.0.0.php" hash="1e262b10cef5e7b6392dfb4f68cc190b"/></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="c862118dff765ac146aaa5aaebf396da"/></dir><dir name="template"><dir name="clnews"><file name="latest.phtml" hash="c469069d2d68a260fa95adf4b2dc0c92"/><file name="list.phtml" hash="42f757e1e4fa4eceffe9f521b7672cc8"/><file name="menu.phtml" hash="ce181349e797b49232237ac74c36b047"/><file name="news_print.phtml" hash="2805e2d08a368e74bfdbb234b92950f0"/><file name="newsitem.phtml" hash="af093b1802a12d5a22138d966938616b"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="CommerceLab_News.xml" hash="8da22cde4606bb3f8a30d40c4dbda6ee"/></dir></dir></dir><dir name="js"><dir name="commercelab"><file name="noconflict.js" hash="8b266e71830972f1999c5af5638b5ff2"/></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><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><dir name="images"><dir name="clnews"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/></dir></dir></dir></dir></dir></dir></target></contents>
44
  <compatible/>
45
  <dependencies/>
46
  </package>
skin/frontend/default/default/css/print.css DELETED
@@ -1,42 +0,0 @@
1
- /**
2
- * Magento
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the Academic Free License (AFL 3.0)
7
- * that is bundled with this package in the file LICENSE_AFL.txt.
8
- * It is also available through the world-wide-web at this URL:
9
- * http://opensource.org/licenses/afl-3.0.php
10
- * If you did not receive a copy of the license and are unable to
11
- * obtain it through the world-wide-web, please send an email
12
- * to license@magentocommerce.com so we can send you a copy immediately.
13
- *
14
- * DISCLAIMER
15
- *
16
- * Do not edit or add to this file if you wish to upgrade Magento to newer
17
- * versions in the future. If you wish to customize Magento for your
18
- * needs please refer to http://www.magentocommerce.com for more information.
19
- *
20
- * @category design
21
- * @package default_default
22
- * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
23
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
- */
25
- * { background:none !important; text-align:left !important; }
26
- html { margin:0 !important; padding:0 !important; }
27
- body { background:#fff !important; padding:0 !important; margin:10px !important; font:9pt Arial, Helvetica, sans-serif !important;}
28
- a { color:#2976c9 !important; }
29
- th,td { color:#2f2f2f !important; border-color:#ccc !important; }
30
-
31
- .header-container,
32
- .nav-container,
33
- .footer-container,
34
- .pager,
35
- .toolbar,
36
- .actions,
37
- .buttons-set,
38
- .print { display:none !important; }
39
-
40
- .page-print .data-table .cart-tax-total { background-position:100% -54px; }
41
- .page-print .data-table .cart-tax-info { display:block !important; }
42
-