Questions tagged [toolbar]

One of the core modules adds a toolbar of administration links shown on the top of the page.

Filter by
Sorted by
Tagged with
3
votes
2answers
1k views

Showing local tasks in toolbar with hook_toolbar: caching problem

I'm creating a module using the toolbar api showing all administrative functions in a more compact toolbar. I'm having "cache" troubles showing the local tasks in the toolbar... How can I keep these ...
2
votes
2answers
603 views

Show the admin toolbar only for admin pages [closed]

I want to show the admin menu toolbar only for admin pages. How can I do this in Drupal 7?
2
votes
2answers
1k views

How to configure the toolbar in CKEditor?

I've installed CKEditor in my drupal instance and all seems to work well until I realized, I can't change the text size (missing drop down). I went to admin/config/content/ckeditor and selected and ...
2
votes
2answers
1k views

How to define a custom menu and show it like an admin menu in Drupal 8?

Question: How to define a custom menu and show it like an admin menu in Drupal 8 ? Goal: First of all, we have a custom administration theme where we are looking for a custom toolbar solution that ...
2
votes
6answers
914 views

Admin toolbar default left / vertical

On page load I need to show the toolbar on the left / in vertical mode when in admin theme collapse/minimize the toolbar when in frontend theme I'm looking for the event and the function to trigger ...
2
votes
1answer
3k views

Cannot use object of type stdClass as array

