Forum Support

Shape 5
March 28, 2024, 02:45:41 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to hide Menu based on user granted  (Read 6088 times)
claveria
Jr. Member
**
Offline Offline

Posts: 7



« on: October 06, 2015, 04:21:35 AM »

There is a pluging called nav menu role, but it does not work with Flex Menu.

How Can I do that functionality with Flex Menu?

Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: October 06, 2015, 07:09:43 AM »

Hello,

You cannot hide an entire menu system based on the user's permissions, you can do that with individual menu links though through the default functions of the Menu Manager. The flex menu is designed to work with the default menu system of Joomla, not plugins that modify or add functionality to that.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
claveria
Jr. Member
**
Offline Offline

Posts: 7



« Reply #2 on: October 07, 2015, 12:03:04 AM »

Hi,

I am working with Wordpress. I do not want to hide a full menu. Only some links that should be visible if the user do the login


Hello,

You cannot hide an entire menu system based on the user's permissions, you can do that with individual menu links though through the default functions of the Menu Manager. The flex menu is designed to work with the default menu system of Joomla, not plugins that modify or add functionality to that.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: October 07, 2015, 08:05:25 AM »

If the plugin you are trying to use doesn't already work with Flex, then it is unlikely that doing what you want is possible without some custom coding.  Depending on the theme you are using, it may be possible to just have a custom menu widget placed in a submenu or Top Menu position and set to only appear when a user is logged in, but that's about the best I can suggest.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
claveria
Jr. Member
**
Offline Offline

Posts: 7



« Reply #4 on: October 07, 2015, 08:57:24 AM »

Hi,

I am using velocity theme.

How a custom menu widget can becreated? Sorry but I am newbie in Wordpress.. but I have some knowledge in php...
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #5 on: October 07, 2015, 10:08:36 AM »

If you create an additional menu in the menu editor with only the items that you want logged in users to see, then use that menu in a "Custom Menu" widget placed in the "Top Menu" position, it will show on the bar just below the logo (as shown on the demo).  I'm not sure about being able to only show the widget to logged-in users, but that should at least get you closer to what you want to do.

Feel free to post any additional questions as new thread(s) on the Velocity board; it's easier to provide support for a specific theme when I can reference the board name as a reminder of which one you're using.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
claveria
Jr. Member
**
Offline Offline

Posts: 7



« Reply #6 on: October 07, 2015, 11:53:07 PM »

Well .. I think this is not a matter of the theme that we have chosen.

Others themes vendor rockettheme or gavick has this functionality implemented because it is a professional need.

What you are selling is that we have to implement by ourselves including js or php scripts to do what we want...

Sorry but show or hide menus for having a private zone for logging users should be something that shape5 should take in account when they offer PRO themes or pluggins.

That?s why we are paying Angry Angry Angry Angry
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #7 on: October 08, 2015, 12:26:49 AM »

Hello,

Please post your questions here as requested:

http://www.shape5.com/component/option,com_smf/Itemid,75/board,241.0/

This forum is for V4 Framework specific questions not those related to the Wordpress CMS or Widgets.

Thanks,
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
claveria
Jr. Member
**
Offline Offline

Posts: 7



« Reply #8 on: October 08, 2015, 01:34:35 AM »

What? This is not a problem based on a theme. It is a problem based on Vertex. There is not any specific forum for Flex Menu.

And waht I am requesting is a functionality that is going to happen to all sites that uses Flex Menu..

Anyway I have posted in that forum. Maybe those moderators can solve it..

Thanks!!
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #9 on: October 08, 2015, 06:33:12 AM »

The v4 version of Vertex has not been released for WP yet, until that time, this board is only relevant to the Joomla version of the framework.

What you are requesting has never been asked for in the past, and as something that is an extreme "rare-use" case, would be considered "custom coding" which is not technically covered by support.  I have tried to provide you with an alternative that is reasonable for the theme you have chosen, if you do not feel that to be sufficient, you are welcome to post to our Hire-a-Coder area and see if another member will help you achieve what you are looking for. 

I have added your suggestion to my list of "possible features" to be added to future versions of the framework, but the current version of the framework is on a feature freeze (bugfix changes only) and new features will not be added until v4 is complete and released.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.