Buttons on toolbar
Permalink
When i go toi themes/dashboard/elements/header.php i see
Is this say that the button on toolbar is hard coded and no packages will be add some action button ?
<div id="ccm-dashboard-page" class="ccm-ui"> <div id="ccm-toolbar"> <ul> <li class="ccm-logo pull-left"><span><?=Loader::helper('concrete/interface')->getToolbarLogoSRC()?></span></li> <li class="ccm-toolbar-account pull-left"><a href="<?=$backLink?>"><i class="glyphicon glyphicon-arrow-left"></i></a> <li class="pull-right"><a href="<?=URL::to('/dashboard')?>" data-launch-panel="dashboard" class="ccm-launch-panel-active" data-panel-url="<?=URL::to('/system/panels/dashboard')?>"><i class="glyphicon glyphicon-th-large"></i></a> <li class="pull-right"><a href="#" data-panel-url="<?=URL::to('/system/panels/sitemap')?>" data-launch-panel="sitemap"><i class="glyphicon glyphicon-list-alt"></i></a></li> <li class="ccm-toolbar-search pull-right"><i class="glyphicon glyphicon-search"></i> <input type="search" id="ccm-nav-intelligent-search" tabindex="1" /></li> </ul> </div>
Is this say that the button on toolbar is hard coded and no packages will be add some action button ?
Hi Andrew,
Thank you for answering.
I think that it will be a nice addition to let package developer to add a button to the toolbar. Perhaps it will be a option to show it on front- or/and back-end.
I think about a button that will allow to go to a specific page or open a specific lateral panel (with custom content) or any other js script (as a submenu).
When you talk about Pull request, you talk about thios page :https://github.com/concrete5/concrete5/pulls ?
Thank you for answering.
I think that it will be a nice addition to let package developer to add a button to the toolbar. Perhaps it will be a option to show it on front- or/and back-end.
I think about a button that will allow to go to a specific page or open a specific lateral panel (with custom content) or any other js script (as a submenu).
When you talk about Pull request, you talk about thios page :https://github.com/concrete5/concrete5/pulls ?
Not to say this wouldn't be potentially useful – we thought the ability to do this on the front-end (where it's hooking into real pages on your site, and responding to where you are on the site) was more valuable than in the backend. But we'd be willing to accept a pull request for it, or discuss how it might be usefully implemented. There'd have to be some logic to it, because some of the add-ons on the frontend (like the internationalization contextual menu) would serve no purpose in the dashboard.