Hello!
I didn't know where to post this as there is no section in the Phoca Forum dedicated to the Phoca Top Menu module.
I am delighted with this menu, which allows me to find my "former" joomla back.
Yet, as I have this menu now, can you tell me if there's a trick to toogle the default Joomla menu off (on the left) as it is of no use to me now... Joomla doesn't seem to offer this possibility ot else I haven't found it yet. Does it mean we have to hack the core files? and how? Any idea?
Thanks for your help!
Fabio
Phoca top menu module - toggle joomla menu off by default?
- fabio42
- Phoca Enthusiast
- Posts: 81
- Joined: 09 Oct 2018, 16:39
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca top menu module - toggle joomla menu off by default?
Hi Fabio,
1)
Maybe this is enough - then there is only a narrow part:
2) And/or:
Normally in the user.css created by Cassiopeia (administrator).
You might want to create a custom.css.
Kind regards
Christine
1)
Maybe this is enough - then there is only a narrow part:
2) And/or:
Code: Select all
#sidebar-wrapper.sidebar-wrapper.sidebar-menu {
display: none;
}
You might want to create a custom.css.
Kind regards
Christine
- fabio42
- Phoca Enthusiast
- Posts: 81
- Joined: 09 Oct 2018, 16:39
Re: Phoca top menu module - toggle joomla menu off by default?
Hello Christine!
You mean in the user.css file for the Atum template ? Because Cassiopeia is for the front end... and what I'm talking about is the menu that is on the administrator side. Yet, I tried to insert the code in the user.css file of the Atum template, and it does not toggle the menu off BY DEFAULT. Actually, this does not have any effect at all. There's no way to recompile the css in the template on the admin side.
Any idea then?
You mean in the user.css file for the Atum template ? Because Cassiopeia is for the front end... and what I'm talking about is the menu that is on the administrator side. Yet, I tried to insert the code in the user.css file of the Atum template, and it does not toggle the menu off BY DEFAULT. Actually, this does not have any effect at all. There's no way to recompile the css in the template on the admin side.
Any idea then?
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca top menu module - toggle joomla menu off by default?
Hi Fabio,
Yes, of course I mean the Atum template. I wrote too quickly. No wonder after this (other) long thread where these words often appeared: cassiopeia vs. gantry...
I have now temporarily tested:
a) a user.css in Atum, i.e.: css > create user.css
b) entered the above code (1st post) there.
c) refresh (clear cache)
d) It works. Result:
I will ask Jan if he can move this thread to: Phoca modules.
Kind regards
Christine
Yes, of course I mean the Atum template. I wrote too quickly. No wonder after this (other) long thread where these words often appeared: cassiopeia vs. gantry...
I have now temporarily tested:
a) a user.css in Atum, i.e.: css > create user.css
b) entered the above code (1st post) there.
c) refresh (clear cache)
d) It works. Result:
I will ask Jan if he can move this thread to: Phoca modules.
Kind regards
Christine
- fabio42
- Phoca Enthusiast
- Posts: 81
- Joined: 09 Oct 2018, 16:39
Re: Phoca top menu module - toggle joomla menu off by default?
Ok, I did not clear the cache, that's why. Yet, what you suggest is remove the full left menu. What I would have preferred was simply to have it toggled off (with just the icons) on the left. Possible?
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca top menu module - toggle joomla menu off by default?
Difficult because a lot of things depend on it. For example, removing the title next to the icons would also affect the top module etc. Therefore, I changed the width:
Code: Select all
#sidebar-wrapper.sidebar-wrapper.sidebar-menu {
max-width: 2.9rem;
}
Christine
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca top menu module - toggle joomla menu off by default?
Hi,
Phoca Top Menu only displays different menus in custom top position, so it does not have any tool to influence Joomla system. I am not sure (didn't test), but maybe there is some way to hide default menu in Joomla administration (maybe some module option, or administration menu option).
Jan
Phoca Top Menu only displays different menus in custom top position, so it does not have any tool to influence Joomla system. I am not sure (didn't test), but maybe there is some way to hide default menu in Joomla administration (maybe some module option, or administration menu option).
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Hero
- Posts: 2819
- Joined: 28 Nov 2010, 17:20
Re: Phoca top menu module - toggle joomla menu off by default?
Hi,
You would then have to remove the icon using CSS (it works). But also the title. As I said above:
.... removing the title next to the icons would also affect the top module etc ....
That's why it is "covered" with the above code.
Kind regards
Christine
Yes, that is possible. Deactivate the admin module. But then you still have the first row: "Toggle Menu".
You would then have to remove the icon using CSS (it works). But also the title. As I said above:
.... removing the title next to the icons would also affect the top module etc ....
That's why it is "covered" with the above code.
Kind regards
Christine
- fabio42
- Phoca Enthusiast
- Posts: 81
- Joined: 09 Oct 2018, 16:39
Re: Phoca top menu module - toggle joomla menu off by default?
Hey everyone!
While we were having this conversation I had also thrown a bottle in the sea on the Joomla Community Forum and got a response.
This is what they suggest and it hit the jackpot. With flying colors.
Here's the post in case: https://forum.joomla.org/viewtopic.php? ... 0#p3732250
Thanks A LOT anyway for your suggestions!
While we were having this conversation I had also thrown a bottle in the sea on the Joomla Community Forum and got a response.
This is what they suggest and it hit the jackpot. With flying colors.
Here's the post in case: https://forum.joomla.org/viewtopic.php? ... 0#p3732250
Thanks A LOT anyway for your suggestions!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca top menu module - toggle joomla menu off by default?
OK
If you find Phoca extensions useful, please support the project