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>';
Related posts:



November 28th, 2009 on 5:39 pm
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.
November 29th, 2009 on 8:23 am
I have a feeling you deleted too much code. Try replacing the file and trying again.