request()->getRequest(); $module = $request->getModule(); $controller = $request->getController(); $action = $request->getAction(); $indexPage = ($module == 'App' && $controller == 'Index' && $action == 'Index') ? true : false; $browsePage = ($module == 'Listings' && $controller == 'Browse' && $action == 'Index') ? true : false; $parentId = $request->getParam('parent_id'); $this->setGlobal('themeFolder', $this->baseUrl . '/' . $this->themesFolder . '/' . 'green'); $this->setGlobal('indexPage', $indexPage); $this->setGlobal('browsePage', $browsePage); ?> headTitle(); ?> headMeta() ->appendName('viewport', 'width=device-width, initial-scale=1.0') ->appendHttpEquiv('X-UA-Compatible', 'IE=edge'); echo $this->headMeta(); /** add rtl bootstrap css if the case */ if ($htmlDir == \Cube\View\Helper\HtmlDir::RTL) { $this->script() ->addHeaderCode('') ->addHeaderCode(''); } $this->script()->addHeaderCode('') ->addHeaderCode('') ->addHeaderCode(''); ?> script()->displayHeaderCode(); ?>
navigation()->getInitialContainer()->findOneBy('id', 'header'); // desktop header partial echo $this->navigation() ->setContainer($container) ->setPartial('navigation/desktop.phtml') ->menu(); // mobile header partial echo $this->navigation() ->setPartial('navigation/mobile.phtml') ->menu(); ?>
isMembersModule === true) { ?> render('_members.phtml'); ?> render('_heading.phtml'); ?> getContent(); ?>
settings['enable_recently_viewed_listings']) { echo $this->action('recently-viewed', 'browse', 'listings'); } ?>
cookieUsage(); ?> script()->addBodyCode(''); ?> script()->displayBodyCode(); ?>