multisite – Under My Sites Menu, I can find only one of my Sites, and it is duplicated

I have WP Multisite.
I have only two Sites. The main one, and a second Site as a subdomain ( EN.mydomain.com ).
The problem is, if I am in my main site, I can find both Sites under MY SITES menu.
But if I am in my Subdomain site, I can only see that second Site under the Menu, and more weird, it shows twice.

This is what it looks like from the Main Site.

What I see when I am in Main Site

This is what it looks like from the Subdomain Site.

What I see when I am in Subdomain Site

The only one User I have, is assigned on both Sites as Admin. So it doesn’t look like a user setup.
If I deactivate Plugins for the Network, they do not look deactivated when I change Site.
Other than this, everything works great. But in order to switch between Sites, I have to type ( or delete ) in the URL the subdomain.

Thanks.

6 – Views page menu shows up on all languages

I am working on a old website built on Drupal 6 which has two languages. There is a views on which I created a page for each language, but their menus shows up on both languages. I tried different combinations of relationships, arguments and filters, which works on the content but not on the menus. How can I force a views page menu to display only on the correct language?

Views page menu shows up on all languages on Drupal 6

I am working on a old website built on Drupal 6 which has two languages. There is a views on which I created a page for each language, but their menus shows up on both languages. I tried different combinations of relationships, arguments and filters, which works on the content but not on the menus. How can I force a views page menu to display only on the correct language?

javascript – How do I add a div to a parent element in a navigation menu?

I have a navigation menu with class name: “custom-menu-class”. It’s in WordPress.

I want to make an active class meaning that when a link is active (url matches), and/or mouse hovers a link, a div is inserted in the parent element (a white circle on top of the text).

enter image description here

Playing around with inspect element, I found that adding:

<div style="
    border: 6px solid white;
    border-radius: 50px;
    width: 12px;
    position: absolute;
    top: -15%;
    left: 33%;
">
</div>

to the parent element gives me what I need.

I also need it for the active menu item only.

Can someone help me? Trying to achieve this:

enter image description here

java – Dados da JTable não podem mudar quando clico em um Menu Item

Estou fazendo um programa estilo um menu de cadastro, onde há uma barra de menu escrita Funcionário, Cliente e Produto. Quando cadastro algo, ele aparece em uma JTable presente na classe de cada um. Mas após o cadastro do funcionário, quando mudo para outro Menu Item, e retorno para Funcionário a linha some. Há algum jeito de manter o cadastro, mesmo mudando de Menu Item? Lembrando que não estou usando banco de dados.

plugins – add menu page not showing Icon

