ldon Posted September 27, 2013 Share Posted September 27, 2013 Hi all, how can I delete a notification about a new version of prestashop from the top of my shop. Thank you. Ldon Link to comment Share on other sites More sharing options...
vekia Posted September 27, 2013 Share Posted September 27, 2013 from top? you're talking about back office dashboard, am I right? Link to comment Share on other sites More sharing options...
ldon Posted September 27, 2013 Author Share Posted September 27, 2013 from top? you're talking about back office dashboard, am I right? Yes, you're. Link to comment Share on other sites More sharing options...
vekia Posted September 27, 2013 Share Posted September 27, 2013 ok, so it will be easy open: ADMIN_DIR/themes/default/template/controllers/home/content.tpl just comment / remove this code: {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> </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} Link to comment Share on other sites More sharing options...
ldon Posted September 27, 2013 Author Share Posted September 27, 2013 (edited) ok, so it will be easy open: ADMIN_DIR/themes/default/template/controllers/home/content.tpl just comment / remove this code: {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> </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} Works great. Thank you. Edited September 28, 2013 by ldon (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts