Hi all,
I customized the liferay's in-built sign-in portlet.The portlet is coming as pop-up.For that I changed portal-normal.vm and added the code
#set ($my_url = $portletURLFactory.create($request, "58", $getterUtil.getLong($plid), "RENDER_PHASE"))
$my_url.setWindowState("EXCLUSIVE")
<title>$the_title - $company_name</title>
$theme.include($top_head_include)
<script type="text/javascript" charset="utf-8">
function showPopup() {
AUI().use('aui-dialog', 'aui-io', 'event-custom', 'io-form', function(A) {
window.instance = new A.Dialog({
centered: true,
constrain2view: true,
destroyOnClose: true,
draggable: true,
height: 400,
resizable: false,
modal: false,
stack: true,
title: 'Authentication',
width: 400
}).plug(A.Plugin.IO, {uri: '$my_url'}).render();
});
}
</script>
Now,I can see the log-in portlet as pop-up.But after clicking sign-in button,it can not show validation messages,shows me a blank page

.....Giving right credentials it's working fine...Any suggestion????
Thanks..
Aritra
Please sign in to flag this as inappropriate.