Skip to content

Instantly share code, notes, and snippets.



Last active Feb 4, 2020
What would you like to do?
How to use Bootstrap Tabs in concrete5 dashboard
<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Single Page Name'), false, false, false, false, false, false); ?>
<div class="ccm-pane-body">
// Tab setting using array
$tabs = array(
// array('tab-id', 'Tag Label', true=active)
array('tab-1', 'Tab 1', true),
array('tab-2', 'Tab 2'),
// Print tab element
echo Loader::helper('concrete/interface')->tabs($tabs);
<div id="ccm-tab-content-tab-1" class="ccm-tab-content">
Tab Content 1
<div id="ccm-tab-content-tab-2" class="ccm-tab-content">
Tab Content 2
<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneFooterWrapper(false);?>

This comment has been minimized.

Copy link

@nklatt nklatt commented Feb 4, 2020

Thanks! In, the helper needed is concrete/ui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.