//modules added ->bootstrap = true;

This commit is contained in:
Vincent Augagneur
2013-11-05 18:08:01 +01:00
parent 657c8f415a
commit d27fe93daa
41 changed files with 81 additions and 40 deletions
+2 -1
View File
@@ -54,7 +54,8 @@ class BankWire extends PaymentModule
if (isset($config['BANK_WIRE_ADDRESS']))
$this->address = $config['BANK_WIRE_ADDRESS'];
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Bank Wire');
$this->description = $this->l('Accept payments for your products via bank wire.');
@@ -49,7 +49,8 @@ class BlockAdvertising extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Block advertising');
$this->description = $this->l('Adds an advertisement block to selected sections of your e-commerce webiste.');
@@ -41,7 +41,8 @@ class BlockBestSellers extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Top-seller block');
$this->description = $this->l('Add a block displaying your store\'s top-selling products.');
+2 -1
View File
@@ -37,7 +37,8 @@ class BlockCart extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Cart block');
$this->description = $this->l('Adds a block containing the customer\'s shopping cart.');
+2 -1
View File
@@ -36,7 +36,8 @@ class BlockCategories extends Module
$this->version = '2.2';
$this->author = 'PrestaShop';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Categories block');
$this->description = $this->l('Adds a block featuring product categories.');
+2 -1
View File
@@ -43,7 +43,8 @@ class BlockCms extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('CMS Block');
$this->description = $this->l('Adds a block with several CMS links.');
+2 -1
View File
@@ -35,7 +35,8 @@ class Blockcontact extends Module
$this->tab = 'front_office_features';
$this->version = '1.0';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Contact Block');
$this->description = $this->l('Allows you to add additional information about your store\'s customer service.');
@@ -39,7 +39,8 @@ class Blockcontactinfos extends Module
$this->tab = 'Blocks';
$this->version = '1.0';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Block contact info');
$this->description = $this->l('This module will allow you to display your e-store\'s contact information in a customizable block.');
@@ -40,7 +40,8 @@ class Blockcustomerprivacy extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Customer data privacy block.');
$this->description = $this->l('Adds a block displaying a message about a customer\'s privacy data. ');
+2 -1
View File
@@ -40,7 +40,8 @@ class BlockLink extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Link block');
$this->description = $this->l('Adds a block with additional links.');
@@ -37,7 +37,8 @@ class BlockManufacturer extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Manufacturers block');
$this->description = $this->l('Displays a block listing product manufacturers and/or brands.');
@@ -37,7 +37,8 @@ class BlockNewProducts extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('New products block');
$this->description = $this->l('Displays a block featuring your store\'s newest products.');
+2 -1
View File
@@ -40,7 +40,8 @@ class Blocknewsletter extends Module
$this->tab = 'front_office_features';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Newsletter block');
$this->description = $this->l('Adds a block for newsletter subscription.');
@@ -37,7 +37,8 @@ class BlockPaymentLogo extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Payment logo block.');
$this->description = $this->l('This block will display all of your payment logos.');
@@ -41,7 +41,8 @@ class Blockreinsurance extends Module
$this->tab = 'Blocks';
$this->version = '2.0';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Customer reassurance block');
$this->description = $this->l('Adds an information block aimed at offering helpful information to reassure customers that your store is trustworthy.');
+2 -1
View File
@@ -41,7 +41,8 @@ class Blockrss extends Module
$this->tab = 'front_office_features';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('RSS feed block');
$this->description = $this->l('Adds a block displaying an RSS feed.');
+2 -1
View File
@@ -35,7 +35,8 @@ class blocksocial extends Module
$this->tab = 'front_office_features';
$this->version = '1.0';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Social networking block');
$this->description = $this->l('Allows you to add information about your brand\'s social networking sites.');
+2 -1
View File
@@ -40,7 +40,8 @@ class BlockSpecials extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Specials block');
$this->description = $this->l('Adds a block displaying current product specials.');
+2 -1
View File
@@ -37,7 +37,8 @@ class BlockStore extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Store locator block');
$this->description = $this->l('Displays a store locator link directly on your webiste.');
+2 -1
View File
@@ -37,7 +37,8 @@ class BlockSupplier extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Suppliers block');
$this->description = $this->l('Adds a block displaying product suppliers.');
+2 -1
View File
@@ -39,7 +39,8 @@ class BlockTags extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Tags block');
$this->description = $this->l('Adds a block containing product tags.');
+2 -1
View File
@@ -55,7 +55,8 @@ class Blocktopmenu extends Module
$this->version = 1.6;
$this->author = 'PrestaShop';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Top horizontal menu');
$this->description = $this->l('Add a new horizontal menu to the top of your e-commerce website.');
+2 -1
View File
@@ -40,7 +40,8 @@ class BlockViewed extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Viewed products block.');
$this->description = $this->l('Adds a block displaying recently viewed products.');
+2 -1
View File
@@ -42,7 +42,8 @@ class BlockWishList extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Wishlist block');
$this->description = $this->l('Adds a block containing the customer\'s wishlists.');
+2 -1
View File
@@ -40,7 +40,8 @@ class CarrierCompare extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Shipping Estimate');
$this->description = $this->l('Compares carrier choices before checkout.');
+2 -1
View File
@@ -52,7 +52,8 @@ class Cheque extends PaymentModule
if (isset($config['CHEQUE_ADDRESS']))
$this->address = $config['CHEQUE_ADDRESS'];
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Payments by check');
$this->description = $this->l('This module allows you to accept payments by check.');
+2 -1
View File
@@ -39,7 +39,8 @@ class CrossSelling extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Cross Selling');
$this->description = $this->l('Customers who bought this product also bought:');
+2 -1
View File
@@ -39,7 +39,8 @@ class DateOfDelivery extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Date of delivery');
$this->description = $this->l('Displays an approximate date of delivery');
+2 -1
View File
@@ -45,7 +45,8 @@ class Followup extends Module
'PS_FOLLOW_UP_DAYS_THRESHOLD_4',
'PS_FOLLOW_UP_CLEAN_DB');
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Customer follow-up');
$this->description = $this->l('Follow-up with your customers with daily customized e-mails.');
+2 -1
View File
@@ -40,7 +40,8 @@ class HomeFeatured extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Featured products on the homepage.');
$this->description = $this->l('Displays featured products in the middle of your homepage.');
+1
View File
@@ -46,6 +46,7 @@ class HomeSlider extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
$this->secure_key = Tools::encrypt($this->name);
$this->bootstrap = true;
parent::__construct();
+2 -1
View File
@@ -46,7 +46,8 @@ class Loyalty extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Customer loyalty and rewards');
$this->description = $this->l('Provide a loyalty program to your customers.');
+2 -1
View File
@@ -50,7 +50,8 @@ class MailAlerts extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
if ($this->id)
$this->init();
+2 -1
View File
@@ -41,7 +41,8 @@ class Newsletter extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Newsletter');
$this->description = $this->l('Generates a .CSV file for mass mailings');
@@ -39,7 +39,8 @@ class productsCategory extends Module
$this->tab = 'front_office_features';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Products Category');
$this->description = $this->l('Display products of the same category on the product page.');
+2 -1
View File
@@ -37,7 +37,8 @@ class ProductToolTip extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Product tooltips');
$this->description = $this->l('Show how many people are watching a product page, last sale and last cart added.');
+2 -1
View File
@@ -38,7 +38,8 @@ class PSCleaner extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('PrestaShop Cleaner');
$this->description = $this->l('Check and fix functional integrity constraints and remove default data');
+2 -1
View File
@@ -36,7 +36,8 @@ class ReferralProgram extends Module
$this->version = '1.5.1';
$this->author = 'PrestaShop';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->confirmUninstall = $this->l('All sponsors and friends will be deleted. Are you sure you want to uninstall this module?');
$this->displayName = $this->l('Customer referral program');
+2 -1
View File
@@ -37,7 +37,8 @@ class StatsData extends Module
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Data mining for statistics');
$this->description = $this->l('This module must be enabled if you want to use statistics.');
+2 -1
View File
@@ -39,7 +39,8 @@ class VatNumber extends TaxManagerModule
$this->tax_manager_class = 'VATNumberTaxManager';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$id_country = (int)Configuration::get('VATNUMBER_COUNTRY');
if ($id_country == 0)
+2 -1
View File
@@ -46,7 +46,8 @@ class Watermark extends Module
$this->version = '0.3';
$this->author = 'PrestaShop';
parent::__construct();
$this->bootstrap = true;
parent::__construct();
$config = Configuration::getMultiple(array('WATERMARK_TYPES', 'WATERMARK_Y_ALIGN', 'WATERMARK_X_ALIGN', 'WATERMARK_TRANSPARENCY'));
if (!isset($config['WATERMARK_TYPES']))