Step:1
Add the below code to you component view page
(administrator/components/your-component/view/your-view/tmpl/defaul.php)
<?php
JHTML::_('behavior.tooltip');
jimport('joomla.html.pane');
$pane = &JPane::getInstance('sliders', array('allowAllClose' => true));
//sliders (or) tabs
echo $pane->startPane("menu-pane");
echo $pane->startPanel(JText :: _('Slider1 Title'), "param-page");
echo 'slider1 content here';
echo $pane->endPanel();
echo $pane->startPanel(JText :: _('Slider1 Title'), "param-page");
echo 'slider2 content here';
echo $pane->endPanel();
echo $pane->endPane();
?>
1 comment:
JPane has been removed in Joomla 3.x.. do you know any alternative for it?
Post a Comment