openside
Quote
openside ( string $title [ , bool $collapse [ , string $state ] ] )
Parameters
title
Panel title
collapse
If you want the panel to be collapsible you set this to true, default is false.
state
If collapse is true, you can decide if the panel should be open or closed on default by setting this to on or off, default is on!
Example of a basic Panel
Code
<?php
openside("Title");
// Content goes here
closeside();
?>
This will open a new side panel, defined by the theme, and you will be able to write content inside it.
Example of a collapsible Pane
Code
<?php
openside("Title", true, "on");
// Content goes here
closeside();
?>
This example creates a panel which will be collapsible, but is open by default.
Changelog
7.00.00 - Collapse and state parameters was added, and openside() was merged with opensidex() to make things easier for developers.
Notes
In order to close the side table (And for it to work properly), you must call the function closeside(); after you declared openside();
Please note that this function is intended for side panels.