TWDesign Posted June 27, 2012 Share Posted June 27, 2012 I have no intention of updating to a new minor release unless there is a security requirement. Having the nag line only causes confusion for clients and awkward questions. How can I hide it? Link to comment Share on other sites More sharing options...
PrestaSupport Posted June 27, 2012 Share Posted June 27, 2012 Hi! This is a piece of cake In your prestaroot-->admin-->tabs-->AdminHome.php look at line: 173, there you find: 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>'; Just replace with this: echo ''; That's it, I tried it and can confirm it work, Link to comment Share on other sites More sharing options...
tdr170 Posted June 27, 2012 Share Posted June 27, 2012 This is how I did this, and was found on another post here in the forum. AdminHome.php Delete the lines below. 165-182 echo '<div> <h1>'.$this->l('Dashboard').'</h1> <hr style="background-color: #812143;color: #812143;" /> <br />'; 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>'; } echo '</div>'; Link to comment Share on other sites More sharing options...
TWDesign Posted June 27, 2012 Author Share Posted June 27, 2012 cheers peoples. ! 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