z72diego Posted September 29, 2011 Share Posted September 29, 2011 I found a topic which explains how to do this, but for a very old version of PrestasShop and no longer works. Someone can take a hand? Topic: http://www.prestashop.com/forums/topic/226[spam-filter]remove-the-%E2%80%9Cnew-prestashop-update-avalaible-download-xy-finale-message-in-back-office/ From already thank you very much. Link to comment Share on other sites More sharing options...
phrasespot Posted September 30, 2011 Share Posted September 30, 2011 The line numbers are from a crystal ball I keep for such occasions so may differ slightly in whatever version you have installroot/renamed-admin-folder/tabs/AdminHome.php, comment out lines 167-179 inclusive /*if (@ini_get('allow_url_fopen')) { $upgrade = new Upgrader(); if ($update = $upgrade->checkPSVersion()) echo '<div class="warning warn" style="margin-bottom:30px;"><h3>' . $this->l('New PrestaShop version available') . ' : <a style="text-decoration: underline;" href="' . $update['link'] . '" target="_blank">' . $this->l('Download') . ' ' . $update['name'] . '</a> !</h3></div>'; } else { echo '<p>' . $this->l('Update notification unavailable') . '</p>'; echo '<p> </p>'; echo '<p>' . $this->l('To receive PrestaShop update warnings, you need to activate the <b>allow_url_fopen</b> command in your <b>php.ini</b> config file.') . ' [<a href="http://www.php.net/manual/' . $isoUser . '/ref.filesystem.php">' . $this->l('more info') . '</a>]</p>'; echo '<p>' . $this->l('If you don\'t know how to do that, please contact your host administrator !') . '</p><br>'; }*/ 1 Link to comment Share on other sites More sharing options...
z72diego Posted October 1, 2011 Author Share Posted October 1, 2011 I love you!!! Link to comment Share on other sites More sharing options...
phrasespot Posted October 1, 2011 Share Posted October 1, 2011 I love you!!! I hope you are Rosie Huntington-Whiteley Link to comment Share on other sites More sharing options...
gangsar.swapurba Posted March 8, 2012 Share Posted March 8, 2012 I love you too!!! Link to comment Share on other sites More sharing options...
anves Posted January 3, 2013 Share Posted January 3, 2013 Where can I find it in ver 1.52 of PrestShop the file AdminHome.php does not exist Thank You In Advance Link to comment Share on other sites More sharing options...
hxd Posted January 4, 2013 Share Posted January 4, 2013 For version 1.5 you need to edit the file content.tpl. If your PrestaShop is installed directly in the public_html folder on your hosting acccount, the path to the file would be public_html/name_of_admin_directory/themes/default/template/controllers/home/content.tpl. Comment out the following code: <div id="blockNewVersionCheck"> {if $upgrade->need_upgrade} <div class="warning warn" style="margin-bottom:10px;"><h3>{l s='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> To comment it out just put an exclamation mark and two hyphens after the first bracket (e.g. <!--div) and two hyphens before the last one (e.g. </div-->). 3 Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted September 10, 2013 Share Posted September 10, 2013 thank u very much hxd Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now