Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/cartforge.co/app/code/Smartwave/Megamenu/view/frontend/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/cartforge.co/app/code/Smartwave/Megamenu/view/frontend/templates/sidebar_menu.phtml
<?php
/**
 * Copyright © 2018 Porto. All rights reserved.
 */

?>
<?php
/**
 * Top menu for store
 *
 * @see \Smartwave\Megamenu\Block\Topmenu
 */
?>
<?php
    $_helper = $this->helper('Smartwave\Megamenu\Helper\Data');
    $_config = $_helper->getConfig('sw_megamenu');
    $columnsLimit = 0;
    if($_config['general']['enable']) {
?>
<?php $_menu = $block->getMegamenuHtml(); ?>
<div class="sticky-sidenav sections nav-sections">
  <nav class="navigation sw-megamenu side-megamenu" role="navigation">
    <ul>
        <?php echo $_menu; ?>
    </ul>
  </nav>
</div>
<style>
.sticky-sidenav {
    will-change: position,top,bottom,left;
    padding-bottom: 1px;
}
</style>
<script type="text/javascript">
    require([
        'jquery',
        'themeSticky',
        'Smartwave_Megamenu/js/sw_megamenu'
    ], function ($) {
        $(".sw-megamenu").swMegamenu();
        $(".sidebar-nav .sticky-sidenav").themeSticky({
          autoInit: true,
          minWidth: 992,
          containerSelector: '.page-main .page-main-inner',
          autoFit: true,
          paddingOffsetBottom: 10
        });
    });
</script>
<?php
    }
?>

Spamworldpro Mini