Use the Social JLayouts in com_content as an example