Jump to content

How to permanently disable the Prestashop Tutorial Videos in the Back Office?


Recommended Posts

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

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

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

  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...