• Hello,

    The current version of the widget is exposing classes that are set to ‘Hidden’

    I’ve update the widget to not show these classes, but wanted to check in here in case there was something I’m missing? Is there a reason that the widget shows hidden classes?

    /* My fix */ 
    
     diff WcsTodayClassesWidget.php.old WcsTodayClassesWidget.php
    63c63,66
    <                   echo "<li>$start_hour - $class_name</li>";
    ---
    >                   $visibility = $class->getVisibility();
    >                   if ($visibility != "Hidden" )  {
    >                               echo "<li>$start_hour</li>";
    >                       }
    150c153
    < }
    \ No newline at end of file
    ---
    > }

    I also took out the class name as it’s not applicable in my case. Hope this helps someone!

    https://www.ads-software.com/extend/plugins/weekly-class-schedule/

  • The topic ‘[Plugin: Weekly Class Schedule] Widget Showing Hidden Classes’ is closed to new replies.