Hide Joomla 4 Vertical menu (Phoca Top Menu)

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

Hide Joomla 4 Vertical menu (Phoca Top Menu)

Post by shoulders » 29 Sep 2020, 17:29

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: 42971
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 29 Sep 2020, 20:41

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 Newbie
Phoca Newbie
Posts: 8
Joined: 22 Sep 2013, 19:44

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

Post by shoulders » 30 Sep 2020, 13:23

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: 2036
Joined: 28 Nov 2010, 17:20

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

Post by christine » 30 Sep 2020, 18:21

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 Newbie
Phoca Newbie
Posts: 8
Joined: 22 Sep 2013, 19:44

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

Post by shoulders » 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.

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42971
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 01 Oct 2020, 16:31

Ok
If you find Phoca extensions useful, please support the project

Post Reply