// Fix install on hooks + synchronise data

This commit is contained in:
rMalie
2011-12-27 10:49:27 +00:00
parent f4e0e6b1a0
commit 4b899b1eeb
9 changed files with 120 additions and 117 deletions
+7 -4
View File
@@ -746,7 +746,7 @@ class InstallXmlLoader
if ($this->entityExists($entity)) if ($this->entityExists($entity))
$xml = $this->loadEntity($entity); $xml = $this->loadEntity($entity);
else else
$xml = new SimpleXMLElement('<entity_'.$entity.' />'); $xml = new InstallSimplexmlElement('<entity_'.$entity.' />');
unset($xml->fields); unset($xml->fields);
// Fill <fields> attributes (config) // Fill <fields> attributes (config)
@@ -843,7 +843,7 @@ class InstallXmlLoader
if (!is_dir($this->lang_path.$iso.'/data')) if (!is_dir($this->lang_path.$iso.'/data'))
mkdir($this->lang_path.$iso.'/data'); mkdir($this->lang_path.$iso.'/data');
$xml_node = new SimpleXMLElement('<entity_'.$entity.' />'); $xml_node = new InstallSimplexmlElement('<entity_'.$entity.' />');
$this->createXmlEntityNodes($entity, $nodes, $xml_node); $this->createXmlEntityNodes($entity, $nodes, $xml_node);
$xml_node->asXML($this->lang_path.$iso.'/data/'.$entity.'.xml'); $xml_node->asXML($this->lang_path.$iso.'/data/'.$entity.'.xml');
} }
@@ -1120,9 +1120,12 @@ class InstallXmlLoader
{ {
$image = new Image($image['id_image']); $image = new Image($image['id_image']);
$image_path = $image->getExistingImgPath(); $image_path = $image->getExistingImgPath();
copy($from_path.$image_path.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'.'.$image->image_format); if (file_exists($from_path.$image_path.'.'.$image->image_format))
copy($from_path.$image_path.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'.'.$image->image_format);
foreach ($types as $type) foreach ($types as $type)
copy($from_path.$image_path.'-'.$type.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'-'.$type.'.'.$image->image_format); if (file_exists($from_path.$image_path.'-'.$type.'.'.$image->image_format))
copy($from_path.$image_path.'-'.$type.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'-'.$type.'.'.$image->image_format);
} }
} }
+2 -2
View File
@@ -5,8 +5,8 @@
<field name="id_group" relation="group"/> <field name="id_group" relation="group"/>
</fields> </fields>
<entities> <entities>
<category_group id="category_group_1_1" id_category="Home" id_group="Unidentified"/> <category_group id="category_group_1_1" id_category="Home" id_group="Visitor"/>
<category_group id="category_group_1_2" id_category="Home" id_group="Guest"/> <category_group id="category_group_1_2" id_category="Home" id_group="Guest"/>
<category_group id="category_group_1_3" id_category="Home" id_group="Default"/> <category_group id="category_group_1_3" id_category="Home" id_group="Customer"/>
</entities> </entities>
</entity_category_group> </entity_category_group>
+14 -14
View File
@@ -192,13 +192,13 @@
<value>0</value> <value>0</value>
</configuration> </configuration>
<configuration id="PS_1_3_UPDATE_DATE" name="PS_1_3_UPDATE_DATE"> <configuration id="PS_1_3_UPDATE_DATE" name="PS_1_3_UPDATE_DATE">
<value>2011-12-22 23:47:41</value> <value>2011-12-27 10:20:42</value>
</configuration> </configuration>
<configuration id="PS_PRICE_ROUND_MODE" name="PS_PRICE_ROUND_MODE"> <configuration id="PS_PRICE_ROUND_MODE" name="PS_PRICE_ROUND_MODE">
<value>2</value> <value>2</value>
</configuration> </configuration>
<configuration id="PS_1_3_2_UPDATE_DATE" name="PS_1_3_2_UPDATE_DATE"> <configuration id="PS_1_3_2_UPDATE_DATE" name="PS_1_3_2_UPDATE_DATE">
<value>2011-12-22 23:47:41</value> <value>2011-12-27 10:20:42</value>
</configuration> </configuration>
<configuration id="PS_CONDITIONS_CMS_ID" name="PS_CONDITIONS_CMS_ID"> <configuration id="PS_CONDITIONS_CMS_ID" name="PS_CONDITIONS_CMS_ID">
<value>3</value> <value>3</value>
@@ -342,7 +342,7 @@
<value>1</value> <value>1</value>
</configuration> </configuration>
<configuration id="PS_IMG_UPDATE_TIME" name="PS_IMG_UPDATE_TIME"> <configuration id="PS_IMG_UPDATE_TIME" name="PS_IMG_UPDATE_TIME">
<value>1324594061</value> <value>1324977642</value>
</configuration> </configuration>
<configuration id="PS_BACKUP_DROP_TABLE" name="PS_BACKUP_DROP_TABLE"> <configuration id="PS_BACKUP_DROP_TABLE" name="PS_BACKUP_DROP_TABLE">
<value>1</value> <value>1</value>
@@ -494,6 +494,15 @@
<configuration id="PS_SMARTY_CONSOLE" name="PS_SMARTY_CONSOLE"> <configuration id="PS_SMARTY_CONSOLE" name="PS_SMARTY_CONSOLE">
<value>0</value> <value>0</value>
</configuration> </configuration>
<configuration id="PS_INVOICE_MODEL" name="PS_INVOICE_MODEL">
<value>invoice</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_IMAGE_VALUE" name="PS_LIMIT_UPLOAD_IMAGE_VALUE">
<value>2</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_FILE_VALUE" name="PS_LIMIT_UPLOAD_FILE_VALUE">
<value>2</value>
</configuration>
<configuration id="MB_PAY_TO_EMAIL" name="MB_PAY_TO_EMAIL"> <configuration id="MB_PAY_TO_EMAIL" name="MB_PAY_TO_EMAIL">
<value/> <value/>
</configuration> </configuration>
@@ -840,7 +849,7 @@
<value>1.5.0.2</value> <value>1.5.0.2</value>
</configuration> </configuration>
<configuration id="PS_SHOP_NAME" name="PS_SHOP_NAME"> <configuration id="PS_SHOP_NAME" name="PS_SHOP_NAME">
<value>PrestaShop</value> <value>Test</value>
</configuration> </configuration>
<configuration id="PS_SHOP_EMAIL" name="PS_SHOP_EMAIL"> <configuration id="PS_SHOP_EMAIL" name="PS_SHOP_EMAIL">
<value>raphael.malie@gmail.com</value> <value>raphael.malie@gmail.com</value>
@@ -849,16 +858,7 @@
<value>1</value> <value>1</value>
</configuration> </configuration>
<configuration id="PS_SHOP_ACTIVITY" name="PS_SHOP_ACTIVITY"> <configuration id="PS_SHOP_ACTIVITY" name="PS_SHOP_ACTIVITY">
<value>0</value> <value>10</value>
</configuration>
<configuration id="PS_INVOICE_MODEL" name="PS_INVOICE_MODEL">
<value>invoice</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_IMAGE_VALUE" name="PS_LIMIT_UPLOAD_IMAGE_VALUE">
<value>2</value>
</configuration>
<configuration id="PS_LIMIT_UPLOAD_FILE_VALUE" name="PS_LIMIT_UPLOAD_FILE_VALUE">
<value>2</value>
</configuration> </configuration>
</entities> </entities>
</entity_configuration> </entity_configuration>
+86 -86
View File
@@ -7,432 +7,432 @@
<field name="live_edit"/> <field name="live_edit"/>
</fields> </fields>
<entities> <entities>
<hook id="displayPayment" live_edit="1" is_native="0"> <hook id="displayPayment" live_edit="1">
<name>displayPayment</name> <name>displayPayment</name>
<title>Payment</title> <title>Payment</title>
<description/> <description/>
</hook> </hook>
<hook id="actionValidateOrder" live_edit="0" is_native="0"> <hook id="actionValidateOrder" live_edit="0">
<name>actionValidateOrder</name> <name>actionValidateOrder</name>
<title>New orders</title> <title>New orders</title>
<description/> <description/>
</hook> </hook>
<hook id="actionPaymentConfirmation" live_edit="0" is_native="0"> <hook id="actionPaymentConfirmation" live_edit="0">
<name>actionPaymentConfirmation</name> <name>actionPaymentConfirmation</name>
<title>Payment confirmation</title> <title>Payment confirmation</title>
<description/> <description/>
</hook> </hook>
<hook id="displayPaymentReturn" live_edit="0" is_native="0"> <hook id="displayPaymentReturn" live_edit="0">
<name>displayPaymentReturn</name> <name>displayPaymentReturn</name>
<title>Payment return</title> <title>Payment return</title>
<description/> <description/>
</hook> </hook>
<hook id="actionUpdateQuantity" live_edit="0" is_native="0"> <hook id="actionUpdateQuantity" live_edit="0">
<name>actionUpdateQuantity</name> <name>actionUpdateQuantity</name>
<title>Quantity update</title> <title>Quantity update</title>
<description>Quantity is updated only when the customer effectively &lt;b&gt;place&lt;/b&gt; his order.</description> <description>Quantity is updated only when the customer effectively &lt;b&gt;place&lt;/b&gt; his order.</description>
</hook> </hook>
<hook id="displayRightColumn" live_edit="1" is_native="0"> <hook id="displayRightColumn" live_edit="1">
<name>displayRightColumn</name> <name>displayRightColumn</name>
<title>Right column blocks</title> <title>Right column blocks</title>
<description/> <description/>
</hook> </hook>
<hook id="displayLeftColumn" live_edit="1" is_native="0"> <hook id="displayLeftColumn" live_edit="1">
<name>displayLeftColumn</name> <name>displayLeftColumn</name>
<title>Left column blocks</title> <title>Left column blocks</title>
<description/> <description/>
</hook> </hook>
<hook id="displayHome" live_edit="1" is_native="0"> <hook id="displayHome" live_edit="1">
<name>displayHome</name> <name>displayHome</name>
<title>Homepage content</title> <title>Homepage content</title>
<description/> <description/>
</hook> </hook>
<hook id="displayHeader" live_edit="0" is_native="0"> <hook id="displayHeader" live_edit="0">
<name>displayHeader</name> <name>displayHeader</name>
<title>Header of pages</title> <title>Header of pages</title>
<description>A hook which allow you to do things in the header of each pages</description> <description>A hook which allow you to do things in the header of each pages</description>
</hook> </hook>
<hook id="actionCartSave" live_edit="0" is_native="0"> <hook id="actionCartSave" live_edit="0">
<name>actionCartSave</name> <name>actionCartSave</name>
<title>Cart creation and update</title> <title>Cart creation and update</title>
<description/> <description/>
</hook> </hook>
<hook id="actionAuthentication" live_edit="0" is_native="0"> <hook id="actionAuthentication" live_edit="0">
<name>actionAuthentication</name> <name>actionAuthentication</name>
<title>Successful customer authentication</title> <title>Successful customer authentication</title>
<description/> <description/>
</hook> </hook>
<hook id="actionProductAdd" live_edit="0" is_native="0"> <hook id="actionProductAdd" live_edit="0">
<name>actionProductAdd</name> <name>actionProductAdd</name>
<title>Product creation</title> <title>Product creation</title>
<description/> <description/>
</hook> </hook>
<hook id="actionProductUpdate" live_edit="0" is_native="0"> <hook id="actionProductUpdate" live_edit="0">
<name>actionProductUpdate</name> <name>actionProductUpdate</name>
<title>Product Update</title> <title>Product Update</title>
<description/> <description/>
</hook> </hook>
<hook id="displayTop" live_edit="0" is_native="0"> <hook id="displayTop" live_edit="0">
<name>displayTop</name> <name>displayTop</name>
<title>Top of pages</title> <title>Top of pages</title>
<description>A hook which allow you to do things a the top of each pages.</description> <description>A hook which allow you to do things a the top of each pages.</description>
</hook> </hook>
<hook id="displayRightColumnProduct" live_edit="0" is_native="0"> <hook id="displayRightColumnProduct" live_edit="0">
<name>displayRightColumnProduct</name> <name>displayRightColumnProduct</name>
<title>Extra actions on the product page (right column).</title> <title>Extra actions on the product page (right column).</title>
<description/> <description/>
</hook> </hook>
<hook id="actionProductDelete" live_edit="0" is_native="0"> <hook id="actionProductDelete" live_edit="0">
<name>actionProductDelete</name> <name>actionProductDelete</name>
<title>Product deletion</title> <title>Product deletion</title>
<description>This hook is called when a product is deleted</description> <description>This hook is called when a product is deleted</description>
</hook> </hook>
<hook id="displayFooterProduct" live_edit="1" is_native="0"> <hook id="displayFooterProduct" live_edit="1">
<name>displayFooterProduct</name> <name>displayFooterProduct</name>
<title>Product footer</title> <title>Product footer</title>
<description>Add new blocks under the product description</description> <description>Add new blocks under the product description</description>
</hook> </hook>
<hook id="displayInvoice" live_edit="0" is_native="0"> <hook id="displayInvoice" live_edit="0">
<name>displayInvoice</name> <name>displayInvoice</name>
<title>Invoice</title> <title>Invoice</title>
<description>Add blocks to invoice (order)</description> <description>Add blocks to invoice (order)</description>
</hook> </hook>
<hook id="actionOrderStatusUpdate" live_edit="0" is_native="0"> <hook id="actionOrderStatusUpdate" live_edit="0">
<name>actionOrderStatusUpdate</name> <name>actionOrderStatusUpdate</name>
<title>Order's status update event</title> <title>Order's status update event</title>
<description>Launch modules when the order's status of an order change.</description> <description>Launch modules when the order's status of an order change.</description>
</hook> </hook>
<hook id="displayAdminOrder" live_edit="0" is_native="0"> <hook id="displayAdminOrder" live_edit="0">
<name>displayAdminOrder</name> <name>displayAdminOrder</name>
<title>Display in Back-Office, tab AdminOrder</title> <title>Display in Back-Office, tab AdminOrder</title>
<description>Launch modules when the tab AdminOrder is displayed on back-office.</description> <description>Launch modules when the tab AdminOrder is displayed on back-office.</description>
</hook> </hook>
<hook id="displayFooter" live_edit="0" is_native="0"> <hook id="displayFooter" live_edit="0">
<name>displayFooter</name> <name>displayFooter</name>
<title>Footer</title> <title>Footer</title>
<description>Add block in footer</description> <description>Add block in footer</description>
</hook> </hook>
<hook id="displayPDFInvoice" live_edit="0" is_native="0"> <hook id="displayPDFInvoice" live_edit="0">
<name>displayPDFInvoice</name> <name>displayPDFInvoice</name>
<title>PDF Invoice</title> <title>PDF Invoice</title>
<description>Allow the display of extra informations into the PDF invoice</description> <description>Allow the display of extra informations into the PDF invoice</description>
</hook> </hook>
<hook id="displayAdminCustomers" live_edit="0" is_native="0"> <hook id="displayAdminCustomers" live_edit="0">
<name>displayAdminCustomers</name> <name>displayAdminCustomers</name>
<title>Display in Back-Office, tab AdminCustomers</title> <title>Display in Back-Office, tab AdminCustomers</title>
<description>Launch modules when the tab AdminCustomers is displayed on back-office.</description> <description>Launch modules when the tab AdminCustomers is displayed on back-office.</description>
</hook> </hook>
<hook id="displayOrderConfirmation" live_edit="0" is_native="0"> <hook id="displayOrderConfirmation" live_edit="0">
<name>displayOrderConfirmation</name> <name>displayOrderConfirmation</name>
<title>Order confirmation page</title> <title>Order confirmation page</title>
<description>Called on order confirmation page</description> <description>Called on order confirmation page</description>
</hook> </hook>
<hook id="actionCustomerAccountAdd" live_edit="0" is_native="0"> <hook id="actionCustomerAccountAdd" live_edit="0">
<name>actionCustomerAccountAdd</name> <name>actionCustomerAccountAdd</name>
<title>Successful customer create account</title> <title>Successful customer create account</title>
<description>Called when new customer create account successfuled</description> <description>Called when new customer create account successfuled</description>
</hook> </hook>
<hook id="displayCustomerAccount" live_edit="0" is_native="0"> <hook id="displayCustomerAccount" live_edit="0">
<name>displayCustomerAccount</name> <name>displayCustomerAccount</name>
<title>Customer account page display in front office</title> <title>Customer account page display in front office</title>
<description>Display on page account of the customer</description> <description>Display on page account of the customer</description>
</hook> </hook>
<hook id="actionOrderSlipAdd" live_edit="0" is_native="0"> <hook id="actionOrderSlipAdd" live_edit="0">
<name>actionOrderSlipAdd</name> <name>actionOrderSlipAdd</name>
<title>Called when a order slip is created</title> <title>Called when a order slip is created</title>
<description>Called when a quantity of one product change in an order.</description> <description>Called when a quantity of one product change in an order.</description>
</hook> </hook>
<hook id="displayProductTab" live_edit="0" is_native="0"> <hook id="displayProductTab" live_edit="0">
<name>displayProductTab</name> <name>displayProductTab</name>
<title>Tabs on product page</title> <title>Tabs on product page</title>
<description>Called on order product page tabs</description> <description>Called on order product page tabs</description>
</hook> </hook>
<hook id="displayProductTabContent" live_edit="0" is_native="0"> <hook id="displayProductTabContent" live_edit="0">
<name>displayProductTabContent</name> <name>displayProductTabContent</name>
<title>Content of tabs on product page</title> <title>Content of tabs on product page</title>
<description>Called on order product page tabs</description> <description>Called on order product page tabs</description>
</hook> </hook>
<hook id="displayShoppingCartFooter" live_edit="0" is_native="0"> <hook id="displayShoppingCartFooter" live_edit="0">
<name>displayShoppingCartFooter</name> <name>displayShoppingCartFooter</name>
<title>Shopping cart footer</title> <title>Shopping cart footer</title>
<description>Display some specific informations on the shopping cart page</description> <description>Display some specific informations on the shopping cart page</description>
</hook> </hook>
<hook id="displayCustomerAccountForm" live_edit="0" is_native="0"> <hook id="displayCustomerAccountForm" live_edit="0">
<name>displayCustomerAccountForm</name> <name>displayCustomerAccountForm</name>
<title>Customer account creation form</title> <title>Customer account creation form</title>
<description>Display some information on the form to create a customer account</description> <description>Display some information on the form to create a customer account</description>
</hook> </hook>
<hook id="displayAdminStatsModules" live_edit="0" is_native="0"> <hook id="displayAdminStatsModules" live_edit="0">
<name>displayAdminStatsModules</name> <name>displayAdminStatsModules</name>
<title>Stats - Modules</title> <title>Stats - Modules</title>
<description/> <description/>
</hook> </hook>
<hook id="displayAdminStatsGraphEngine" live_edit="0" is_native="0"> <hook id="displayAdminStatsGraphEngine" live_edit="0">
<name>displayAdminStatsGraphEngine</name> <name>displayAdminStatsGraphEngine</name>
<title>Graph Engines</title> <title>Graph Engines</title>
<description/> <description/>
</hook> </hook>
<hook id="actionOrderReturn" live_edit="0" is_native="0"> <hook id="actionOrderReturn" live_edit="0">
<name>actionOrderReturn</name> <name>actionOrderReturn</name>
<title>Product returned</title> <title>Product returned</title>
<description/> <description/>
</hook> </hook>
<hook id="displayProductButtons" live_edit="0" is_native="0"> <hook id="displayProductButtons" live_edit="0">
<name>displayProductButtons</name> <name>displayProductButtons</name>
<title>Product actions</title> <title>Product actions</title>
<description>Put new action buttons on product page</description> <description>Put new action buttons on product page</description>
</hook> </hook>
<hook id="displayBackOfficeHome" live_edit="0" is_native="0"> <hook id="displayBackOfficeHome" live_edit="0">
<name>displayBackOfficeHome</name> <name>displayBackOfficeHome</name>
<title>Administration panel homepage</title> <title>Administration panel homepage</title>
<description/> <description/>
</hook> </hook>
<hook id="displayAdminStatsGridEngine" live_edit="0" is_native="0"> <hook id="displayAdminStatsGridEngine" live_edit="0">
<name>displayAdminStatsGridEngine</name> <name>displayAdminStatsGridEngine</name>
<title>Grid Engines</title> <title>Grid Engines</title>
<description/> <description/>
</hook> </hook>
<hook id="actionWatermark" live_edit="0" is_native="0"> <hook id="actionWatermark" live_edit="0">
<name>actionWatermark</name> <name>actionWatermark</name>
<title>Watermark</title> <title>Watermark</title>
<description/> <description/>
</hook> </hook>
<hook id="actionProductCancel" live_edit="0" is_native="0"> <hook id="actionProductCancel" live_edit="0">
<name>actionProductCancel</name> <name>actionProductCancel</name>
<title>Product cancelled</title> <title>Product cancelled</title>
<description>This hook is called when you cancel a product in an order</description> <description>This hook is called when you cancel a product in an order</description>
</hook> </hook>
<hook id="displayLeftColumnProduct" live_edit="0" is_native="0"> <hook id="displayLeftColumnProduct" live_edit="0">
<name>displayLeftColumnProduct</name> <name>displayLeftColumnProduct</name>
<title>Extra actions on the product page (left column).</title> <title>Extra actions on the product page (left column).</title>
<description/> <description/>
</hook> </hook>
<hook id="actionProductOutOfStock" live_edit="0" is_native="0"> <hook id="actionProductOutOfStock" live_edit="0">
<name>actionProductOutOfStock</name> <name>actionProductOutOfStock</name>
<title>Product out of stock</title> <title>Product out of stock</title>
<description>Make action while product is out of stock</description> <description>Make action while product is out of stock</description>
</hook> </hook>
<hook id="actionProductAttributeUpdate" live_edit="0" is_native="0"> <hook id="actionProductAttributeUpdate" live_edit="0">
<name>actionProductAttributeUpdate</name> <name>actionProductAttributeUpdate</name>
<title>Product attribute update</title> <title>Product attribute update</title>
<description/> <description/>
</hook> </hook>
<hook id="displayCarrierList" live_edit="0" is_native="0"> <hook id="displayCarrierList" live_edit="0">
<name>displayCarrierList</name> <name>displayCarrierList</name>
<title>Extra carrier (module mode)</title> <title>Extra carrier (module mode)</title>
<description/> <description/>
</hook> </hook>
<hook id="displayShoppingCart" live_edit="0" is_native="0"> <hook id="displayShoppingCart" live_edit="0">
<name>displayShoppingCart</name> <name>displayShoppingCart</name>
<title>Shopping cart extra button</title> <title>Shopping cart extra button</title>
<description>Display some specific informations</description> <description>Display some specific informations</description>
</hook> </hook>
<hook id="actionSearch" live_edit="0" is_native="0"> <hook id="actionSearch" live_edit="0">
<name>actionSearch</name> <name>actionSearch</name>
<title>Search</title> <title>Search</title>
<description/> <description/>
</hook> </hook>
<hook id="displayBeforePayment" live_edit="0" is_native="0"> <hook id="displayBeforePayment" live_edit="0">
<name>displayBeforePayment</name> <name>displayBeforePayment</name>
<title>Redirect in order process</title> <title>Redirect in order process</title>
<description>Redirect user to the module instead of displaying payment modules</description> <description>Redirect user to the module instead of displaying payment modules</description>
</hook> </hook>
<hook id="actionCarrierUpdate" live_edit="0" is_native="0"> <hook id="actionCarrierUpdate" live_edit="0">
<name>actionCarrierUpdate</name> <name>actionCarrierUpdate</name>
<title>Carrier Update</title> <title>Carrier Update</title>
<description>This hook is called when a carrier is updated</description> <description>This hook is called when a carrier is updated</description>
</hook> </hook>
<hook id="actionOrderStatusPostUpdate" live_edit="0" is_native="0"> <hook id="actionOrderStatusPostUpdate" live_edit="0">
<name>actionOrderStatusPostUpdate</name> <name>actionOrderStatusPostUpdate</name>
<title>Post update of order status</title> <title>Post update of order status</title>
<description/> <description/>
</hook> </hook>
<hook id="displayCustomerAccountFormTop" live_edit="0" is_native="0"> <hook id="displayCustomerAccountFormTop" live_edit="0">
<name>displayCustomerAccountFormTop</name> <name>displayCustomerAccountFormTop</name>
<title>Block above the form for create an account</title> <title>Block above the form for create an account</title>
<description/> <description/>
</hook> </hook>
<hook id="displayBackOfficeHeader" live_edit="0" is_native="0"> <hook id="displayBackOfficeHeader" live_edit="0">
<name>displayBackOfficeHeader</name> <name>displayBackOfficeHeader</name>
<title>Administration panel header</title> <title>Administration panel header</title>
<description/> <description/>
</hook> </hook>
<hook id="displayBackOfficeTop" live_edit="0" is_native="0"> <hook id="displayBackOfficeTop" live_edit="0">
<name>displayBackOfficeTop</name> <name>displayBackOfficeTop</name>
<title>Administration panel hover the tabs</title> <title>Administration panel hover the tabs</title>
<description/> <description/>
</hook> </hook>
<hook id="displayBackOfficeFooter" live_edit="0" is_native="0"> <hook id="displayBackOfficeFooter" live_edit="0">
<name>displayBackOfficeFooter</name> <name>displayBackOfficeFooter</name>
<title>Administration panel footer</title> <title>Administration panel footer</title>
<description/> <description/>
</hook> </hook>
<hook id="actionProductAttributeDelete" live_edit="0" is_native="0"> <hook id="actionProductAttributeDelete" live_edit="0">
<name>actionProductAttributeDelete</name> <name>actionProductAttributeDelete</name>
<title>Product Attribute Deletion</title> <title>Product Attribute Deletion</title>
<description/> <description/>
</hook> </hook>
<hook id="actionCarrierProcess" live_edit="0" is_native="0"> <hook id="actionCarrierProcess" live_edit="0">
<name>actionCarrierProcess</name> <name>actionCarrierProcess</name>
<title>Carrier Process</title> <title>Carrier Process</title>
<description/> <description/>
</hook> </hook>
<hook id="actionOrderDetail" live_edit="0" is_native="0"> <hook id="actionOrderDetail" live_edit="0">
<name>actionOrderDetail</name> <name>actionOrderDetail</name>
<title>Order Detail</title> <title>Order Detail</title>
<description>To set the follow-up in smarty when order detail is called</description> <description>To set the follow-up in smarty when order detail is called</description>
</hook> </hook>
<hook id="displayBeforeCarrier" live_edit="0" is_native="0"> <hook id="displayBeforeCarrier" live_edit="0">
<name>displayBeforeCarrier</name> <name>displayBeforeCarrier</name>
<title>Before carrier list</title> <title>Before carrier list</title>
<description>This hook is display before the carrier list on Front office</description> <description>This hook is display before the carrier list on Front office</description>
</hook> </hook>
<hook id="displayOrderDetail" live_edit="0" is_native="0"> <hook id="displayOrderDetail" live_edit="0">
<name>displayOrderDetail</name> <name>displayOrderDetail</name>
<title>Order detail displayed</title> <title>Order detail displayed</title>
<description>Displayed on order detail on front office</description> <description>Displayed on order detail on front office</description>
</hook> </hook>
<hook id="actionPaymentCCAdd" live_edit="0" is_native="0"> <hook id="actionPaymentCCAdd" live_edit="0">
<name>actionPaymentCCAdd</name> <name>actionPaymentCCAdd</name>
<title>Payment CC added</title> <title>Payment CC added</title>
<description>Payment CC added</description> <description>Payment CC added</description>
</hook> </hook>
<hook id="displayProductComparison" live_edit="0" is_native="0"> <hook id="displayProductComparison" live_edit="0">
<name>displayProductComparison</name> <name>displayProductComparison</name>
<title>Extra Product Comparison</title> <title>Extra Product Comparison</title>
<description>Extra Product Comparison</description> <description>Extra Product Comparison</description>
</hook> </hook>
<hook id="actionCategoryAdd" live_edit="0" is_native="0"> <hook id="actionCategoryAdd" live_edit="0">
<name>actionCategoryAdd</name> <name>actionCategoryAdd</name>
<title>Category creation</title> <title>Category creation</title>
<description/> <description/>
</hook> </hook>
<hook id="actionCategoryUpdate" live_edit="0" is_native="0"> <hook id="actionCategoryUpdate" live_edit="0">
<name>actionCategoryUpdate</name> <name>actionCategoryUpdate</name>
<title>Category modification</title> <title>Category modification</title>
<description/> <description/>
</hook> </hook>
<hook id="actionCategoryDelete" live_edit="0" is_native="0"> <hook id="actionCategoryDelete" live_edit="0">
<name>actionCategoryDelete</name> <name>actionCategoryDelete</name>
<title>Category removal</title> <title>Category removal</title>
<description/> <description/>
</hook> </hook>
<hook id="actionBeforeAuthentication" live_edit="0" is_native="0"> <hook id="actionBeforeAuthentication" live_edit="0">
<name>actionBeforeAuthentication</name> <name>actionBeforeAuthentication</name>
<title>Before Authentication</title> <title>Before Authentication</title>
<description>Before authentication</description> <description>Before authentication</description>
</hook> </hook>
<hook id="displayPaymentTop" live_edit="0" is_native="0"> <hook id="displayPaymentTop" live_edit="0">
<name>displayPaymentTop</name> <name>displayPaymentTop</name>
<title>Top of payment page</title> <title>Top of payment page</title>
<description>Top of payment page</description> <description>Top of payment page</description>
</hook> </hook>
<hook id="actionHtaccessCreate" live_edit="0" is_native="0"> <hook id="actionHtaccessCreate" live_edit="0">
<name>actionHtaccessCreate</name> <name>actionHtaccessCreate</name>
<title>After htaccess creation</title> <title>After htaccess creation</title>
<description>After htaccess creation</description> <description>After htaccess creation</description>
</hook> </hook>
<hook id="actionAdminMetaSave" live_edit="0" is_native="0"> <hook id="actionAdminMetaSave" live_edit="0">
<name>actionAdminMetaSave</name> <name>actionAdminMetaSave</name>
<title>After save configuration in AdminMeta</title> <title>After save configuration in AdminMeta</title>
<description>After save configuration in AdminMeta</description> <description>After save configuration in AdminMeta</description>
</hook> </hook>
<hook id="displayAttributeGroupForm" live_edit="0" is_native="0"> <hook id="displayAttributeGroupForm" live_edit="0">
<name>displayAttributeGroupForm</name> <name>displayAttributeGroupForm</name>
<title>Add fileds to the form "attribute group"</title> <title>Add fileds to the form "attribute group"</title>
<description>Add fileds to the form "attribute group"</description> <description>Add fileds to the form "attribute group"</description>
</hook> </hook>
<hook id="actionAttributeGroupSave" live_edit="0" is_native="0"> <hook id="actionAttributeGroupSave" live_edit="0">
<name>actionAttributeGroupSave</name> <name>actionAttributeGroupSave</name>
<title>On saving attribute group</title> <title>On saving attribute group</title>
<description>On saving attribute group</description> <description>On saving attribute group</description>
</hook> </hook>
<hook id="actionAttributeGroupDelete" live_edit="0" is_native="0"> <hook id="actionAttributeGroupDelete" live_edit="0">
<name>actionAttributeGroupDelete</name> <name>actionAttributeGroupDelete</name>
<title>On deleting attribute group</title> <title>On deleting attribute group</title>
<description>On deleting attribute group</description> <description>On deleting attribute group</description>
</hook> </hook>
<hook id="displayFeatureForm" live_edit="0" is_native="0"> <hook id="displayFeatureForm" live_edit="0">
<name>displayFeatureForm</name> <name>displayFeatureForm</name>
<title>Add fields to the form "feature"</title> <title>Add fields to the form "feature"</title>
<description>Add fields to the form "feature"</description> <description>Add fields to the form "feature"</description>
</hook> </hook>
<hook id="actionFeatureSave" live_edit="0" is_native="0"> <hook id="actionFeatureSave" live_edit="0">
<name>actionFeatureSave</name> <name>actionFeatureSave</name>
<title>On saving attribute feature</title> <title>On saving attribute feature</title>
<description>On saving attribute feature</description> <description>On saving attribute feature</description>
</hook> </hook>
<hook id="actionFeatureDelete" live_edit="0" is_native="0"> <hook id="actionFeatureDelete" live_edit="0">
<name>actionFeatureDelete</name> <name>actionFeatureDelete</name>
<title>On deleting attribute feature</title> <title>On deleting attribute feature</title>
<description>On deleting attribute feature</description> <description>On deleting attribute feature</description>
</hook> </hook>
<hook id="actionProductSave" live_edit="0" is_native="0"> <hook id="actionProductSave" live_edit="0">
<name>actionProductSave</name> <name>actionProductSave</name>
<title>On saving products</title> <title>On saving products</title>
<description>On saving products</description> <description>On saving products</description>
</hook> </hook>
<hook id="actionProductListOverride" live_edit="0" is_native="0"> <hook id="actionProductListOverride" live_edit="0">
<name>actionProductListOverride</name> <name>actionProductListOverride</name>
<title>Assign product list to a category</title> <title>Assign product list to a category</title>
<description>Assign product list to a category</description> <description>Assign product list to a category</description>
</hook> </hook>
<hook id="displayAttributeGroupPostProcess" live_edit="0" is_native="0"> <hook id="displayAttributeGroupPostProcess" live_edit="0">
<name>displayAttributeGroupPostProcess</name> <name>displayAttributeGroupPostProcess</name>
<title>On post-process in admin attribute group</title> <title>On post-process in admin attribute group</title>
<description>On post-process in admin attribute group</description> <description>On post-process in admin attribute group</description>
</hook> </hook>
<hook id="displayFeaturePostProcess" live_edit="0" is_native="0"> <hook id="displayFeaturePostProcess" live_edit="0">
<name>displayFeaturePostProcess</name> <name>displayFeaturePostProcess</name>
<title>On post-process in admin feature</title> <title>On post-process in admin feature</title>
<description>On post-process in admin feature</description> <description>On post-process in admin feature</description>
</hook> </hook>
<hook id="displayFeatureValueForm" live_edit="0" is_native="0"> <hook id="displayFeatureValueForm" live_edit="0">
<name>displayFeatureValueForm</name> <name>displayFeatureValueForm</name>
<title>Add fileds to the form "feature value"</title> <title>Add fileds to the form "feature value"</title>
<description>Add fileds to the form "feature value"</description> <description>Add fileds to the form "feature value"</description>
</hook> </hook>
<hook id="displayFeatureValuePostProcess" live_edit="0" is_native="0"> <hook id="displayFeatureValuePostProcess" live_edit="0">
<name>displayFeatureValuePostProcess</name> <name>displayFeatureValuePostProcess</name>
<title>On post-process in admin feature value</title> <title>On post-process in admin feature value</title>
<description>On post-process in admin feature value</description> <description>On post-process in admin feature value</description>
</hook> </hook>
<hook id="actionFeatureValueDelete" live_edit="0" is_native="0"> <hook id="actionFeatureValueDelete" live_edit="0">
<name>actionFeatureValueDelete</name> <name>actionFeatureValueDelete</name>
<title>On deleting attribute feature value</title> <title>On deleting attribute feature value</title>
<description>On deleting attribute feature value</description> <description>On deleting attribute feature value</description>
</hook> </hook>
<hook id="actionFeatureValueSave" live_edit="0" is_native="0"> <hook id="actionFeatureValueSave" live_edit="0">
<name>actionFeatureValueSave</name> <name>actionFeatureValueSave</name>
<title>On saving attribute feature value</title> <title>On saving attribute feature value</title>
<description>On saving attribute feature value</description> <description>On saving attribute feature value</description>
</hook> </hook>
<hook id="displayAttributeForm" live_edit="0" is_native="0"> <hook id="displayAttributeForm" live_edit="0">
<name>displayAttributeForm</name> <name>displayAttributeForm</name>
<title>Add fileds to the form "feature value"</title> <title>Add fileds to the form "feature value"</title>
<description>Add fileds to the form "feature value"</description> <description>Add fileds to the form "feature value"</description>
</hook> </hook>
<hook id="actionAttributePostProcess" live_edit="0" is_native="0"> <hook id="actionAttributePostProcess" live_edit="0">
<name>actionAttributePostProcess</name> <name>actionAttributePostProcess</name>
<title>On post-process in admin feature value</title> <title>On post-process in admin feature value</title>
<description>On post-process in admin feature value</description> <description>On post-process in admin feature value</description>
</hook> </hook>
<hook id="actionAttributeDelete" live_edit="0" is_native="0"> <hook id="actionAttributeDelete" live_edit="0">
<name>actionAttributeDelete</name> <name>actionAttributeDelete</name>
<title>On deleting attribute feature value</title> <title>On deleting attribute feature value</title>
<description>On deleting attribute feature value</description> <description>On deleting attribute feature value</description>
</hook> </hook>
<hook id="actionAttributeSave" live_edit="0" is_native="0"> <hook id="actionAttributeSave" live_edit="0">
<name>actionAttributeSave</name> <name>actionAttributeSave</name>
<title>On saving attribute feature value</title> <title>On saving attribute feature value</title>
<description>On saving attribute feature value</description> <description>On saving attribute feature value</description>
</hook> </hook>
<hook id="actionTaxManager" live_edit="0" is_native="0"> <hook id="actionTaxManager" live_edit="0">
<name>actionTaxManager</name> <name>actionTaxManager</name>
<title>Tax Manager Factory</title> <title>Tax Manager Factory</title>
<description/> <description/>
</hook> </hook>
<hook id="displayMyAccountBlock" live_edit="0" is_native="0"> <hook id="displayMyAccountBlock" live_edit="0">
<name>displayMyAccountBlock</name> <name>displayMyAccountBlock</name>
<title>My account block</title> <title>My account block</title>
<description>Display extra informations inside the "my account" block</description> <description>Display extra informations inside the "my account" block</description>
+1 -1
View File
@@ -32,7 +32,7 @@
<address id="Mon_adresse" id_country="FR" id_state="" id_customer="John" id_manufacturer="" id_supplier="" id_warehouse="0" alias="Mon adresse" company="My Company" lastname="DOE" firstname="John" postcode="75000" phone="0102030405" phone_mobile="" vat_number="" dni="" active="1"> <address id="Mon_adresse" id_country="FR" id_state="" id_customer="John" id_manufacturer="" id_supplier="" id_warehouse="0" alias="Mon adresse" company="My Company" lastname="DOE" firstname="John" postcode="75000" phone="0102030405" phone_mobile="" vat_number="" dni="" active="1">
<address1>16, Main street</address1> <address1>16, Main street</address1>
<address2>2nd floor</address2> <address2>2nd floor</address2>
<city>Paris</city> <city>Paris </city>
<other/> <other/>
</address> </address>
</entities> </entities>
@@ -5,8 +5,8 @@
<field name="id_group" relation="group"/> <field name="id_group" relation="group"/>
</fields> </fields>
<entities> <entities>
<carrier_group id="carrier_group_2_1" id_carrier="My_carrier" id_group="Unidentified"/> <carrier_group id="carrier_group_2_1" id_carrier="My_carrier" id_group="Visitor"/>
<carrier_group id="carrier_group_2_2" id_carrier="My_carrier" id_group="Guest"/> <carrier_group id="carrier_group_2_2" id_carrier="My_carrier" id_group="Guest"/>
<carrier_group id="carrier_group_2_3" id_carrier="My_carrier" id_group="Default"/> <carrier_group id="carrier_group_2_3" id_carrier="My_carrier" id_group="Customer"/>
</entities> </entities>
</entity_carrier_group> </entity_carrier_group>
@@ -5,14 +5,14 @@
<field name="id_group" relation="group"/> <field name="id_group" relation="group"/>
</fields> </fields>
<entities> <entities>
<category_group id="category_group_2_1" id_category="iPods" id_group="Unidentified"/> <category_group id="category_group_2_1" id_category="iPods" id_group="Visitor"/>
<category_group id="category_group_2_2" id_category="iPods" id_group="Guest"/> <category_group id="category_group_2_2" id_category="iPods" id_group="Guest"/>
<category_group id="category_group_2_3" id_category="iPods" id_group="Default"/> <category_group id="category_group_2_3" id_category="iPods" id_group="Customer"/>
<category_group id="category_group_3_1" id_category="Accessories" id_group="Unidentified"/> <category_group id="category_group_3_1" id_category="Accessories" id_group="Visitor"/>
<category_group id="category_group_3_2" id_category="Accessories" id_group="Guest"/> <category_group id="category_group_3_2" id_category="Accessories" id_group="Guest"/>
<category_group id="category_group_3_3" id_category="Accessories" id_group="Default"/> <category_group id="category_group_3_3" id_category="Accessories" id_group="Customer"/>
<category_group id="category_group_4_1" id_category="Laptops" id_group="Unidentified"/> <category_group id="category_group_4_1" id_category="Laptops" id_group="Visitor"/>
<category_group id="category_group_4_2" id_category="Laptops" id_group="Guest"/> <category_group id="category_group_4_2" id_category="Laptops" id_group="Guest"/>
<category_group id="category_group_4_3" id_category="Laptops" id_group="Default"/> <category_group id="category_group_4_3" id_category="Laptops" id_group="Customer"/>
</entities> </entities>
</entity_category_group> </entity_category_group>
+1 -1
View File
@@ -19,7 +19,7 @@
<field name="is_guest"/> <field name="is_guest"/>
</fields> </fields>
<entities> <entities>
<customer id="John" id_gender="Mr" id_default_group="3" firstname="John" lastname="DOE" passwd="3b804a99e990bdc8d8788f72a1ff355b" last_passwd_gen="2011-12-22 23:47:41" birthday="1970-01-15" newsletter="1" ip_registration_newsletter="" newsletter_date_add="" optin="1" secure_key="47ce86627c1f3c792a80773c5d2deaf8" active="1" is_guest="0"> <customer id="John" id_gender="Mr" id_default_group="3" firstname="John" lastname="DOE" passwd="f5e4278a3390ec03252e7baab963cb8b" last_passwd_gen="2011-12-27 10:20:43" birthday="1970-01-15" newsletter="1" ip_registration_newsletter="" newsletter_date_add="" optin="1" secure_key="47ce86627c1f3c792a80773c5d2deaf8" active="1" is_guest="0">
<email>pub@prestashop.com</email> <email>pub@prestashop.com</email>
<note/> <note/>
</customer> </customer>
+1 -1
View File
@@ -49,7 +49,7 @@
<name>Coconut Grove</name> <name>Coconut Grove</name>
<address1>2999 SW 32nd Avenue</address1> <address1>2999 SW 32nd Avenue</address1>
<address2/> <address2/>
<city>Miami</city> <city> Miami</city>
<hours>a:7:{i:0;s:13:"09:00 - 19:00";i:1;s:13:"09:00 - 19:00";i:2;s:13:"09:00 - 19:00";i:3;s:13:"09:00 - 19:00";i:4;s:13:"09:00 - 19:00";i:5;s:13:"10:00 - 16:00";i:6;s:13:"10:00 - 16:00";}</hours> <hours>a:7:{i:0;s:13:"09:00 - 19:00";i:1;s:13:"09:00 - 19:00";i:2;s:13:"09:00 - 19:00";i:3;s:13:"09:00 - 19:00";i:4;s:13:"09:00 - 19:00";i:5;s:13:"10:00 - 16:00";i:6;s:13:"10:00 - 16:00";}</hours>
<email/> <email/>
<note/> <note/>