예제 #1
0
 function display($cachable = false, $urlparams = false)
 {
     $input = JFactory::getApplication()->input;
     $input->set('view', $this->input->get('view', 'pages'));
     SppagebuilderHelper::addSubmenu('pages');
     parent::display($cachable, $urlparams);
 }
예제 #2
0
    if ($tab_count == 0) {
        echo builder_layout(json_decode($shortcode));
    }
    ?>
                </div>
            </div>
            <?php 
    echo JHtml::_('bootstrap.endTab');
    $tab_count++;
}
?>

    </div>
    <div class="clearfix" style="margin-top:50px"></div>
    <?php 
echo SppagebuilderHelper::render_banner();
?>
    <style type="text/css">
        .pagebuilder p{
            margin-bottom: 5px;
        }

        .upgrade{
            background: green;
            padding: 4px;
            color: #fff;
            border-radius: 5px;
            font-size: 10px;
            font-weight: bold;
        }
    </style>