Backported local portlets functionality