Hello,
I am having the same problem (5.2.3), and the above solution isn't working for me. Adding $request.attributes.LAYOUT to my template does display the layout values; however, I'm trying to get at the value for the layout field named 'column-2'. Here's the display of my LAYOUT data:
LAYOUT: {plid=99999, groupId=99999, companyId=99999, privateLayout=true, layoutId=999, parentLayoutId=1, name=Assets, title=, description=, type=portlet, typeSettings=layout-template-id=my template 118_INSTANCE_8Cs6_column-1=118_INSTANCE_8Cs6, 118_INSTANCE_Csu6_column-1=118_INSTANCE_Csu6, column-2=56_INSTANCE_p7Tc,56_INSTANCE_7uwL,56_INSTANCE_Pdv5 , hidden=false, friendlyURL=/assets, iconImage=false, iconImageId=0, themeId=, colorSchemeId=, wapThemeId=, wapColorSchemeId=, css=, priority=6, dlFolderId=0}
I have tried so MANY combinations of getting just the column-2 field value that I'm now feeling pretty dense...

I really need to have this done like 'yesterday', so I'd very much appreciate any assistance.
Thanks in advance.