maryam206 Posted April 7, 2012 Share Posted April 7, 2012 hello Anyone know how to Remove PrestaShop Welcome Video/Summary Prestashop Link and PrestaShop News!? iam using prestashop 1.4.7.0 Any help will be appreciated. Thanks. Link to comment Share on other sites More sharing options...
Flaunt Posted April 7, 2012 Share Posted April 7, 2012 In your Prestashop folder go to Admin>Tabs and open up AdminHome.php Line 184-210 is the video part, so comment that out or remove. The other parts are further down that file but not got time now to check and say exactly where. :/ Make sure you make a back-up of the file in case you delete or edit something you shouldn't! 1 Link to comment Share on other sites More sharing options...
maryam206 Posted April 7, 2012 Author Share Posted April 7, 2012 oh yaaaaaaaaaaaaaaah i do it , but please can you help me more for the other things , prestashop , prestashop news ,Summary Prestashop Link pleaseeeeeeeeeee Link to comment Share on other sites More sharing options...
Flaunt Posted April 7, 2012 Share Posted April 7, 2012 Those should all be in the same file somewhere. Further down from the video part. I can't say exactly where at the moment as I'm away from the PC so can't check. If I get time, I'll look for you but it should be fairly obvious which ones they are 1 Link to comment Share on other sites More sharing options...
maryam206 Posted April 7, 2012 Author Share Posted April 7, 2012 thank you very much and i hope you help me soon with this , thank you again ,iam waiting your help when you are free ,and i will add you if you dont mind Link to comment Share on other sites More sharing options...
Flaunt Posted April 7, 2012 Share Posted April 7, 2012 thank you very much and i hope you help me soon with this , thank you again ,iam waiting your help when you are free ,and i will add you if you dont mind Ok, I had a look for you. You need to edit the same file as before and remove these parts: Lines 359 - 401 </table> </div> <div id="column_right"> <script type="text/javascript"> $(document).ready(function() { $.ajax({ url: "ajax.php", dataType: "json", data: "getAdminHomeElement", success: function(json) { if (json.screencast != \'NOK\') $(\'#adminpresentation\').fadeIn(\'slow\'); else $(\'#adminpresentation\').fadeOut(\'slow\'); $(\'#partner_preactivation\').fadeOut(\'slow\', function() { if (json.partner_preactivation != \'NOK\') $(\'#partner_preactivation\').html(json.partner_preactivation); else $(\'#partner_preactivation\').html(\'\'); $(\'#partner_preactivation\').fadeIn(\'slow\'); }); $(\'#discover_prestashop\').fadeOut(\'slow\', function() { if (json.discover_prestashop != \'NOK\') $(\'#discover_prestashop\').html(json.discover_prestashop); else $(\'#discover_prestashop\').html(\'\'); $(\'#discover_prestashop\').fadeIn(\'slow\'); }); }, error: function(XMLHttpRequest, textStatus, errorThrown) { $(\'#adminpresentation\').fadeOut(\'slow\'); $(\'#partner_preactivation\').fadeOut(\'slow\'); $(\'#discover_prestashop\').fadeOut(\'slow\'); } }); }); </script> <div id="partner_preactivation"> <p class="center"><img src="../img/loader.gif" alt="" /> '.translate('Loading...').'</p> </div> And also the part from Lines 409 - 412 echo ' <div id="discover_prestashop"> <p class="center"><img src="../img/loader.gif" alt="" /> '.translate('Loading...').'</p> </div> </div> <div class="clear"></div>'; That will do it for you. 2 Link to comment Share on other sites More sharing options...
maryam206 Posted April 7, 2012 Author Share Posted April 7, 2012 you are so sweet , thank you very much , i know that dont have alot of time , but really i thank you from my heart , and i would like to ask if you can helpme with somthing else when ilog in to backoffice and i click moudle >>> Themes , you see downin the page , Live from PrestaShop Addons! from where i can remove it , best regards Link to comment Share on other sites More sharing options...
Flaunt Posted April 7, 2012 Share Posted April 7, 2012 Go to the same folder as before and this time find 'AdminThemes.php' Go to Line 134 and remove this part: echo '<br /><br />'; if (@ini_get('allow_url_fopen') AND @fsockopen('addons.prestashop.com', 80, $errno, $errst, 3)) echo '<script type="text/javascript"> $.post("'.dirname($currentIndex).'/ajax.php",{page:"themes"},function(a){getE("prestastore-content").innerHTML="<legend><img src=\"../img/admin/prestastore.gif\" class=\"middle\" /> '.$this->l('Live from PrestaShop Addons!').'</legend>"+a;}); </script> <fieldset id="prestastore-content" class="width3"></fieldset>'; else echo '<a href="http://addons.prestashop.com/3-prestashop-themes">'.$this->l('Find new themes on PrestaShop Addons!').'</a>'; 1 Link to comment Share on other sites More sharing options...
hxd Posted April 8, 2012 Share Posted April 8, 2012 For the Prestashop video tutorials screen in particular, you can remove that directly from the back office. Just under the video tutorials window on the home page of the back office there's a Do not show again checkbox. Simply mark the checkbox. Link to comment Share on other sites More sharing options...
maryam206 Posted April 8, 2012 Author Share Posted April 8, 2012 i do it hoona ,, thank you very much Link to comment Share on other sites More sharing options...
maryam206 Posted April 8, 2012 Author Share Posted April 8, 2012 i have a problem that i wanna add more buttons in header but i dont know from where , i will upload a pic so you know what i mean best regards Link to comment Share on other sites More sharing options...
Flaunt Posted April 8, 2012 Share Posted April 8, 2012 Is that the stock horizontal menu that came with the theme? If it is, go to Modules > Other Modules > Top Horizontal Menu and click 'configure' 1 Link to comment Share on other sites More sharing options...
maryam206 Posted April 8, 2012 Author Share Posted April 8, 2012 oh my god , ur the best thank you Link to comment Share on other sites More sharing options...
muhamadfarhanrifai Posted July 19, 2012 Share Posted July 19, 2012 anybody help me please. how i delete "HELP" on page admin ? Thanks, Farhan Link to comment Share on other sites More sharing options...
Harmeet Duggal Posted September 13, 2012 Share Posted September 13, 2012 hi Thanks for above posts. If you want to remove Help Button from admin(BO), go to Admin Folder > index.php Line No. 56 - 75 please comment this with this example: /*echo'<script type="text/javascript"> $(document).ready(function(){ $.ajax({ type : "POST", url: "ajax.php", data:{ "helpAccess":"1", "item":"'.$item['class_name'].'", "isoUser":"'.$isoUser.'", "country":"'.Country::getIsoById(_PS_COUNTRY_DEFAULT_).'", "version":"'._PS_VERSION_.'" }, async : true, success: function(msg) { $("#help-button").html(msg); $("#help-button").fadeIn("slow"); } }); });</script>'; */ You are done. Link to comment Share on other sites More sharing options...
sathishsoftwares91 Posted February 19, 2013 Share Posted February 19, 2013 Hi... I'm new to perstashop.. I want to delete the prestashop news from the backoffice.. But i can't .. As u said , I check in the Admin>tabs> index.php file. But I can see only 34 lines.. Can't find those lines which u said.. Please help me.... Thanks in advance. Link to comment Share on other sites More sharing options...
hxd Posted February 22, 2013 Share Posted February 22, 2013 (edited) Hi... I'm new to perstashop.. I want to delete the prestashop news from the backoffice.. But i can't .. As u said , I check in the Admin>tabs> index.php file. But I can see only 34 lines.. Can't find those lines which u said.. Please help me.... Thanks in advance. To remove the News block from the backend: For PrestaShop 1.5 assuming that the root PrestaShop folder on your hosting account is public_html, go to public_html/controllers/admin and edit the file AdminHomeController.php. Find and comment out the following code: <div class="row-news"><div id="block_discover"><iframe frameborder="no" style="margin: 0px; padding: 0px; width: 100%; height:300px; overflow:hidden;" src="'.$protocol.'://api.prestashop.com/rss2/news2.php?v='._PS_VERSION_.'&lang='.$isoUser.'"></iframe></div> To comment it out put an exclamation mark and two hyphens after the first bracket (e.g. <!--div) and two hyphens before the last one (e.g. /div-->). For PrestaShop 1.4 go to public_html/your_admin_directory on your hosting account (of course, you need to replace your_admin_dir with the actual name of your admin directory) and edit the file ajax.php. Find and comment out the following code: <iframe frameborder="no" style="margin: 0px; padding: 0px; width: 315px; height: 290px;" src="'.$protocol.'://www.prestashop.com/rss/news2.php?v='._PS_VERSION_.'&lang='.$isoUser.'"></iframe> Then flush the browser cache and refresh the backend. Hope this helps. Edited February 22, 2013 by hxd (see edit history) 1 Link to comment Share on other sites More sharing options...
artur82 Posted March 19, 2013 Share Posted March 19, 2013 Hello guys sorry if I open this topic, I would like to know if there is a way to eliminate the prestashop news and video in version 1.5 there is no file admin.php How can I do? Thank you! 1 Link to comment Share on other sites More sharing options...
Bejo Posted June 22, 2013 Share Posted June 22, 2013 Hello guys sorry if I open this topic, I would like to know if there is a way to eliminate the prestashop news and video in version 1.5 there is no file admin.php How can I do? Thank you! nice share waiting for 1.5 also. thx 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