I have issues with add menu page it doesn’t show my custom Icon.
”’
class VCommerce {

function __construct()

{
    add_action('admin_menu',array($this,'add_plugin_menu'));

}

function add_plugin_menu(){ 

include( 'Includes/Function/Menu.php' );

}

in my menu.php I used this code :

add_menu_page(
    'V Menu',
    'V Menu',
    'manage_options',
    'custom_page',
    'custom_page_N1',
    plugins_url('/Includes/Images/Icon.png',__FILE__),
    4
    );

I try change sub folders or using (plugin_dir_url( FILE ).’/Includes/Images/Icon.png’) but it didn’t worked.

navigation – Sub Menu Do Not Appear in Homepage

i have a problem here, i try to make 3 level navigation menu, but only 2 of 3 navigation menu are showing.

enter image description here

This is my homepage

enter image description here

When i try to inspect element from browser, i saw the sub menu.
enter image description here

I try to check register_nav_menus but nothing wrong, all of my menu is fine, except i can’t make more than level 3 menus, thank you.

And this is my CSS for navigation menu

.siteHeader-nav {
  position: relative;
}

@media (max-width: 767px) {
  .siteHeader-nav {
    clear: left;
  }
}

@media (max-width: 991px) {
  .siteHeader-nav {
    background: #393d8a;
    color: #fff;
    overflow: hidden;
  }
  .siteHeader-nav:before, .siteHeader-nav:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 10;
    transition: all .5s ease;
  }
  .siteHeader-nav:before {
    left: 0;
    background: -webkit-gradient(linear, left top, right top, from(#393d8a), to(transparent));
    background: -webkit-linear-gradient(left, #393d8a, transparent);
    background: -o-linear-gradient(left, #393d8a, transparent);
    background: linear-gradient(to right, #393d8a, transparent);
  }
  .siteHeader-nav:after {
    right: 0;
    background: -webkit-gradient(linear, right top, left top, from(#393d8a), to(transparent));
    background: -webkit-linear-gradient(right, #393d8a, transparent);
    background: -o-linear-gradient(right, #393d8a, transparent);
    background: linear-gradient(to left, #393d8a, transparent);
  }
  .siteHeader-nav.is-touching-start:before, .siteHeader-nav.is-touching-end:after {
    opacity: 0;
    visibility: hidden;
  }
}

@media (min-width: 992px) {
  .siteHeader-nav {
    flex: 1;
  }
}

.siteHeader-nav .menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 991px) {
  .siteHeader-nav .menu {
    overflow: hidden;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 992px) {
  .siteHeader-nav .menu {
    justify-content: flex-end;
  }
}

.siteHeader-nav .menu > li.menu-item {
  position: relative;
}

.siteHeader-nav .menu > li.menu-item > a {
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  padding: 15px 16px;
  color: inherit;
  outline: none;
  white-space: nowrap;
  text-decoration: none;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 991px) {
  .siteHeader-nav .menu > li.menu-item > a {
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}

@media (min-width: 992px) {
  .siteHeader-nav .menu > li.menu-item > a {
    font-size: 16px;
    padding: 20px 16px;
  }
}

.siteHeader-nav .menu > li.menu-item-has-children {
  padding-right: 32px;
  cursor: pointer;
}

.siteHeader-nav .menu > li.menu-item-has-children:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translate(0%, -50%);
  border: 4px solid transparent;
  border-bottom: none;
  border-top-color: inherit;
  border-top-width: 5px;
  z-index: 100;
}

.siteHeader-nav .menu > li.menu-item-has-children > a {
  padding-right: 0;
}

.siteHeader-nav .menu > li.menu-item-has-children > a > img {
  margin-left: 8px;
}

@media (min-width: 992px) {
  .siteHeader-nav .menu > li.menu-item-has-children > a > img {
    vertical-align: middle;
  }
}

.siteHeader-nav .menu > li.menu-item.is-active > .sub-menu {
  visibility: visible;
}

@media (max-width: 991px) {
  .siteHeader-nav .menu > li.menu-item.is-active > .sub-menu {
    transform: translateX(-100%);
  }
}

@media (min-width: 992px) {
  .siteHeader-nav .menu > li.menu-item:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
  }
}

.siteHeader-nav .sub-menu {
  visibility: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 100;
}

.siteHeader-nav .sub-menu > li > a {
  display: block;
  text-decoration: none;
  color: #393d8a;
}

.siteHeader-nav .sub-menu > li > a img {
  margin-right: 8px;
  vertical-align: middle;
}

.siteHeader-nav .sub-menu > li > a:before {
  content: "e918";
  display: inline-block;
  vertical-align: top;
  margin-right: 6px;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  font-family: 'dkj-icon';
  font-variant: normal;
  text-transform: none;
  text-align: center;
  speak: none;
  width: 20px;
  height: 20px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 767px) {
  .siteHeader-nav .sub-menu {
    top: 100px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .siteHeader-nav .sub-menu {
    top: 50px;
  }
}

@media (max-width: 991px) {
  .siteHeader-nav .sub-menu {
    position: fixed;
    left: 100%;
    bottom: 0;
    width: 260px;
    max-width: 100%;
    overflow: hidden;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    transition: all .3s ease;
    z-index: -1;
  }
  .is-collapse .siteHeader-nav .sub-menu {
    top: 50px;
  }
  .siteHeader-nav .sub-menu > li {
    border-bottom: 1px solid #eee;
  }
  .siteHeader-nav .sub-menu > li > a {
    padding: 15px 16px;
    font-weight: bold;
  }
}

@media (min-width: 992px) {
  .siteHeader-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  .siteHeader-nav .sub-menu > li + li {
    box-shadow: inset 0 1px 0 0px #eee;
  }
  .siteHeader-nav .sub-menu > li > a {
    padding: 10px 16px;
  }
  .siteHeader-nav .sub-menu > li > a:hover {
    background: #393d8a;
    color: #fff;
  }
}

share menu – Onyx Boox Max 3 – how save a web page as a pdf (chrome, default)

Stack Exchange Network


Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

8 – Forena Reports, does not appear in the Drupal menu Structure

I installed the downloaded Forena module for Drupal 8 from this link https://www.drupal.org/project/forena/releases/8.x-1.x-dev, and it installs correctly, but when I go to the menu Structure to start creating the report, the option “Forena Reports” does not appear.

How can I solve this problem?

Note: I also have the Forena UI module activated, but I was reading this :

Release notes Basic rendering of reports and document types are complete, however the GUI version of the report writer has not yet been ported. Sufficed to say, this version can be used by Drupal 8 report writers who are comfortable writing .frx files and sql elements by hand.