How to add menu only if a condition?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
vintoICT
User
Posts: 407

How to add menu only if a condition?

Post 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 }

mobhar
User
Posts: 11703

Post by mobhar »

You may use MenuItem_Adding server event.


Post Reply