diff --git a/admin-dev/themes/default/template/controllers/modules_positions/form.tpl b/admin-dev/themes/default/template/controllers/modules_positions/form.tpl index 608833654..ebd8d9dbc 100644 --- a/admin-dev/themes/default/template/controllers/modules_positions/form.tpl +++ b/admin-dev/themes/default/template/controllers/modules_positions/form.tpl @@ -44,7 +44,7 @@
*
diff --git a/classes/Hook.php b/classes/Hook.php index 7a5349522..1ad1b4ca3 100644 --- a/classes/Hook.php +++ b/classes/Hook.php @@ -98,7 +98,7 @@ class HookCore extends ObjectModel return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT * FROM `'._DB_PREFIX_.'hook` h '.($position ? 'WHERE h.`position` = 1' : '').' - ORDER BY `title`' + ORDER BY `name`' ); } diff --git a/install-dev/data/xml/hook.xml b/install-dev/data/xml/hook.xml index d8625de40..abeb6527e 100644 --- a/install-dev/data/xml/hook.xml +++ b/install-dev/data/xml/hook.xml @@ -8,434 +8,262 @@ - displayPayment - Payment - + displayPaymentPaymentThis hook displays new elements on the payment page - actionValidateOrder - New orders - + actionValidateOrderNew orders - actionPaymentConfirmation - Payment confirmation - + actionPaymentConfirmationPayment confirmationThis hook displays new elements after the payment is validated - displayPaymentReturn - Payment return - + displayPaymentReturnPayment return - actionUpdateQuantity - Quantity update - Quantity is updated only when the customer effectively <b>place</b> his order. + actionUpdateQuantityQuantity updateQuantity is updated only when a customer effectively places their order - displayRightColumn - Right column blocks - + displayRightColumnRight column blocksThis hook displays new elements in the right-hand column - displayLeftColumn - Left column blocks - + displayLeftColumnLeft column blocksThis hook displays new elements in the left-hand column - displayHome - Homepage content - + displayHomeHomepage contentThis hook displays new elements on the homepage - displayHeader - Header of pages - A hook which allow you to do things in the header of each pages + displayHeaderPages headerThis hook displays additional elements in the header of your pages - actionCartSave - Cart creation and update - + actionCartSaveCart creation and updateThis hook is displayed when a product is added to the cart or if the cart's content is modified - actionAuthentication - Successful customer authentication - + actionAuthenticationSuccessful customer authenticationThis hook is displayed after a customer successfully signs in - actionProductAdd - Product creation - + actionProductAddProduct creationThis hook is displayed after a product is created - actionProductUpdate - Product Update - + actionProductUpdateProduct updateThis hook is displayed after a product has been updated - displayTop - Top of pages - A hook which allow you to do things a the top of each pages. + displayTopTop of pagesThis hook displays additional elements at the top of your pages - displayRightColumnProduct - Extra actions on the product page (right column). - + displayRightColumnProductNew elements on the product page (right column)This hook displays new elements in the right-hand column of the product page - actionProductDelete - Product deletion - This hook is called when a product is deleted + actionProductDeleteProduct deletionThis hook is called when a product is deleted - displayFooterProduct - Product footer - Add new blocks under the product description + displayFooterProductProduct footerThis hook adds new blocks under the product's description - displayInvoice - Invoice - Add blocks to invoice (order) + displayInvoiceInvoiceThis hook displays new blocks on the invoice (order) - actionOrderStatusUpdate - Order's status update event - Launch modules when the order's status of an order change. + actionOrderStatusUpdateOrder status update - EventThis hook launches modules when the status of an order changes. - displayAdminOrder - Display in Back-Office, tab AdminOrder - Launch modules when the tab AdminOrder is displayed on back-office. + displayAdminOrderDisplay new elements in the Back Office, tab AdminOrderThis hook launches modules when the AdminOrder" tab is displayed in the Back Office" - displayFooter - Footer - Add block in footer + displayFooterFooterThis hook displays new blocks in the footer - displayPDFInvoice - PDF Invoice - Allow the display of extra informations into the PDF invoice + displayPDFInvoicePDF InvoiceThis hook allows you to display additional information on PDF invoices - displayAdminCustomers - Display in Back-Office, tab AdminCustomers - Launch modules when the tab AdminCustomers is displayed on back-office. + displayAdminCustomersDisplay new elements in the Back Office, tab AdminCustomersThis hook launches modules when the AdminCustomers" tab is displayed in the Back Office" - displayOrderConfirmation - Order confirmation page - Called on order confirmation page + displayOrderConfirmationOrder confirmation pageThis hook is called within an order's confirmation page - actionCustomerAccountAdd - Successful customer create account - Called when new customer create account successfuled + actionCustomerAccountAddSuccessful customer account creationThis hook is called when a new customer creates an account successfully - displayCustomerAccount - Customer account page display in front office - Display on page account of the customer + displayCustomerAccountCustomer account displayed in Front OfficeThis hook displays new elements on the customer account page - actionOrderSlipAdd - Called when a order slip is created - Called when a quantity of one product change in an order. + actionOrderSlipAddOrder slip creationThis hook is called when a product's quantity is modified - displayProductTab - Tabs on product page - Called on order product page tabs + displayProductTabTabs on product pageThis hook is called on the product page's tab - displayProductTabContent - Content of tabs on product page - Called on order product page tabs + displayProductTabContentTabs content on the product pageThis hook is called on the product page's tab - displayShoppingCartFooter - Shopping cart footer - Display some specific informations on the shopping cart page + displayShoppingCartFooterShopping cart footerThis hook displays some specific information on the shopping cart's page - displayCustomerAccountForm - Customer account creation form - Display some information on the form to create a customer account + displayCustomerAccountFormCustomer account creation formThis hook displays some information on the form to create a customer account - displayAdminStatsModules - Stats - Modules - + displayAdminStatsModulesStats - Modules - displayAdminStatsGraphEngine - Graph Engines - + displayAdminStatsGraphEngineGraph engines - actionOrderReturn - Product returned - + actionOrderReturnReturned productThis hook is displayed when a customer returns a product - displayProductButtons - Product actions - Put new action buttons on product page + displayProductButtonsProduct page actionsThis hook adds new action buttons on the product page - displayBackOfficeHome - Administration panel homepage - + displayBackOfficeHomeAdministration panel homepageThis hook is displayed on the admin panel's homepage - displayAdminStatsGridEngine - Grid Engines - + displayAdminStatsGridEngineGrid engines - actionWatermark - Watermark - + actionWatermarkWatermark - actionProductCancel - Product cancelled - This hook is called when you cancel a product in an order + actionProductCancelProduct cancelledThis hook is called when you cancel a product in an order - displayLeftColumnProduct - Extra actions on the product page (left column). - + displayLeftColumnProductNew elements on the product page (left column)This hook displays new elements in the left-hand column of the product page - actionProductOutOfStock - Product out of stock - Make action while product is out of stock + actionProductOutOfStockOut-of-stock productThis hook displays new action buttons if a product is out of stock - actionProductAttributeUpdate - Product attribute update - + actionProductAttributeUpdateProduct attribute updateThis hook is displayed when a product's attribute is updated - displayCarrierList - Extra carrier (module mode) - + displayCarrierListExtra carrier (module mode) - displayShoppingCart - Shopping cart extra button - Display some specific informations + displayShoppingCartShopping cart - Additional buttonThis hook displays new action buttons within the shopping cart - actionSearch - Search - + actionSearchSearch - displayBeforePayment - Redirect in order process - Redirect user to the module instead of displaying payment modules + displayBeforePaymentRedirect during the order processThis hook redirects the user to the module instead of displaying payment modules - actionCarrierUpdate - Carrier Update - This hook is called when a carrier is updated + actionCarrierUpdateCarrier UpdateThis hook is called when a carrier is updated - actionOrderStatusPostUpdate - Post update of order status - + actionOrderStatusPostUpdatePost update of order status - displayCustomerAccountFormTop - Block above the form for create an account - + displayCustomerAccountFormTopBlock above the form for create an accountThis hook is displayed above the customer's account creation form - displayBackOfficeHeader - Administration panel header - + displayBackOfficeHeaderAdministration panel headerThis hook is displayed in the header of the admin panel - displayBackOfficeTop - Administration panel hover the tabs - + displayBackOfficeTopAdministration panel hover the tabsThis hook is displayed on the roll hover of the tabs within the admin panel - displayBackOfficeFooter - Administration panel footer - + displayBackOfficeFooterAdministration panel footerThis hook is displayed within the admin panel's footer - actionProductAttributeDelete - Product Attribute Deletion - + actionProductAttributeDeleteProduct attribute deletionThis hook is displayed when a product's attribute is deleted - actionCarrierProcess - Carrier Process - + actionCarrierProcessCarrier process - actionOrderDetail - Order Detail - To set the follow-up in smarty when order detail is called + actionOrderDetailOrder detailThis hook is used to set the follow-up in Smarty when an order's detail is called - displayBeforeCarrier - Before carrier list - This hook is display before the carrier list on Front office + displayBeforeCarrierBefore carriers listThis hook is displayed before the carrier list in Front Office - displayOrderDetail - Order detail displayed - Displayed on order detail on front office + displayOrderDetailOrder detailThis hook is displayed within the order's details in Front Office - actionPaymentCCAdd - Payment CC added - Payment CC added + actionPaymentCCAddPayment CC added - displayProductComparison - Extra Product Comparison - Extra Product Comparison + displayProductComparisonExtra product comparison - actionCategoryAdd - Category creation - + actionCategoryAddCategory creationThis hook is displayed when a category is created - actionCategoryUpdate - Category modification - + actionCategoryUpdateCategory modificationThis hook is displayed when a category is modified - actionCategoryDelete - Category removal - + actionCategoryDeleteCategory deletionThis hook is displayed when a category is deleted - actionBeforeAuthentication - Before Authentication - Before authentication + actionBeforeAuthenticationBefore authenticationThis hook is displayed before the customer's authentication - displayPaymentTop - Top of payment page - Top of payment page + displayPaymentTopTop of payment pageThis hook is displayed at the top of the payment page - actionHtaccessCreate - After htaccess creation - After htaccess creation + actionHtaccessCreateAfter htaccess creationThis hook is displayed after the htaccess creation - actionAdminMetaSave - After save configuration in AdminMeta - After save configuration in AdminMeta + actionAdminMetaSaveAfter saving the configuration in AdminMetaThis hook is displayed after saving the configuration in AdminMeta - displayAttributeGroupForm - Add fields to the form "attribute group" - Add fields to the form "attribute group" + displayAttributeGroupFormAdd fields to the form 'attribute group'This hook adds fields to the form 'attribute group' - actionAttributeGroupSave - On saving attribute group - On saving attribute group + actionAttributeGroupSaveSaving an attribute groupThis hook is called while saving an attributes group - actionAttributeGroupDelete - On deleting attribute group - On deleting attribute group + actionAttributeGroupDeleteDeleting attribute groupThis hook is called while deleting an attributes group - displayFeatureForm - Add fields to the form "feature" - Add fields to the form "feature" + displayFeatureFormAdd fields to the form 'feature'This hook adds fields to the form 'feature' - actionFeatureSave - On saving attribute feature - On saving attribute feature + actionFeatureSaveSaving attributes' featuresThis hook is called while saving an attributes features - actionFeatureDelete - On deleting attribute feature - On deleting attribute feature + actionFeatureDeleteDeleting attributes' featuresThis hook is called while deleting an attributes features - actionProductSave - On saving products - On saving products + actionProductSaveSaving productsThis hook is called while saving products - actionProductListOverride - Assign product list to a category - Assign product list to a category + actionProductListOverrideAssign a products list to a categoryThis hook assigns a products list to a category - displayAttributeGroupPostProcess - On post-process in admin attribute group - On post-process in admin attribute group + displayAttributeGroupPostProcessOn post-process in admin attribute groupThis hook is called on post-process in admin attribute group - displayFeaturePostProcess - On post-process in admin feature - On post-process in admin feature + displayFeaturePostProcessOn post-process in admin featureThis hook is called on post-process in admin feature - displayFeatureValueForm - Add fields to the form "feature value" - Add fields to the form "feature value" + displayFeatureValueFormAdd fields to the form 'feature value'This hook adds fields to the form 'feature value' - displayFeatureValuePostProcess - On post-process in admin feature value - On post-process in admin feature value + displayFeatureValuePostProcessOn post-process in admin feature valueThis hook is called on post-process in admin feature value - actionFeatureValueDelete - On deleting attribute feature value - On deleting attribute feature value + actionFeatureValueDeleteDeleting attributes' features' valuesThis hook is called while deleting an attributes features value - actionFeatureValueSave - On saving attribute feature value - On saving attribute feature value + actionFeatureValueSaveSaving an attributes features valueThis hook is called while saving an attributes features value - displayAttributeForm - Add fields to the form "attribute value" - Add fields to the form "attribute value" + displayAttributeFormAdd fields to the form 'attribute value'This hook adds fields to the form 'attribute value' - actionAttributePostProcess - On post-process in admin feature value - On post-process in admin feature value + actionAttributePostProcessOn post-process in admin feature valueThis hook is called on post-process in admin feature value - actionAttributeDelete - On deleting attribute feature value - On deleting attribute feature value + actionAttributeDeleteDeleting an attributes features valueThis hook is called while deleting an attributes features value - actionAttributeSave - On saving attribute feature value - On saving attribute feature value + actionAttributeSaveSaving an attributes features valueThis hook is called while saving an attributes features value - actionTaxManager - Tax Manager Factory - + actionTaxManagerTax Manager Factory - displayMyAccountBlock - My account block - Display extra informations inside the "my account" block + displayMyAccountBlockMy account blockThis hook displays extra information within the 'my account' block"