show/hide Googlemap in listpage

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
digitalphotoworld
User
Posts: 416
Location: Nürnberg/Germany

show/hide Googlemap in listpage

Post by digitalphotoworld »

I want to show/hide the googlemap in listpage for some userlevels. How could I achieve this?


danielc
User
Posts: 1601

Post by danielc »

Use Row_Rendered server event to hide your "custom view tag" field:
if (CurrentUserLevel() == -1) { // change -1 to your user level
$this-><yourfield>->Visible = FALSE;
}


Post Reply