I'm very new to Drupal and I'm receiving the error: Cannot use object of type stdClass as array in the following code: $toolbar = $page['toolbar']; foreach( $toolbar['menu_menu-smart-resources'] as ...
1
vote
2answers
694 views

Possible to hide admin toolbar for testing display

I've worked on and off with Drupal for a few years. One thing that has bothered me a bit, is that the admin toolbar at the top doesn't give you the full flavour of what the public will see. I ...
1
vote
1answer
3k views

How do you get dropdown menus with toolbar.module? [closed]

I'm personally more a fan of the admin_menu style dropdown menus than Drupal 7's toolbar. I was watching a screencast by Randy Fay when I noticed he seems to have the toolbar displaying in a dropdown ...
1
vote
1answer
632 views

Custom theme covering up admin toolbar.

I am trying to convert a template to a custom drupal 8 theme and am having trouble with it covering the admin toolbar when logged in. I tried to inspect bootstrap when installed to see what was added ...
1
vote
3answers
3k views

Add icon to menu link that has system.admin as a parent

So I have this code in my links.meny.yml file: webtrack_update_reminder.main: title: 'Reminders' description: 'Reminders for your project' parent: system.admin route_name: ...
1
vote
1answer
304 views

Check if administration toolbar is visible

How can I check in a theme-file.tpl.php if the administration toolbar is visible or not? The easiest, but not nicest way to check that, if the user has certain user roles. But is there a way to check ...
1
vote
1answer
140 views

Visibilities permissions of children links in the Toolbar

In a project started with the Thunder distribution, I'm currently managing the permission of the "editor" group. By default, it only have access to the content menu, and it's a good thing. But what ...
1
vote
1answer
1k views

Remove Admin Toolbar “Manage” item if User has No Access

I have created Tours for my users and allowed them to see the Admin Toolbar as a result. However, I have the following unpleasant toolbar: I would like the "Manage" item to be gone altogether when ...
1
vote
1answer
678 views

Add menu itens in Commerce Kickstart administrative toolbar

I have worked with default Commerce Kickstart 2 toolbar menu, and I really liked. But now I installed a new module, Commerce Feeds, and I can not access it because there aren't menu entries in toolbar....
1
vote
1answer
1k views

Customize admin toolbar

Is it possible to make admin toolbar partially visible to newly created users in Drupal 8? For example, the user would be able to observe the Reports, but not be able to add new modules, so the '...
1
vote
0answers
20 views

Is there a way to not have Manage menu open by default?

On mobile, our managage tab of our toolbar always opens by default, is there a way to stop this?
1
vote
2answers
189 views

Admin toolbar doesn't appear [closed]

My admin toolbar doesn't showing up. $page_top in html.tpl.php doesn't have any value. Why doesn't $page_top have any value? How do I fix this?
1
vote
2answers
995 views

Can I disable Toolbar in specific theme?

I have two active theme, and switching between them by themekey on specific paths. theme #one is my main theme, and some contents load in theme #two in a modal box (lightbox2). I need disable Toolbar ...
0
votes
2answers
49 views

Why do I have two menu bars in my drupal instance?

I noticed while I was building my theme, that I have 2 menu bars at the top of my screen, like so: I don't see anywhere that would indicate there would be two. How would I go about fixing that?
0
votes
3answers
69 views

How to hide the left tool bar of content type for non admin people? [duplicate]

I want to hide the left tool bar of content type also revision message box, as shown in attachement, for non admin people. I have gone through following https://www.drupal.org/node/1276698 but it's ...
0
votes
1answer
64 views

CKEditor toolbar missing when conditional field becomes visible

I use the D8 Conditional Fields module to make a CKEditor field (author bio) invisible until there is something in another field (author). When I type something in the author field, the author bio ...
0
votes
2answers
290 views

Hide the shortcut toolbar

How can I hide the shortcut toolbar in Drupal 8.6? I need the very top menu gone (the green part highlighted in screenshot).
0
votes
1answer
116 views

admin toolbar not showing sub-navi in Firefox any more

First the admin toolbar worked perfectly fine in Mac-OS-FF – then suddenly the sub-navigation (the fly-out sub-pages) stopped showing – partly. The sub-navigation seems to be covered or cut off: At ...
0
votes
1answer
70 views

Drupal 7, no toolbar, strange code

I am new to Drupal. After reading about it and watching some tutorials, I tried to install Drupal 7 on my localhost to see it for myself. But now it is installed, I see no admin toolbar on top of the ...
0
votes
2answers
763 views

Can I run the 'Toolbar' and 'Admin Menu' at the same time for different roles?

I have three extra roles and I would like to use the Toolbar to use the menu for the Editor role, but the Admin Menu for the roles Adminstrator & SuperAdmin. The one problem I run into is that the ...
0
votes
1answer
188 views

How to keep showing Administration menu when changing user?

I'm using the Administration menu, like thousands of others. I recently discovered that one can change from user by hoovering over the red "hello user" button at the right. It's a nice feature, but I ...
0
votes
1answer
713 views

How do you give permissions to certain roles to get certain menu items to display in the admin_menu toolbar?

Currently I'm using the admin_menu module and have certain roles restricted todo certain things. As an admin I can see the full admin_menu bar in full, but as a restricted user I can only see Add ...
0
votes
1answer
25 views

cannot see tabs for manage fields etc with administrative toolbars add content bar

This must be something new because never seen it before now. There is a grey bar with the add content find content and edit shortcuts links on it which completely obscure the tabs for manage field etc ...
0
votes
1answer
385 views

Having trouble with ckeditor toolbar buttons

I cant figure out how the full toolbar can be view. I tried to toggle collapsed toolbar of and on however I am unable to see the either advanced toolbar or full (only some buttons I haven't selected ...
0
votes
1answer
1k views

Adding button to toolbar for non-admin

Im trying to add a button to the toolbar for my module. Now I know I can just it in the menu and blah blah but I want it to make it when the module is activated. I think im on the right track using ...
0
votes
1answer
14 views

How do I change the admin toolbar search input box to type=search?

I'd like to change the attribute "type" to "search". The search icon goes over the top of the text making it hard to see what you are typing. The themes are a combination of Adminimal for admin and ...
0
votes
0answers
23 views

Admin toolbar CSS broken by theme

I'm facing issue with Admin toolbar. Every time I create theme and define default style guide for typography eg.: ... h2 { font-size: 3rem; } p { font-size: 1.2rem; } ... Admin toolbar's CSS is ...
0
votes
0answers
40 views

How can I add sub-items to a tray?

I've successfully added an item to the the admin toolbar and now would like to create a drop down menu from that (i.e. the way Manage > Structure drops down Content Types, etc.) This is how I've ...
0
votes
1answer
143 views

Admin Menu Permissions

I want to allow my editors to add taxonomy terms to vocabularies. But to do so, I need to give them the permission "Use the administration pages and help", but as soon as i do that, they also can see ...
0
votes
1answer
59 views

CKEditor tabber shows tabs to the right on the screen when logged in as admin

I have reported this question with the CKEditor tabber issues, but I thought I ask this question here too, in case I am missing something obviuos... I have installed the CKEditor tabber module and ...
0
votes
0answers
68 views

CKEditor toolbar does not appear as configured

under /admin/config/content/ckeditor/edit/Full I have configured the CKEditor toolbar to appear in Full. However, when I edit my content in Full HTML, the toobar looks incomplete (see screenshot). ...
0
votes
1answer
61 views

Permission base on the administration menu?

I have used hook_permission to limit user for some places and to created a permission rule. However, I have not combine two permission from another modules for my custom module. I'm working on a ...
0
votes
1answer
2k views

CKEditor not showing toolbar in Drupal [duplicate]

I want to use CKEditor to edit page contents in my Drupal web site. The problem is after installing the newest version of CKEditor toolbar is not showing when I want to edit certain Block body. Is ...
0
votes
0answers
514 views

D7 Why Doesn't My Javascript Fire When Admin Toolbar Is Loaded

Probably a noob deal. http://drupal.christmate.com My custom theme has a simple JS attachment in the .info file like so: scripts[] = jchwebdev.js The code runs fine so long as no one is logged in, ...
0
votes
1answer
120 views

Moving a Drupal website from one server to another, an error needs to be fixed

I set my test Drupal 7 website on my Macbook in a XAMPP environment, and I've now moved the site to another computer with Windows xp, using the following steps: Export the database use the ...
0
votes
2answers
70 views

How to remove stylesheets only for anonymous users?

I am trying to remove all unnecessary/unused stylesheets for anonymous visitors to get better performance and a clean <head> section. This works fine by listing them inside mytheme.info.yml: ...
-1
votes
1answer
1k views

Admin menu hiding my Navbar [closed]

In Drupal 8, how can I stop the admin toolbar from hiding my fixed navbar when I am logged in?
-1
votes
1answer
41 views

Error when enabling Administration Language for Core Toolbar

I downloaded and enabled the admin_language module, and in one of its configuration settings, I enabled Use administration language for the core toolbar, after which it threw out this error: Notice:...
-2
votes
1answer
20 views

The admin toolbar is messing up the sticky position set with fundation

i am using the sticky component from foundation to render a sidebar element sticky. It does work when unconnected but when connected the toolbar cover the sticky element. How could i fix this ? ...
-2
votes
1answer
27 views

drupal 8.5 no toolbars active

I am new to drupal. I installed 8.5. via web-download, transferred it via ftp and extracted the tar-file via ssh. I managed to setup a mysql database and install it with drupal. Wonderful. I can add ...