Page 1 of 1

Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 29 Sep 2020, 17:29
by shoulders
I would like an option within the Phoca Top Module to completely hide the Joomla 4 Admin menu because I am never going to use that horrid thing.

https://imgur.com/a/3oKZ7vf

NB: There is nowhere to add a feature request for Phoca modules (unless they belong to a larger component).

Thanks (this is a must have module)

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 29 Sep 2020, 20:41
by Jan
Hi, you can disable the admin menu in modules (administration):

Image

I didn't test the latest J! 4 Beta, but in Beta 2, there is still displayed left panel even there is no menu. But this is then a question on Joomla! core developers. :idea:

Jan

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 30 Sep 2020, 13:23
by shoulders
is it possible to inject CSS into the admin area with an on off toggle in the module?

to convert

Code: Select all

<div id="sidebar-wrapper" class="sidebar-wrapper sidebar-menu">
to

Code: Select all

<div id="sidebar-wrapper" class="sidebar-wrapper sidebar-menu" style="display: none;">

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 30 Sep 2020, 18:21
by christine
Hi,

with CSS:

Code: Select all

#sidebar-wrapper {
display: none;   
} 
Version 4.0.0-beta5.dev

but, as Jan said, it's a question to Joomla! core developers.

Kind regards
Christine

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 30 Sep 2020, 18:25
by shoulders
@christine - thanks for the info.

I will add the option myself when i get time to do some testing, should not take too long.

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 01 Oct 2020, 16:31
by Jan
Ok

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 15 Jun 2023, 22:19
by trogladyte
shoulders wrote: 30 Sep 2020, 18:25 @christine - thanks for the info.

I will add the option myself when i get time to do some testing, should not take too long.
I just today discovered this module - brilliant thank you! Why the Joomla devs thought the sidebar menu monstrosity was a good idea I'll never understand. They CLAIM it was accessibility... didn't improve my accessibility.

I saw that this option (to totally hide the frankenstein sidebar) wasn't added to the module. Will it be?

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 16 Jun 2023, 21:50
by shoulders
I never got around to adding this and sharing the code. I am trying to avoid Joomla 4 because of the admin.

It is an easy thing to do though

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 16 Jun 2023, 22:14
by trogladyte
shoulders wrote: 16 Jun 2023, 21:50 I never got around to adding this and sharing the code. I am trying to avoid Joomla 4 because of the admin.

It is an easy thing to do though
LOL!! Yes, easy for someone who knows programming - sadly I never got around to learning more than some HTML and CSS. Maybe I'll see if there's someone on Fiverr that will do it.

Something I noticed was that, on a phone, the Phoca menu totally disappears - no hamburger even. Now I don't spend my life editing on a phone, but today was one of those days. Having a menu there would have been very useful.

Re: Hide Joomla 4 Vertical menu (Phoca Top Menu)

Posted: 16 Jun 2023, 23:28
by Jan
Hi, yes, the top menu is advantageous for normal displays, its advantage is precisely the width, so it is not displayed on mobiles, because it would not fit there. A standard menu is simply needed on mobiles.