first commit
This commit is contained in:
28
modules/ph_simpleblog/upgrade/install-1.1.1.php
Normal file
28
modules/ph_simpleblog/upgrade/install-1.1.1.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Blog for PrestaShop module by Krystian Podemski from PrestaHome.
|
||||
*
|
||||
* @author Krystian Podemski <krystian@prestahome.com>
|
||||
* @copyright Copyright (c) 2014-2016 Krystian Podemski - www.PrestaHome.com / www.Podemski.info
|
||||
* @license You only can use module, nothing more!
|
||||
*/
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
function upgrade_module_1_1_1($object)
|
||||
{
|
||||
Configuration::updateValue('PH_RECENTPOSTS_NB', '4');
|
||||
Configuration::updateValue('PH_RECENTPOSTS_CAT', '0');
|
||||
Configuration::updateValue('PH_RECENTPOSTS_POSITION', 'home');
|
||||
|
||||
Configuration::updateValue('PH_BLOG_DISPLAY_AUTHOR', '1');
|
||||
Configuration::updateValue('PH_BLOG_DISPLAY_DATE', '1');
|
||||
Configuration::updateValue('PH_BLOG_DISPLAY_THUMBNAIL', '1');
|
||||
Configuration::updateValue('PH_BLOG_DISPLAY_CATEGORY', '1');
|
||||
Configuration::updateValue('PH_BLOG_DISPLAY_SHARER', '1');
|
||||
Configuration::updateValue('PH_BLOG_DISPLAY_TAGS', '1');
|
||||
Configuration::updateValue('PH_BLOG_DISPLAY_DESCRIPTION', '1');
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user