andybr1ggs Posted September 17, 2009 Share Posted September 17, 2009 Hi,I want to remove the prestashop upgrade from the back office, because right now I dont feel like I need to upgrade has I am happy with my site. *unless of course upgrades help me get more sales ;-)Since prestashop 1.2.3 was brought out a few weeks ago I understood why i should upgrade here because this version actually helps load my shop faster, and the modz sem to run much more efficientlyBut in the version 1.2.4 there isnt really much there to help so I will wait for 1.2.5 and see if this is ok and if so then I will go through every file in my ftp and change all the permissions so i dont overwrite minor site configurations like the logo or needing to remove the "powered by prestashop" again.So il wait a little while longer to see if there are mods that i will want ;-)how do i remove this so i dont get reminded all of the time ?Cheers Andy. 1 Link to comment Share on other sites More sharing options...
TropischBruin Posted September 17, 2009 Share Posted September 17, 2009 There will be no 1.2.5 release, I think they will go to 1.3.I'm not sure why you want to remove the "warning", it is of no harm. Link to comment Share on other sites More sharing options...
andybr1ggs Posted September 17, 2009 Author Share Posted September 17, 2009 There will be no 1.2.5 release, I think they will go to 1.3.I'm not sure why you want to remove the "warning", it is of no harm. Because when its there I have an urge to click on it, lol :-)Cheers,Andy. Link to comment Share on other sites More sharing options...
rocky Posted September 18, 2009 Share Posted September 18, 2009 You need to /* comment out */ the following section of index.php in your admin directory to remove the update notification: if (@ini_get('allow_url_fopen') AND $update = checkPSVersion()) echo ''.translate('New PrestaShop version avalaible').' : '.translate('Download').' '.$update['name'].' !'; elseif (!@ini_get('allow_url_fopen')) { echo ' '.translate('Update notification unavailable').''; echo ' '; echo ' '.translate('To receive PrestaShop update warnings, you need to activate the allow_url_fopen command in your php.ini config file.').' ['.translate('more infos').']'; echo ' '.translate('If you don\'t know how to do that, please contact your host administrator !').' '; } To remove the news feed, comment out the following code: echo ' '.translate('PrestaShop live feed').''; $isoDefault = Language::getIsoById(intval(Configuration::get('PS_LANG_DEFAULT'))); $isoUser = Language::getIsoById(intval($cookie->id_lang)); echo'<iframe frameborder="no" style="margin: 0px; padding: 0px; width: 780px; height: 380px;" src="http://www.prestashop.com/rss/news.php?v='._PS_VERSION_.'〈='.$isoUser.'"></iframe>'; Link to comment Share on other sites More sharing options...
andybr1ggs Posted September 18, 2009 Author Share Posted September 18, 2009 thanks alot sorry i havent responded did not get a notification, il try it cheersandy*****nice one, worked a treat my back office looks nice and tidy now :-) Link to comment Share on other sites More sharing options...
Jora Posted July 9, 2011 Share Posted July 9, 2011 ... Link to comment Share on other sites More sharing options...
LLT Posted August 26, 2011 Share Posted August 26, 2011 I also would like to know how to do this in 1.4. Update: I figured it out. Link to comment Share on other sites More sharing options...
alexidro Posted April 4, 2012 Share Posted April 4, 2012 For version 1.4 you must go in your [admin directory]/tabs/AdminHome.php and comment out or remove the following lines as below: // 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>'; // } Link to comment Share on other sites More sharing options...
BWT Posted April 25, 2012 Share Posted April 25, 2012 is this correct? /*code*/ ? or {*code*} This didn't work for me the back office went blank. However I did remove the chunk of code from the AdminHome.php from "IF" to "Echo" leaving the <div> tags in place for Dash-Board area and that worked well. Rocky, I looked in the index.php for the code mentioned above you suggested but didn't find it on that page, did you mean AdminHome.php or am I just missing what you are talking about? Link to comment Share on other sites More sharing options...
nuclearholocausto Posted May 11, 2012 Share Posted May 11, 2012 tjg, What version of PS are you using? Link to comment Share on other sites More sharing options...
Bejo Posted May 22, 2013 Share Posted May 22, 2013 I am also to know how tobdo this on ps 1.5.4 thx 4 share Link to comment Share on other sites More sharing options...
Edwin Posted June 22, 2013 Share Posted June 22, 2013 ps 1.5.2 change the content.tpl admin/themes/default/template/controllers/home <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> to <div> </div> 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