a
, b
, c
, d
, e
, f
.s1
, s2
, s3
.s1
, a
, b
, s2
, c
, d
, s3
, e
, f
.The menu items are displayed in the following order: s1
, a
, b
, s2
, c
, d
, s3
, e
, f
.
The first separator (s1
) is not displayed. The menu appears as: a
, b
, s2
, c
, d
, s3
, e
, f
.
j5.3 php 8.3
If you use the separator item solely as a visual separator, the first separator at the top might not make sense (unless you place additional entries above the Custom Admin menu). However, if you use the 'Label' option, along with appropriate text for orientation, then a separator item at the top is quite useful.
Labels |
Added:
No Code Attached Yet
|
This is the code that is preventing the separator from being displayed. I do not understand the purpose of this code so am reluctant to touch it myself. Perhaps this information will assist someone else to resolve this issue
joomla-cms/administrator/modules/mod_menu/src/Menu/CssMenu.php
Lines 448 to 458 in ee450c9
I also note that if there is a separator at the end then it is displayed even though this code block suggests that it should not be
joomla-cms/administrator/modules/mod_menu/src/Menu/CssMenu.php
Lines 473 to 478 in ee450c9
Confirmed. When the separator is the first item it is not displayed. But then I guess that would be correct as it can not separate anything. "A separator with or without a text label, useful to separate items within a menu."
However I do agree with you that it would be useful to display