use get_location also in portlet_events