O'Reilly logo

Learning Joomla! 1.5 Extension Development by Joseph L. LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sliding panes

Throughout the backend of Joomla!, there are several screens containing sliding panes full of options. This is done to save space on the screen, and to make specific settings easier to find. The CSS that creates the "tabbed" visual effect is automatically included in the backend. To use the siding panes, you only need to bring in the JavaScript and make some calls to a JPane object.

To test the panes, create a component in the backend at /administrator/components/com_js. Add the file js.php to this folder, and fill it with the following code:

<?php defined( '_JEXEC' ) or die( 'Restricted access' ); jimport('joomla.application.component.controller'); class JsController extends JController { function showPanes() { jimport('joomla.html.pane'); ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required