Jump to content

Delete a notification about a new version from the top


Recommended Posts

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

 

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 by ldon (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...