Page 1 of 1

How to add menu only if a condition?

Posted: Mon May 22, 2023 5:08 am
by vintoICT

I want to add menu only if a condition is met and not with the inbuilt userlevel security feature.

for instance

if( // userhaspaid==1){
// show the menu link
}

else{// hide the menu link }

Re: I want to add menu only if a condition

Posted: Mon May 22, 2023 9:22 am
by mobhar

You may use MenuItem_Adding server event.