sharepoint online – why communication site Top navigation menu disappear when activate Publishing Infrastructure

I have created a communication site and activated the Publishing Infrastructure by running this PowerShell command

Connect-SPOService -Url

Set-SPOSite -Identity -DenyAddAndCustomizePages 0

Connect-PnPOnline -url

Enable-PnPFeature -Identity dffaae84-60ee-413a-9600-1cf431cf0560 -force #RollupPages

Enable-PnPFeature -Identity 22a9ef51-737b-4ff2-9346-694633fe4416 -force #Publishing

Enable-PnPFeature -Identity f6924d36-2fa8-4f0b-b16d-06b7250180fa -force -Scope site #SharePoint Server

Publishing Infrastructure of Site Collection

Enable-PnPFeature -Identity 94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb -force -Scope web #SharePoint Server

Publishing Infrastructure of Site

But when I do that I don’t see the top navigation menu any more only the Hub menu

enter image description here

What I am missing??

mac – Is it possible to control volume by hovering and scrolling anywhere in the macOS menu bar like what I can do with “7+ Taskbar Tweaker?”

I use both Macs and PCs. Macs are great but here’s one thing
I can do on my PCs that I have not been able to find how to do
in macOS.

On my PCs (Windows 7 and Windows) I have a utility called “7+ Taskbar Tweaker.”

That has an option to allow me to control the speaker volume
by putting the mouse anywhere in the taskbar and as I scroll
up/down while the mouse is still in the taskbar the volume
changes up/down:

enter image description here

This is really very handy and so much more efficient than how
volume control is done in macOS where one has to:

  • Mouse up to the menu bar.
  • Click on the speaker.
  • Mouse over to the speaker slide.
  • Scroll and adjust the volume.

I’m hoping there is a way to have the same ability in a Mac that
I have in my PCs i.e., to control the volume by simply mousing
up to anywhere in the Menu bar and then simply scrolling up/down
to change the volume up/down.

Does anyone have any suggestions or know of a way to have this in a Mac?

8 – Additional attribute for menu link

How I can add iteprop="url" for each link () in main menu?

So, I need to get from

<a href="" data-drupal-link-system-path="node/114">Test</a>


<a href="" data-drupal-link-system-path="node/114" itemprop="url">Test</a>

Is it possible to do it in preprocess? I would like not to use any module for this.

menu for custom type and taxonomy at the same time or filter by type

I have two custom types (eg: Cooks and Restaurants) and both have a shared taxonomy (eg: specialty). I want a menu that pulls all the restaurants based on a specific specialty but there doesn’t appear to be a way to use appearance -> menu to add the specialty taxonomy so that it only links to restaurants but not to cooks. eg: a menu that basically does a search for one type with that taxonomy match but doesn’t also pull the other type with that taxonomy match

To be clear I can get the taxonomy with both by simply editing a menu, placing a check-mark in the taxonomy name in screen options and then adding the individual taxonomy terms… I just don’t see how to filter the results to be only a single type. I assume that I will need to do this with some code but wanted to be sure I wasn’t over-engineering it.

Is there a way that is built into WordPress that would allow this to be done or am I looking at writing some custom code/adding a plugin?
Alternately… what keywords should I have used to find an answer to this? It seems like anything that is remotely related is dealing with using a taxonomy with the same name as a type. I also looked at the title (at a minimum) of all the advanced-taxonomy-queries tagged questions when I discovered that but none seemed to be like my issue (though many were interesting in other ways).

command line – terminal can not open from desktop or power menu?

use to install python3.9 following the instructions of the next link (
unfortunately, I tried a non recommended field of code
(4.) (NOT Recommended) To use Python 3.9 as the default python3, run commands:
sudo update-alternatives –install /usr/bin/python3 python3 /usr/bin/python3.8 1
sudo update-alternatives –install /usr/bin/python3 python3 /usr/bin/python3.9 2
now i can’t run the terminal for either power menu or desktop, but its works from file.

Edited one page in my working menu and now all menu buttons don’t open unless I right-click and open in new tab

I just recently edited a page on my site and changed the page in my main menu, however now all of my menu buttons don’t work unless I right-click and open in a new tab…then the page appears. I have disabled all plug-ins and nothing seems to change. I have also cleared all cache from site and browser, as well as used other browsers. Has anyone else ran into this problem?

website design – Where should the icon to the mobile menu be placed?

There’s is a lot of research around that explains the way a reader’s eyes naturally flow when reading, so you may find some of that useful. For example, you may get some insight from:

How much of that applies to a User Interface is always open to debate. Your question doesn’t specify whether you’re talking about a mobile app or just a mobile-friendly website, but one of the factors of any good user interface design is that your design doesn’t behave in a way the majority of its users don’t expect it to.

So, as you say in your post, the three most common places for the hamburger menu is top right, top left or wherever the menu appears. Because this is how most sites are doing it and therefore there is a familiarity with this approach, I would definitely ensure you adopt one of these locations. Why? Because familiarity breeds expectation, and this usually leads to a better user experience because it matches what users are expecting. Here is some further reading to back this assertion up:

I would argue that you don’t want to step away from this (a familiar approach) unless you have something that is significantly better and therefore warrants the change.

In terms of answering the more specific question of which one of the three most common locations you should adopt, without seeing your specific design it’s a bit hard to offer a definite answer. I have used both top left and top right in my web designs, and I’ve used all three in the mobile apps I’ve developed.

In a nutshell, the location is somewhat design-specifc.

Hope this helps.

css – Can I condense this Javascript code for a multi-level menu into fewer lines?

I have some vanilla Javascript for a website menu which works perfectly (thanks mainly to Titus on Stack Overflow), opening and closing a sub-menu (toggling <ul class="hidden"> ) if the UL’s sibling button is clicked or closing the sub-menu if another button on the same level as the sibling is clicked, adjusting other CSS classes for the <li> elements appropriately. The code is specific to each level of the menu and I have repeated the code for several more menu levels, just changing each occurrence of ‘1’ to ‘2’ and then to ‘3’ and so on (potentially there could be up to 10 levels; I already have 5 for testing purposes). Is there a way to use less lines of code whilst maintaining each level’s independence?

Here is the code for two levels:

const buttons1 = Array.from(document.querySelectorAll(".btn-level-1"));
buttons1.forEach((button1) => {
    button1.addEventListener('click', () => {
    buttons1.filter(b1 => b1 != button1).forEach(b1 => {
const buttons2 = Array.from(document.querySelectorAll(".btn-level-2"));
buttons2.forEach((button2) => {
    button2.addEventListener('click', () => {
    buttons2.filter(b2 => b2 != button2).forEach(b2 => {

Thank you in advance for any suggestions.

macbook pro – How to add access to the camera to one app which doesn’t appears in the system preferences ->privacy menu?

Hi I have an app which take screenshoots from my macbook, but I didn’t give access to the camera when I installed the app, that’s why I am not able to use this app now, which has very nice tools to comment and edit the screenshoots. My question is, how can I give permissions to this app if it doesn’t appears in the menu system preferences -> privacity -> camera, how can I add this app to this section or give the camera permissions? Thanks!

enter image description here

The app is lightshot I was able to use it in another mac, where I gave the permissions when I installed it, the another problem here is that when I installed it again it didn’t ask me to give permissions maybe for some kind of history.

For more clarity, what I would like to do is to be able to show the lighshot app in the privacy -> camera section, just as in the next picture.

enter image description here