Removing the news feed from admin

by John on Jul.29, 2009, under Hints/Tips/Hacks

Your doing a prestashop site for a customer and want to remove the prestashop.com news feed that appears on the admin index page?

Well all you need to do is edit the index.php file in your admin folder and delete the following code.

/* News from PrestaShop website */
echo '
<h2>'.translate('PrestaShop live feed').'</h2>';
$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_.'&lang='.$isoUser.'"></iframe>';

VN:F [1.9.3_1094]
Rating: 4.5/5 (8 votes cast)
Removing the news feed from admin, 4.5 out of 5 based on 8 ratings
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • MisterWong
  • Reddit
  • StumbleUpon
  • Twitter
  • Add to favorites
  • RSS
  • Technorati

Related posts:

  1. Customise admin footer links
  2. Removing “powered by Prestashop”
  3. News/Blog Module
  4. Block News CMS Module

:,

2 Comments for this entry

  • Lau

    I did that but it gives me an error like this: Parse error: syntax error, unexpected ‘/’ in C:\xampp\htdocs\prestashop\Lau\index.php on line 89. What is the problem and how can be fixed. Thanks.

    VA:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)

Leave a Reply

Popular tags