Hide Joomla 4 Vertical menu (Phoca Top Menu)

Phoca modules - support for all Phoca modules except Phoca Gallery modules
shoulders
Phoca Member
Phoca Member
Posts: 10
Joined: 22 Sep 2013, 19:44

Hide Joomla 4 Vertical menu (Phoca Top Menu)

Post 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)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
shoulders
Phoca Member
Phoca Member
Posts: 10
Joined: 22 Sep 2013, 19:44

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

Post 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;">
christine
Phoca Hero
Phoca Hero
Posts: 2710
Joined: 28 Nov 2010, 17:20

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

Post 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
shoulders
Phoca Member
Phoca Member
Posts: 10
Joined: 22 Sep 2013, 19:44

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
trogladyte
Phoca Member
Phoca Member
Posts: 24
Joined: 11 Sep 2010, 04:30

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

Post 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?
shoulders
Phoca Member
Phoca Member
Posts: 10
Joined: 22 Sep 2013, 19:44

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

Post 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
trogladyte
Phoca Member
Phoca Member
Posts: 24
Joined: 11 Sep 2010, 04:30

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

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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.
If you find Phoca extensions useful, please support the project
Post Reply