sjcctan Posted March 26, 2011 Share Posted March 26, 2011 Hello,Please forgive my ignorance. May I know how I can permanently disable the Prestashop Tutorial videos in the back office from appearing.After I clicked on the Check Box "don't show again". The video will be hidden. But on the next login, it will appear again.It is rather annoying. Is there anyway I can permanently disable it?Thank you. Link to comment Share on other sites More sharing options...
Zenith Posted March 26, 2011 Share Posted March 26, 2011 Delete the code.....from admin/tabs/AdminHome.php if (!isset($cookie->show_screencast)) $cookie->show_screencast = true; if ($cookie->show_screencast) echo' <iframe src="http://screencasts.prestashop.com/screencast.php?iso_lang='.Tools::strtolower($isoUser).'" style="border:none;width:100%;height:420px;" scrolling="no"></iframe> <!--'.$this->l('View more video tutorials').'--> <input type="checkbox" id="screencast_dont_show_again"><label for="screencast_dont_show_again">'.$this->l('don\'t show again').' [removed] $(document).ready(function() { $(\'#screencast_dont_show_again\').click(function() { if ($(this).is(\':checked\')) { $.ajax({ type: \'POST\', async: true, url: \'ajax.php?toggleScreencast\', success: function(data) { $(\'#adminpresentation\').slideUp(\'slow\'); } }); } }); }); [removed] '; Link to comment Share on other sites More sharing options...
sjcctan Posted March 29, 2011 Author Share Posted March 29, 2011 Dear Zenith,Thank you for your assistance. I followed what you have instructed but unfortunately the "tutorial videos" block still showing in back office. The new issue now is that when I click the "don't show again" check box, the "tuitorial videos" block won't close after removing the scripts.Please advise. Thank you. Link to comment Share on other sites More sharing options...
Zenith Posted March 29, 2011 Share Posted March 29, 2011 If you removed this code you wouldn't have a "dont show again" checkbox - make sure you have uploaded the correct edited file, or you are not caching as this is the code for the whole video section. Link to comment Share on other sites More sharing options...
screentekdesignsltd Posted May 9, 2011 Share Posted May 9, 2011 worked a treat.Thanks, it was most annoying everytime logged in. 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