Version Notes
Version number: 1.0.2.2
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.2.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.2.1 to 1.0.2.2
- app/code/community/CommerceLab/News/Block/Adminhtml/Category.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/Category/Edit.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/Category/Edit/Form.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/Category/Grid.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/Comment.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Edit.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Edit/Form.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Grid.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/News.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Form.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tab/Additional.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tab/Info.php +2 -2
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tabs.php +1 -1
- app/code/community/CommerceLab/News/Block/Adminhtml/News/Grid.php +1 -1
- app/code/community/CommerceLab/News/Block/News.php +38 -11
- app/code/community/CommerceLab/News/Block/Newsitem.php +1 -1
- app/code/community/CommerceLab/News/Block/Rss.php +1 -1
- app/code/community/CommerceLab/News/Controller/Router.php +1 -1
- app/code/community/CommerceLab/News/Helper/Data.php +10 -1
- app/code/community/CommerceLab/News/Helper/Versions.php +1 -1
- app/code/community/CommerceLab/News/Model/Category.php +1 -1
- app/code/community/CommerceLab/News/Model/Check.php +1 -1
- app/code/community/CommerceLab/News/Model/Comment.php +1 -1
- app/code/community/CommerceLab/News/Model/Mysql4/Category.php +1 -1
- app/code/community/CommerceLab/News/Model/Mysql4/Category/Collection.php +1 -1
- app/code/community/CommerceLab/News/Model/Mysql4/Comment.php +1 -1
- app/code/community/CommerceLab/News/Model/Mysql4/Comment/Collection.php +1 -1
- app/code/community/CommerceLab/News/Model/Mysql4/News.php +11 -16
- app/code/community/CommerceLab/News/Model/Mysql4/News/Collection.php +1 -1
- app/code/community/CommerceLab/News/Model/News.php +1 -1
- app/code/community/CommerceLab/News/Model/Wysiwyg/Config.php +1 -1
- app/code/community/CommerceLab/News/controllers/Adminhtml/CategoryController.php +1 -1
- app/code/community/CommerceLab/News/controllers/Adminhtml/CommentController.php +1 -1
- app/code/community/CommerceLab/News/controllers/Adminhtml/NewsController.php +1 -1
- app/code/community/CommerceLab/News/controllers/IndexController.php +1 -1
- app/code/community/CommerceLab/News/controllers/NewsitemController.php +1 -1
- app/code/community/CommerceLab/News/controllers/RssController.php +1 -1
- app/code/community/CommerceLab/News/etc/system.xml +9 -0
- app/code/community/CommerceLab/News/sql/clnews_setup/mysql4-install-1.0.0.php +1 -1
- app/locale/de_DE/CommerceLab_News.csv +147 -0
- app/locale/en_US/CommerceLab_News.csv +150 -1
- app/locale/it_IT/CommerceLab_News.csv +1 -1
- package.xml +5 -5
app/code/community/CommerceLab/News/Block/Adminhtml/Category.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/Category/Edit.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/Category/Edit/Form.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/Category/Grid.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/Comment.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Edit.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Edit/Form.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/Comment/Grid.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/News.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Form.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tab/Additional.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tab/Info.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
|
@@ -51,7 +51,7 @@ class CommerceLab_News_Block_Adminhtml_News_Edit_Tab_Info extends Mage_Adminhtml
|
|
| 51 |
'label' => Mage::helper('clnews')->__('URL Key'),
|
| 52 |
'title' => Mage::helper('clnews')->__('URL Key'),
|
| 53 |
'class' => 'required-entry',
|
| 54 |
-
'required' =>
|
| 55 |
'name' => 'url_key',
|
| 56 |
'class' => 'validate-identifier',
|
| 57 |
'after_element_html' => '<div class="hint"><p class="note">'.$this->__('e.g. domain.com/news/url_key').'</p></div>',
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 51 |
'label' => Mage::helper('clnews')->__('URL Key'),
|
| 52 |
'title' => Mage::helper('clnews')->__('URL Key'),
|
| 53 |
'class' => 'required-entry',
|
| 54 |
+
'required' => false,
|
| 55 |
'name' => 'url_key',
|
| 56 |
'class' => 'validate-identifier',
|
| 57 |
'after_element_html' => '<div class="hint"><p class="note">'.$this->__('e.g. domain.com/news/url_key').'</p></div>',
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Edit/Tabs.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Adminhtml/News/Grid.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/News.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
|
@@ -20,6 +20,7 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
|
|
| 20 |
protected $_pagesCount = null;
|
| 21 |
protected $_currentPage = null;
|
| 22 |
protected $_itemsOnPage = 10;
|
|
|
|
| 23 |
protected $_pages;
|
| 24 |
protected $_latestItemsCount = 2;
|
| 25 |
|
|
@@ -35,6 +36,16 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
|
|
| 35 |
$this->_itemsOnPage = $itemsPerPage;
|
| 36 |
}
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
$latestItemsCount = (int)Mage::getStoreConfig('clnews/news/latestitemscount');
|
| 39 |
if ($latestItemsCount > 0) {
|
| 40 |
$this->_latestItemsCount = $latestItemsCount;
|
|
@@ -98,17 +109,19 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
|
|
| 98 |
|
| 99 |
public function getCategoryKey()
|
| 100 |
{
|
| 101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
|
| 104 |
public function getNewsItems()
|
| 105 |
{
|
| 106 |
$collection = Mage::getModel('clnews/news')->getCollection();
|
| 107 |
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
->addCategoryFilter($category);
|
| 111 |
-
$this->setCategory($category);*/
|
| 112 |
$catCollection = Mage::getModel('clnews/category')->getCollection()
|
| 113 |
->addFieldToFilter('url_key', $category)
|
| 114 |
->addStoreFilter(Mage::app()->getStore()->getId());
|
|
@@ -143,14 +156,26 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
|
|
| 143 |
1 => array('is' => new Zend_Db_Expr('null'))),
|
| 144 |
), 'left')
|
| 145 |
->setOrder('news_time ', 'desc');
|
| 146 |
-
$this->
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
for ($i=1; $i<=$this->_pagesCount;$i++) {
|
| 148 |
$this->_pages[] = $i;
|
| 149 |
}
|
| 150 |
$this->setLastPageNum($this->_pagesCount);
|
| 151 |
|
| 152 |
-
$
|
| 153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
|
| 155 |
foreach ($collection as $item) {
|
| 156 |
$comments = Mage::getModel('clnews/comment')->getCollection()
|
|
@@ -196,7 +221,9 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
|
|
| 196 |
{
|
| 197 |
$route = Mage::helper('clnews')->getRoute();
|
| 198 |
$title = Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title'));
|
| 199 |
-
$this->getParentBlock()
|
|
|
|
|
|
|
| 200 |
}
|
| 201 |
|
| 202 |
public function getItemUrl($itemId) {
|
|
@@ -229,7 +256,7 @@ class CommerceLab_News_Block_News extends Mage_Core_Block_Template
|
|
| 229 |
|
| 230 |
public function getPageUrl($page)
|
| 231 |
{
|
| 232 |
-
if ($category = $this->
|
| 233 |
return $this->getUrl('*', array('category' => $category, 'page' => $page));
|
| 234 |
} else {
|
| 235 |
return $this->getUrl('*', array('page' => $page));
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 20 |
protected $_pagesCount = null;
|
| 21 |
protected $_currentPage = null;
|
| 22 |
protected $_itemsOnPage = 10;
|
| 23 |
+
protected $_itemsLimit;
|
| 24 |
protected $_pages;
|
| 25 |
protected $_latestItemsCount = 2;
|
| 26 |
|
| 36 |
$this->_itemsOnPage = $itemsPerPage;
|
| 37 |
}
|
| 38 |
|
| 39 |
+
$itemsLimit = (int)$this->getData('itemslimit');
|
| 40 |
+
if ($itemsLimit==null) {
|
| 41 |
+
$itemsLimit = (int)Mage::getStoreConfig('clnews/news/itemslimit');
|
| 42 |
+
}
|
| 43 |
+
if ($itemsLimit > 0) {
|
| 44 |
+
$this->_itemsLimit = $itemsLimit;
|
| 45 |
+
} else {
|
| 46 |
+
$this->_itemsLimit = null;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
$latestItemsCount = (int)Mage::getStoreConfig('clnews/news/latestitemscount');
|
| 50 |
if ($latestItemsCount > 0) {
|
| 51 |
$this->_latestItemsCount = $latestItemsCount;
|
| 109 |
|
| 110 |
public function getCategoryKey()
|
| 111 |
{
|
| 112 |
+
$category = $this->getData('category');
|
| 113 |
+
if ($category==null) {
|
| 114 |
+
$category = $this->getRequest()->getParam('category');
|
| 115 |
+
}
|
| 116 |
+
return $category;
|
| 117 |
}
|
| 118 |
|
| 119 |
public function getNewsItems()
|
| 120 |
{
|
| 121 |
$collection = Mage::getModel('clnews/news')->getCollection();
|
| 122 |
|
| 123 |
+
$category = $this->getCategoryKey();
|
| 124 |
+
if ($category!=null) {
|
|
|
|
|
|
|
| 125 |
$catCollection = Mage::getModel('clnews/category')->getCollection()
|
| 126 |
->addFieldToFilter('url_key', $category)
|
| 127 |
->addStoreFilter(Mage::app()->getStore()->getId());
|
| 156 |
1 => array('is' => new Zend_Db_Expr('null'))),
|
| 157 |
), 'left')
|
| 158 |
->setOrder('news_time ', 'desc');
|
| 159 |
+
if ($this->_itemsLimit!=null && $this->_itemsLimit<$collection->getSize()) {
|
| 160 |
+
$this->_pagesCount = ceil($this->_itemsLimit/$this->_itemsOnPage);
|
| 161 |
+
} else {
|
| 162 |
+
$this->_pagesCount = ceil($collection->getSize()/$this->_itemsOnPage);
|
| 163 |
+
}
|
| 164 |
for ($i=1; $i<=$this->_pagesCount;$i++) {
|
| 165 |
$this->_pages[] = $i;
|
| 166 |
}
|
| 167 |
$this->setLastPageNum($this->_pagesCount);
|
| 168 |
|
| 169 |
+
$offset = $this->_itemsOnPage*($this->_currentPage-1);
|
| 170 |
+
if ($this->_itemsLimit!=null) {
|
| 171 |
+
$_itemsCurrentPage = $this->_itemsLimit - $offset;
|
| 172 |
+
if ($_itemsCurrentPage > $this->_itemsOnPage) {
|
| 173 |
+
$_itemsCurrentPage = $this->_itemsOnPage;
|
| 174 |
+
}
|
| 175 |
+
$collection->getSelect()->limit($_itemsCurrentPage, $offset);
|
| 176 |
+
} else {
|
| 177 |
+
$collection->getSelect()->limit($this->_itemsOnPage, $offset);
|
| 178 |
+
}
|
| 179 |
|
| 180 |
foreach ($collection as $item) {
|
| 181 |
$comments = Mage::getModel('clnews/comment')->getCollection()
|
| 221 |
{
|
| 222 |
$route = Mage::helper('clnews')->getRoute();
|
| 223 |
$title = Mage::helper('clnews')->__(Mage::getStoreConfig('clnews/news/title'));
|
| 224 |
+
if ($this->getParentBlock() && $this->getParentBlock()!=null) {
|
| 225 |
+
$this->getParentBlock()->addLink($title, $route, $title, true, array(), 15, null, 'class="top-link-news"');
|
| 226 |
+
}
|
| 227 |
}
|
| 228 |
|
| 229 |
public function getItemUrl($itemId) {
|
| 256 |
|
| 257 |
public function getPageUrl($page)
|
| 258 |
{
|
| 259 |
+
if ($category = $this->getCategoryKey()) {
|
| 260 |
return $this->getUrl('*', array('category' => $category, 'page' => $page));
|
| 261 |
} else {
|
| 262 |
return $this->getUrl('*', array('page' => $page));
|
app/code/community/CommerceLab/News/Block/Newsitem.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Block/Rss.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Controller/Router.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Helper/Data.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
|
@@ -169,4 +169,13 @@ class CommerceLab_News_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 169 |
$imagePath=str_replace(DS, "/", $imagePath);
|
| 170 |
return Mage::getBaseUrl("media") . $imagePath . "/" . $resizePath . "/" . $imageName;
|
| 171 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
}
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 169 |
$imagePath=str_replace(DS, "/", $imagePath);
|
| 170 |
return Mage::getBaseUrl("media") . $imagePath . "/" . $resizePath . "/" . $imageName;
|
| 171 |
}
|
| 172 |
+
|
| 173 |
+
public function formatUrlKey($str)
|
| 174 |
+
{
|
| 175 |
+
$urlKey = preg_replace('#[^0-9a-z]+#i', '-', Mage::helper('catalog/product_url')->format($str));
|
| 176 |
+
$urlKey = strtolower($urlKey);
|
| 177 |
+
$urlKey = trim($urlKey, '-');
|
| 178 |
+
|
| 179 |
+
return $urlKey;
|
| 180 |
+
}
|
| 181 |
}
|
app/code/community/CommerceLab/News/Helper/Versions.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Category.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Check.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Comment.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Mysql4/Category.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Mysql4/Category/Collection.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Mysql4/Comment.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Mysql4/Comment/Collection.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Mysql4/News.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
|
@@ -21,13 +21,21 @@ class CommerceLab_News_Model_Mysql4_News extends Mage_Core_Model_Mysql4_Abstract
|
|
| 21 |
$this->_init('clnews/news', 'news_id');
|
| 22 |
}
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
protected function _afterSave(Mage_Core_Model_Abstract $object)
|
| 25 |
{
|
| 26 |
$condition = $this->_getWriteAdapter()->quoteInto('news_id = ?', $object->getId());
|
| 27 |
$this->_getWriteAdapter()->delete($this->getTable('news_store'), $condition);
|
| 28 |
|
| 29 |
-
//print_r((array)$object->getData('stores'));
|
| 30 |
-
//die;
|
| 31 |
if (count($object->getData('stores')) && (!in_array(0, (array)$object->getData('stores')))) {
|
| 32 |
foreach ((array)$object->getData('stores') as $store) {
|
| 33 |
$data = array();
|
|
@@ -89,17 +97,4 @@ class CommerceLab_News_Model_Mysql4_News extends Mage_Core_Model_Mysql4_Abstract
|
|
| 89 |
$adapter->delete($this->getTable('clnews/news_category'), 'news_id='.$object->getId());
|
| 90 |
$adapter->delete($this->getTable('clnews/comment'), 'news_id='.$object->getId());
|
| 91 |
}
|
| 92 |
-
/*
|
| 93 |
-
protected function _getLoadSelect($field, $value, $object)
|
| 94 |
-
{
|
| 95 |
-
|
| 96 |
-
$select = parent::_getLoadSelect($field, $value, $object);
|
| 97 |
-
if ($object->getCategoryId()) {
|
| 98 |
-
$select->join(array(
|
| 99 |
-
'category_store_table' => $this->getTable('category_store')),
|
| 100 |
-
$this->getMainTable().'.category_id = category_store_table.category_id')
|
| 101 |
-
->where('category_store_table.store_id in (0, ?) ', Mage::app()->getStore()->getId());
|
| 102 |
-
}
|
| 103 |
-
return $select;
|
| 104 |
-
}*/
|
| 105 |
}
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 21 |
$this->_init('clnews/news', 'news_id');
|
| 22 |
}
|
| 23 |
|
| 24 |
+
protected function _beforeSave(Mage_Core_Model_Abstract $object)
|
| 25 |
+
{
|
| 26 |
+
$urlKey = trim($object->getData('url_key'));
|
| 27 |
+
if ($urlKey=='') {
|
| 28 |
+
$urlKey = $object->getData('title');
|
| 29 |
+
}
|
| 30 |
+
$object->setData('url_key', Mage::helper('clnews')->formatUrlKey($urlKey));
|
| 31 |
+
return parent::_beforeSave($object);
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
protected function _afterSave(Mage_Core_Model_Abstract $object)
|
| 35 |
{
|
| 36 |
$condition = $this->_getWriteAdapter()->quoteInto('news_id = ?', $object->getId());
|
| 37 |
$this->_getWriteAdapter()->delete($this->getTable('news_store'), $condition);
|
| 38 |
|
|
|
|
|
|
|
| 39 |
if (count($object->getData('stores')) && (!in_array(0, (array)$object->getData('stores')))) {
|
| 40 |
foreach ((array)$object->getData('stores') as $store) {
|
| 41 |
$data = array();
|
| 97 |
$adapter->delete($this->getTable('clnews/news_category'), 'news_id='.$object->getId());
|
| 98 |
$adapter->delete($this->getTable('clnews/comment'), 'news_id='.$object->getId());
|
| 99 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
}
|
app/code/community/CommerceLab/News/Model/Mysql4/News/Collection.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/News.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/Model/Wysiwyg/Config.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/controllers/Adminhtml/CategoryController.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/controllers/Adminhtml/CommentController.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/controllers/Adminhtml/NewsController.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/controllers/IndexController.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/controllers/NewsitemController.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/controllers/RssController.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/code/community/CommerceLab/News/etc/system.xml
CHANGED
|
@@ -59,6 +59,15 @@
|
|
| 59 |
<show_in_website>1</show_in_website>
|
| 60 |
<show_in_store>1</show_in_store>
|
| 61 |
</itemsperpage>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
<showrightblock translate="label">
|
| 63 |
<label>Show News Category Block in Right Column</label>
|
| 64 |
<frontend_type>select</frontend_type>
|
| 59 |
<show_in_website>1</show_in_website>
|
| 60 |
<show_in_store>1</show_in_store>
|
| 61 |
</itemsperpage>
|
| 62 |
+
<itemslimit translate="label">
|
| 63 |
+
<label>Articles Limit</label>
|
| 64 |
+
<comment>Limit for the total number of articles</comment>
|
| 65 |
+
<frontend_type>text</frontend_type>
|
| 66 |
+
<sort_order>30</sort_order>
|
| 67 |
+
<show_in_default>1</show_in_default>
|
| 68 |
+
<show_in_website>1</show_in_website>
|
| 69 |
+
<show_in_store>1</show_in_store>
|
| 70 |
+
</itemslimit>
|
| 71 |
<showrightblock translate="label">
|
| 72 |
<label>Show News Category Block in Right Column</label>
|
| 73 |
<frontend_type>select</frontend_type>
|
app/code/community/CommerceLab/News/sql/clnews_setup/mysql4-install-1.0.0.php
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
-
* @copyright Copyright (c)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
| 11 |
*
|
| 12 |
* @category CommerceLab
|
| 13 |
* @package CommerceLab_News
|
| 14 |
+
* @copyright Copyright (c) 2012 CommerceLab Co. (http://commerce-lab.com)
|
| 15 |
* @license http://commerce-lab.com/LICENSE.txt
|
| 16 |
*/
|
| 17 |
|
app/locale/de_DE/CommerceLab_News.csv
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"Home","Home"
|
| 2 |
+
"Go to Home Page","Zur Home Page"
|
| 3 |
+
"Return to %s","Zurück zu %s"
|
| 4 |
+
"News","Nachrichten"
|
| 5 |
+
"Cannot retrieve the news","die Nachricht ist unmöglich zu sehen"
|
| 6 |
+
"Category Manager","Kategorien verwalten"
|
| 7 |
+
"Add Category","Kategorie hinzufügen"
|
| 8 |
+
"Comment Manager","Kommentare verwalten"
|
| 9 |
+
"News Manager","Nachrichten verwalten"
|
| 10 |
+
"Add New Article","Neuer Artikel hinzufügen"
|
| 11 |
+
"Save Category","Kategorie speichern"
|
| 12 |
+
"Delete Category","Kategorie löschen"
|
| 13 |
+
"Edit Category '%s'","Kategorie %s bearbeiten"
|
| 14 |
+
"ID","ID"
|
| 15 |
+
"Title","Titel"
|
| 16 |
+
"URL Key","URL-Bezeichner"
|
| 17 |
+
"Sort Order","Reihenfolge"
|
| 18 |
+
"Are you sure?","Sind Sie sicher?"
|
| 19 |
+
"Category Information","Kategorie Information"
|
| 20 |
+
"Keywords","Schlüsselwörter"
|
| 21 |
+
"Meta Keywords","Meta-Schlüsselwörter"
|
| 22 |
+
"Description","Beschreibung"
|
| 23 |
+
"Meta Description","Meta-Beschreibung"
|
| 24 |
+
"Save Comment","Kommentar speichern"
|
| 25 |
+
"Delete Comment","Kommentar löschen"
|
| 26 |
+
"Edit Comment By '%s'","Kommentar von %s bearbeiten"
|
| 27 |
+
"Add Comment","Kommentar hinzufügen"
|
| 28 |
+
"Comment","Kommentar"
|
| 29 |
+
"News Name","Nachrichtentitel"
|
| 30 |
+
"User","Kunde"
|
| 31 |
+
"E-mail","Email"
|
| 32 |
+
"Created","Erstellt am"
|
| 33 |
+
"Status","Status"
|
| 34 |
+
"Action","Aktion"
|
| 35 |
+
"News Article","Nachrichtsartikel"
|
| 36 |
+
"Go to News Article","Zur Nachrichtsartikel"
|
| 37 |
+
"Approve","Annehmen"
|
| 38 |
+
"Not Approve","Nicht annehmen"
|
| 39 |
+
"Comment Information","Kommentarinformation"
|
| 40 |
+
"Email Address","E-Mail Adresse"
|
| 41 |
+
"Unapproved","Nicht angenommen"
|
| 42 |
+
"Approved","Angenommen"
|
| 43 |
+
"Save News Article","Artikel speichern"
|
| 44 |
+
"Delete News Article","Artikel löschen"
|
| 45 |
+
"Edit News Article '%s'","Artikel '%s' bearbeiten"
|
| 46 |
+
"Add News Article","Artikel hinzufügen"
|
| 47 |
+
"Author","Autor"
|
| 48 |
+
"Updated","Zuletzt geändert"
|
| 49 |
+
"Enabled","Aktiviert"
|
| 50 |
+
"Disabled","Deaktiviert"
|
| 51 |
+
"Comments","Kommentare"
|
| 52 |
+
"View comments","Kommentare anzeigen"
|
| 53 |
+
"Change status","Status ändern"
|
| 54 |
+
"Main Information","Hauptinformation"
|
| 55 |
+
"Additional Options","Zusätzliche Optionen"
|
| 56 |
+
"News Time Settings","Nachrichtzeit Einstellungen"
|
| 57 |
+
"News Time","Nachrichtzeit"
|
| 58 |
+
"Next to the Article will be stated current time","Neben dem Artikel werden aktuelle Uhrzeit angegeben"
|
| 59 |
+
"Publish From:","Veröffentlichen über:"
|
| 60 |
+
"Hours","Stunden"
|
| 61 |
+
"Minutes","Minuten"
|
| 62 |
+
"Publish Until:","Veröffentlichen bis:"
|
| 63 |
+
"Meta Data","Meta-Daten"
|
| 64 |
+
"Advanced Post Options","Post erweiterte Optionen"
|
| 65 |
+
"Author name","Autor Name"
|
| 66 |
+
"News information","Nachricht Information"
|
| 67 |
+
"Store View","Store View"
|
| 68 |
+
"Category","Kategorie"
|
| 69 |
+
"File","Datei"
|
| 70 |
+
"Delete File","Datei löschen"
|
| 71 |
+
"Link Name","Link Name"
|
| 72 |
+
"Add Tags","Tags hinzufügen"
|
| 73 |
+
"Use Full Description Image","Verwenden Ausführliche Beschreibung Bild"
|
| 74 |
+
"Image for Short Description","Bild für Kurzbeschreibung"
|
| 75 |
+
"Resize Image Height","Ändern Bildhöhe"
|
| 76 |
+
"Resize Image Width","Ändern Bildbreite"
|
| 77 |
+
"Show Image","Bild anzeigen"
|
| 78 |
+
"Short Description","Kurzbeschreibung"
|
| 79 |
+
"Image for Full Description","Bild für die vollständige Beschreibung"
|
| 80 |
+
"Full Description","Vollständige Beschreibung"
|
| 81 |
+
"Comments are not enabled.","Kommentare sind nicht aktiviert."
|
| 82 |
+
"Your comment has been successfully sent. It will be added after approval by our admin","Ihr Kommentar wurde erfolgreich versendet. Es wird nach Genehmigung nach Admin hinzugefügt."
|
| 83 |
+
"Thank you for adding a comment.","Vielen Dank für das Hinzufügen eines Kommentars."
|
| 84 |
+
"Page access error","Fehler beim Zugriff auf"
|
| 85 |
+
"Category was successfully saved","Kategorie wurde erfolgreich gespeichert"
|
| 86 |
+
"Category was successfully deleted","Kategorie wurde erfolgreich gelöscht"
|
| 87 |
+
"Comment was successfully saved","Kommentar wurde erfolgreich gespeichert"
|
| 88 |
+
"Comment was successfully deleted","Kommentar wurde erfolgreich gelöscht"
|
| 89 |
+
"News article does not exist","Gibt es keine solche Nachrichten"
|
| 90 |
+
"The same news url_key already exists","Die gleiche url_key bereits existiert"
|
| 91 |
+
"News article has been successfully saved","Nachricht Artikel wurde erfolgreich gespeichert"
|
| 92 |
+
"No items to save","Keine Artikel zu speichern"
|
| 93 |
+
"Platform version is not correct for News module!","Platform Version ist nicht unterstützt"
|
| 94 |
+
"Submit Comment","Kommentar abschicken"
|
| 95 |
+
"Name","Name"
|
| 96 |
+
"Email","E-Mail"
|
| 97 |
+
"You must be logged in to post a comment.","Sie mussen eingeloggt sein um einen Kommentar abschicken"
|
| 98 |
+
"click here","klicken hier"
|
| 99 |
+
"to log in","um sich einzuloggen"
|
| 100 |
+
"News Settings","Nachrichten Einstellungen"
|
| 101 |
+
"News Title","Nachrichten Titel"
|
| 102 |
+
"Route to News","Nachrichten Seite URL"
|
| 103 |
+
"Show Breadcrumbs","zeigen Breadcrumbs"
|
| 104 |
+
"Articles per Page","Artikel pro Seite"
|
| 105 |
+
"Articles Limit", "max Anzahl der Artikeln"
|
| 106 |
+
"Show News Category Block in Right Column", "Nachrichtkategorien in der rechten Block zeigen"
|
| 107 |
+
"Show News Category Block in Left Column", "Nachrichtkategorien in der linken Block zeigen"
|
| 108 |
+
"The number of articles displayed per page","Die Anzahl der Artikel pro Seite"
|
| 109 |
+
"Show Latest News Block","Letzte Nachrichten Block zeigen"
|
| 110 |
+
"Q-ty in the Latest Block","Artikeln in der Letzte Nachrichten Block"
|
| 111 |
+
"Set the number","Stellen Sie die Anzahl"
|
| 112 |
+
"Show Date of the News","Datum der Nachricht zeigen"
|
| 113 |
+
"Show Time of the News","Zeit der Nachricht zeigen"
|
| 114 |
+
"Show Author of the News","Autor der Nachricht zeigen"
|
| 115 |
+
"Show Category of the News","Kategorie der Nachricht zeigen"
|
| 116 |
+
"default: view more","Standard: mehr anzeigen"
|
| 117 |
+
"Name of the Link","Linkname"
|
| 118 |
+
"example: view more","Beispiel: mehr anzeigen"
|
| 119 |
+
"Tags for the News","Tags für die Nachrichten"
|
| 120 |
+
"Enable Google Button for News","Google Schaltfläche Aktivieren"
|
| 121 |
+
"Enable Twitter Button for News","Twitter Schaltfläche Aktivieren"
|
| 122 |
+
"Enable Facebook Button for News","Facebook Schaltfläche Aktivieren"
|
| 123 |
+
"Enable LinkedIn Button for News","LinkedIn Schaltfläche Aktivieren"
|
| 124 |
+
"Default Meta Title","Standard Meta Titel"
|
| 125 |
+
"Default Meta Keywords","Standard Meta Keywords"
|
| 126 |
+
"Default Meta Description","Standard Meta Description"
|
| 127 |
+
"Short Description Image Max Width","Kurzbeschreibung Bild Max Weite"
|
| 128 |
+
"Short Description Image Max Height","Kurzbeschreibung Bild Max Höhe"
|
| 129 |
+
"Full Description Image Max Width","Vollständige Beschreibung Bild Max Weite"
|
| 130 |
+
"Full Description Image Max Height","Vollständige Beschreibung Bild Max Höhe"
|
| 131 |
+
"Resize always to Max Values","Ändern immer Max Werte"
|
| 132 |
+
"Send comments to email","Kommentare an E-Mail senden"
|
| 133 |
+
"Is Confirmation Required","Ist Bestätigung erforderlich"
|
| 134 |
+
"Should user be logged in to leave a comment","Sollten Anwender eingeloggt sein um einen Kommentar zu lassen?"
|
| 135 |
+
"Comments per Page","Kommentare pro Seite"
|
| 136 |
+
"The number of comments displayed per page","Die Anzahl der Kommentare pro Seite"
|
| 137 |
+
"RSS Feed","RSS Feed"
|
| 138 |
+
"Articles to show","Die Anzahl der Artikeln zu zeigen"
|
| 139 |
+
"Number of articles to show in the RSS feed.","Anzahl der Artikel in den RSS-Feed anzuzeigen"
|
| 140 |
+
"Enable Link ""View More""","Link ""Mehr anzeigen"" aktivieren"
|
| 141 |
+
"e.g. ""news"" will make the news accessible from domain.com/news. Should not contain slashes. Leave blank for default - news","e.g. ""news"" will make the news accessible from domain.com/news. Should not contain slashes. Leave blank for default - news".
|
| 142 |
+
"Leave blank to disable","Leer lassen um zu deaktivieren"
|
| 143 |
+
"Use comma for multiple words","Verwenden Sie Kommas nach mehreren Wörtern"
|
| 144 |
+
"e.g. domain.com/news/url_key","z.B. domain.de/nachrichten/url_key"
|
| 145 |
+
"e.g. Download attached document - default","z.B. Laden Sie beigefügtes Dokument - Standard"
|
| 146 |
+
"Print version", "Druckversion"
|
| 147 |
+
"Back", "zurück"
|
app/locale/en_US/CommerceLab_News.csv
CHANGED
|
@@ -1 +1,150 @@
|
|
| 1 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"Home","Home"
|
| 2 |
+
"Go to Home Page","Go to Home Page"
|
| 3 |
+
"Return to %s","Return to %s"
|
| 4 |
+
"News","News"
|
| 5 |
+
"Cannot retrieve the news","Cannot retrieve the news"
|
| 6 |
+
"Category Manager","Category Manager"
|
| 7 |
+
"Add Category","Add Category"
|
| 8 |
+
"Comment Manager","Comment Manager"
|
| 9 |
+
"News Manager","News Manager"
|
| 10 |
+
"Add New Article","Add New Article"
|
| 11 |
+
"Save Category","Save Category"
|
| 12 |
+
"Delete Category","Delete Category"
|
| 13 |
+
"Edit Category '%s'","Edit Category '%s'"
|
| 14 |
+
"ID","ID"
|
| 15 |
+
"Title","Title"
|
| 16 |
+
"URL Key","URL Key"
|
| 17 |
+
"Sort Order","Sort Order"
|
| 18 |
+
"Action","Action"
|
| 19 |
+
"Edit","Edit"
|
| 20 |
+
"Delete","Delete"
|
| 21 |
+
"Are you sure?","Are you sure?"
|
| 22 |
+
"Category Information","Category Information"
|
| 23 |
+
"Keywords","Keywords"
|
| 24 |
+
"Meta Keywords","Meta Keywords"
|
| 25 |
+
"Description","Description"
|
| 26 |
+
"Meta Description","Meta Description"
|
| 27 |
+
"Save Comment","Save Comment"
|
| 28 |
+
"Delete Comment","Delete Comment"
|
| 29 |
+
"Edit Comment By '%s'","Edit Comment By '%s'"
|
| 30 |
+
"Add Comment","Add Comment"
|
| 31 |
+
"Comment","Comment"
|
| 32 |
+
"News Name","News Name"
|
| 33 |
+
"User","User"
|
| 34 |
+
"E-mail","E-mail"
|
| 35 |
+
"Created","Created"
|
| 36 |
+
"Status","Status"
|
| 37 |
+
"Action","Action"
|
| 38 |
+
"News Article","News Article"
|
| 39 |
+
"Go to News Article","Go to News Article"
|
| 40 |
+
"Approve","Approve"
|
| 41 |
+
"Not Approve","Not Approve"
|
| 42 |
+
"Comment Information","Comment Information"
|
| 43 |
+
"User","User"
|
| 44 |
+
"Email Address","Email Address"
|
| 45 |
+
"Unapproved","Unapproved"
|
| 46 |
+
"Approved","Approved"
|
| 47 |
+
"Save News Article","Save News Article"
|
| 48 |
+
"Delete News Article","Delete News Article"
|
| 49 |
+
"Edit News Article '%s'","Edit News Article '%s'"
|
| 50 |
+
"Add News Article","Add News Article"
|
| 51 |
+
"Author","Author"
|
| 52 |
+
"Updated","Updated"
|
| 53 |
+
"Enabled","Enabled"
|
| 54 |
+
"Disabled","Disabled"
|
| 55 |
+
"Comments","Comments"
|
| 56 |
+
"View comments","View comments"
|
| 57 |
+
"Change status","Change status"
|
| 58 |
+
"Main Information","Main Information"
|
| 59 |
+
"Additional Options","Additional Options"
|
| 60 |
+
"News Time Settings","News Time Settings"
|
| 61 |
+
"News Time","News Time"
|
| 62 |
+
"Next to the Article will be stated current time","Next to the Article will be stated current time"
|
| 63 |
+
"Publish From:","Publish From:"
|
| 64 |
+
"Hours","Hours"
|
| 65 |
+
"Minutes","Minutes"
|
| 66 |
+
"Publish Until:","Publish Until:"
|
| 67 |
+
"Meta Data","Meta Data"
|
| 68 |
+
"Advanced Post Options","Advanced Post Options"
|
| 69 |
+
"Author name","Author name"
|
| 70 |
+
"News information","News information"
|
| 71 |
+
"Store View","Store View"
|
| 72 |
+
"Category","Category"
|
| 73 |
+
"File","File"
|
| 74 |
+
"Delete File","Delete File"
|
| 75 |
+
"Link Name","Link Name"
|
| 76 |
+
"Add Tags","Add Tags"
|
| 77 |
+
"Use Full Description Image","Use Full Description Image"
|
| 78 |
+
"Image for Short Description","Image for Short Description"
|
| 79 |
+
"Resize Image Height","Resize Image Height"
|
| 80 |
+
"Resize Image Width","Resize Image Width"
|
| 81 |
+
"Show Image","Show Image"
|
| 82 |
+
"Yes","Yes"
|
| 83 |
+
"No","No"
|
| 84 |
+
"Short Description","Short Description"
|
| 85 |
+
"Image for Full Description","Image for Full Description"
|
| 86 |
+
"Full Description","Full Description"
|
| 87 |
+
"Comments are not enabled.","Comments are not enabled."
|
| 88 |
+
"Your comment has been successfully sent. It will be added after approval by our admin","Your comment has been successfully sent. It will be added after approval by our admin"
|
| 89 |
+
"Thank you for adding a comment.","Thank you for adding a comment."
|
| 90 |
+
"Page access error","Page access error"
|
| 91 |
+
"Category was successfully saved","Category was successfully saved"
|
| 92 |
+
"Category was successfully deleted","Category was successfully deleted"
|
| 93 |
+
"Comment was successfully saved","Comment was successfully saved"
|
| 94 |
+
"Comment was successfully deleted","Comment was successfully deleted"
|
| 95 |
+
"News article does not exist","News article does not exist"
|
| 96 |
+
"The same news url_key already exists","The same news url_key already exists"
|
| 97 |
+
"News article has been successfully saved","News article has been successfully saved"
|
| 98 |
+
"No items to save","No items to save"
|
| 99 |
+
"Platform version is not correct for News module!","Platform version is not correct for News module!"
|
| 100 |
+
"Submit Comment","Submit Comment"
|
| 101 |
+
"Name","Name"
|
| 102 |
+
"Email","Email"
|
| 103 |
+
"You must be logged in to post a comment.","You must be logged in to post a comment."
|
| 104 |
+
"click here","click here"
|
| 105 |
+
"to log in","to log in"
|
| 106 |
+
"News Settings","News Settings"
|
| 107 |
+
"News Title","News Title"
|
| 108 |
+
"Route to News","Route to News"
|
| 109 |
+
"Show Breadcrumbs","Show Breadcrumbs"
|
| 110 |
+
"Articles per Page","Articles per Page"
|
| 111 |
+
"Articles Limit", "Articles Limit"
|
| 112 |
+
"The number of articles displayed per page","The number of articles displayed per page"
|
| 113 |
+
"Show Latest News Block","Show Latest News Block"
|
| 114 |
+
"Q-ty in the Latest Block","Q-ty in the Latest Block"
|
| 115 |
+
"Set the number","Set the number"
|
| 116 |
+
"Show Date of the News","Show Date of the News"
|
| 117 |
+
"Show Time of the News","Show Time of the News"
|
| 118 |
+
"Show Author of the News","Show Author of the News"
|
| 119 |
+
"Show Category of the News","Show Category of the News"
|
| 120 |
+
"default: view more","default: view more"
|
| 121 |
+
"Name of the Link","Name of the Link"
|
| 122 |
+
"example: view more","example: view more"
|
| 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"
|
| 130 |
+
"Default Meta Description","Default Meta Description"
|
| 131 |
+
"Short Description Image Max Width","Short Description Image Max Width"
|
| 132 |
+
"Short Description Image Max Height","Short Description Image Max Height"
|
| 133 |
+
"Full Description Image Max Width","Full Description Image Max Width"
|
| 134 |
+
"Full Description Image Max Height","Full Description Image Max Height"
|
| 135 |
+
"Resize always to Max Values","Resize always to Max Values"
|
| 136 |
+
"Send comments to email","Send comments to email"
|
| 137 |
+
"Templare email","Templare email"
|
| 138 |
+
"Is Confirmation Required","Is Confirmation Required"
|
| 139 |
+
"Should user be logged in to leave a comment","Should user be logged in to leave a comment"
|
| 140 |
+
"Comments per Page","Comments per Page"
|
| 141 |
+
"The number of comments displayed per page","The number of comments displayed per page"
|
| 142 |
+
"RSS Feed","RSS Feed"
|
| 143 |
+
"Articles to show","Articles to show"
|
| 144 |
+
"Number of articles to show in the RSS feed.","Number of articles to show in the RSS feed."
|
| 145 |
+
"Enable Link ""View More""","Enable Link ""View More"""
|
| 146 |
+
"e.g. ""news"" will make the news accessible from domain.com/news. Should not contain slashes. Leave blank for default - news","e.g. ""news"" will make the news accessible from domain.com/news. Should not contain slashes. Leave blank for default - news"
|
| 147 |
+
"Leave blank to disable","Leave blank to disable"
|
| 148 |
+
"Use comma for multiple words","Use comma for multiple words"
|
| 149 |
+
"e.g. domain.com/news/url_key","e.g. domain.com/news/url_key"
|
| 150 |
+
"e.g. Download attached document - default","e.g. Download attached document - default"
|
app/locale/it_IT/CommerceLab_News.csv
CHANGED
|
@@ -108,6 +108,7 @@
|
|
| 108 |
"Route to News","URL pagina notizie"
|
| 109 |
"Show Breadcrumbs","Mostra percorso"
|
| 110 |
"Articles per Page","Articoli per pagina"
|
|
|
|
| 111 |
"The number of articles displayed per page","Numero di articoli elencati su ogni pagina"
|
| 112 |
"Show Latest News Block","Mostra blocco Ultime notizie"
|
| 113 |
"Q-ty in the Latest Block","N. di articoli nel blocco Ultime notizie"
|
|
@@ -133,7 +134,6 @@
|
|
| 133 |
"Full Description Image Max Height","Max alt. immagine testo completo"
|
| 134 |
"Resize always to Max Values","Riporta sempre ai valori max"
|
| 135 |
"Send comments to email","Inoltra commenti a questa email"
|
| 136 |
-
"Templare email","Modello email"
|
| 137 |
"Is Confirmation Required","E' richiesta conferma?"
|
| 138 |
"Should user be logged in to leave a comment","E' richiesto l'accesso per inviare commenti?"
|
| 139 |
"Comments per Page","Commenti per pagina"
|
| 108 |
"Route to News","URL pagina notizie"
|
| 109 |
"Show Breadcrumbs","Mostra percorso"
|
| 110 |
"Articles per Page","Articoli per pagina"
|
| 111 |
+
"Articles Limit", "Limite Notizie"
|
| 112 |
"The number of articles displayed per page","Numero di articoli elencati su ogni pagina"
|
| 113 |
"Show Latest News Block","Mostra blocco Ultime notizie"
|
| 114 |
"Q-ty in the Latest Block","N. di articoli nel blocco Ultime notizie"
|
| 134 |
"Full Description Image Max Height","Max alt. immagine testo completo"
|
| 135 |
"Resize always to Max Values","Riporta sempre ai valori max"
|
| 136 |
"Send comments to email","Inoltra commenti a questa email"
|
|
|
|
| 137 |
"Is Confirmation Required","E' richiesta conferma?"
|
| 138 |
"Should user be logged in to leave a comment","E' richiesto l'accesso per inviare commenti?"
|
| 139 |
"Comments per Page","Commenti per pagina"
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>CommerceLab_News</name>
|
| 4 |
-
<version>1.0.2.
|
| 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 |
<br />
|
| 36 |
<p><strong>CommerceLab – stay open for the world!</strong></p>
|
| 37 |
<br /></description>
|
| 38 |
-
<notes>Version number: 1.0.2.
|
| 39 |
Stability: Stable
|
| 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-
|
| 43 |
-
<time>10:
|
| 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="
|
| 45 |
<compatible/>
|
| 46 |
<dependencies/>
|
| 47 |
</package>
|
| 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 |
<br />
|
| 36 |
<p><strong>CommerceLab – stay open for the world!</strong></p>
|
| 37 |
<br /></description>
|
| 38 |
+
<notes>Version number: 1.0.2.2
|
| 39 |
Stability: Stable
|
| 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>
|
