服务报价 | 域名主机 | 网络营销 | 软件工具| [加入收藏]
 热线电话: #
当前位置: 主页 > php教程 > prestashop教程 >

删除PrestaShop后台升级提示与缺少组件提示

时间:2016-02-23 11:57来源: 作者: 点击:
网店系统 PrestaShop 升级很快,一年升级几次,性能是提升了,但是用户升级转移数据那可麻烦了,有没办法屏蔽掉升级提示与PHP组件缺少提示? 外贸网站模板网告诉大家方法: 在PrestaS
网店系统升级很快,一年升级几次,性能是提升了,但是用户升级转移数据那可麻烦了,有没办法屏蔽掉升级提示与PHP组件缺少提示? 网告诉大家方法:

在PrestaShop找到admin1\themes\default\template\controllers\home\content.tpl

大概34到45行

{if $upgrade}
<div id="blockNewVersionCheck">
{if $upgrade->need_upgrade}
<div class="warning warn" style="margin-bottom:10px;"><h3>{l s='A new version of PrestaShop is available.'} : <a style="text-decoration: underline;" href="{$upgrade->link}" target="_blank">{l s='Download'} {$upgrade->version_name}</a> !</h3></div>
{/if}
</div>
{else}
<p>{l s='Update notifications are unavailable'}</p>
<p>&nbsp;</p>
<p>{l s='To receive PrestaShop update warnings, you need to activate you account. '} <b>allow_url_fopen</b> [<a href="http://www.php.net/manual/{$isoUser}/ref.filesystem.php">{l s='more info on php.net'}</a>]</p>
<p>{l s='If you don\'t know how to do this, please contact your hosting provider!'}</p><br />
{/if}

找到以上代码删除。

前半部分
{if $upgrade->need_upgrade}
<div class="warning warn" style="margin-bottom:10px;"><h3>{l s='A new version of PrestaShop is available.'} : <a style="text-decoration: underline;" href="{$upgrade->link}" target="_blank">{l s='Download'} {$upgrade->version_name}</a> !</h3></div>
{/if}
是删除升级



{else}
<p>{l s='Update notifications are unavailable'}</p>
<p>&nbsp;</p>
<p>{l s='To receive PrestaShop update warnings, you need to activate you account. '} <b>allow_url_fopen</b> [<a href="http://www.php.net/manual/{$isoUser}/ref.filesystem.php">{l s='more info on php.net'}</a>]</p>
<p>{l s='If you don\'t know how to do this, please contact your hosting provider!'}</p><br />
{/if}

后半部分是删除环境缺少组件。

(责任编辑:最模板)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
栏目列表
热点内容