News:

Wondering if this will always be free?  See why free is better.

Main Menu

Removing The Profile Menu

Started by Stanyy, August 06, 2014, 04:19:48 AM

Previous topic - Next topic

Stanyy

I would like to remove the profile menu, the one that toggles to a sidebar. It doesn't seem to be on Profile.template.php

Hj Ahmad Rasyid Hj Ismail

I suppose it is the same menu whether on top or on the sidebar.

Removing the one in the sidebar means to remove the menu on the top as well.

It is in the Profile.php in the Source folder. Look under: $profile_areas = array(

Arantor

You can't remove it from Profile.php since then everything will be broken in the entire profile area.

It's also a generic menu which means it shares code with the admin and moderation areas, so you can't nuke that either.

I'm curious, why remove profiles? Considering if nothing else how many places link to the profile...

Stanyy

Thanks you both. Perhaps I would get better assistance if I explained what I need to do..

I am making a responsive theme (it's working, please don't ask). So far, my biggest problem right now is that generic menu.

- The horizontal layout is nice, but I don't want the dropdowns. A lot of people use the Opera Mini mobile browser and dropdowns either wont work well or will be annoying to most people.
- The vertical layout (sidebar) is nice, but it screws up the main profile really badly when viewed with 240px width mobile phone.

I have thought of removing the entire menu then add each individual item back one by one on top to look like the horizontal layout but without the dropdown. I will also like to do this for Personal Messages as well. Admin area should remain the same since I use a PC and it would look crowded if did the same thing there.

Arantor

So replace the generic menu template in your custom theme with something else that accommodates.
There's really no magic way to do what you're trying to do without a lot of effort.

Stanyy

Quote from: ‽ on August 06, 2014, 06:09:20 AM
So replace the generic menu template in your custom theme with something else that accommodates.
There's really no magic way to do what you're trying to do without a lot of effort.
Ok, that makes sense. Maybe it won't matter how the admin menu looks since it's just me using it. What file has the template for the menu?

Arantor

GenericMenu.template.php contains it.

Stanyy

Quote from: ‽ on August 06, 2014, 06:38:23 AM
GenericMenu.template.php contains it.
Thank you so much. I'll try it out then maybe share a screen shot when i'm done.

Arantor

I am curious as to what it'll look like :)

Advertisement: