Foros de discusión
How to set normal mode in popup?
delang j, modificado hace 10 años.
How to set normal mode in popup?
Expert Mensajes: 252 Fecha de incorporación: 14/07/08 Mensajes recientes
hi guys,
i have an issue regarding liferay popup in 6.2 version.
the issue is when opening popup the view is like mobile mode. you may refer attachment.
the question is, how can i set normal mode when opening popup?
thanks in advance.
i have an issue regarding liferay popup in 6.2 version.
the issue is when opening popup the view is like mobile mode. you may refer attachment.
the question is, how can i set normal mode when opening popup?
thanks in advance.
meera prince, modificado hace 10 años.
RE: How to set normal mode in popup?
Liferay Legend Mensajes: 1111 Fecha de incorporación: 8/02/11 Mensajes recientes
Hi
in pop up we can use pop_up or exclusive window state for the portlet.
try Iframe AUI Dialog..
the following link have some examples about AUI Dialogs it may help you..
http://www.liferaysavvy.com/2013/11/working-with-liferay-alloy-ui-dialogs.html
Regards,
Meera Prince
http://www.liferaysavvy.com/
in pop up we can use pop_up or exclusive window state for the portlet.
try Iframe AUI Dialog..
the following link have some examples about AUI Dialogs it may help you..
http://www.liferaysavvy.com/2013/11/working-with-liferay-alloy-ui-dialogs.html
Regards,
Meera Prince
http://www.liferaysavvy.com/
delang j, modificado hace 10 años.
RE: How to set normal mode in popup?
Expert Mensajes: 252 Fecha de incorporación: 14/07/08 Mensajes recientes
hi,
thanks for your response.
screenshot given is the same view when open thru tablet/mobile device because of width size.
what im trying to achieve is to set button(mostly) reduce it width like normal when open popup. i know it because of bootstrap.
thanks for your response.
screenshot given is the same view when open thru tablet/mobile device because of width size.
what im trying to achieve is to set button(mostly) reduce it width like normal when open popup. i know it because of bootstrap.
Jonathan Mak, modificado hace 10 años.
RE: How to set normal mode in popup?
Junior Member Mensajes: 44 Fecha de incorporación: 3/02/11 Mensajes recientes
Hi Delang,
The popup button sizes are all based on the size of the popup window you have opened. If you specify a width in your dialog configuration, you will be able to get the normal sized buttons for your popup.
The popup button sizes are all based on the size of the popup window you have opened. If you specify a width in your dialog configuration, you will be able to get the normal sized buttons for your popup.
dialog: {
width: 680
}
Vincent CARNINO, modificado hace 9 años.
RE: How to set normal mode in popup?
Junior Member Mensajes: 47 Fecha de incorporación: 11/09/14 Mensajes recientes
Hi,
this is an old topic but i have the same issue. I created a popup in order to confirm some actions but when the popup opens the buttons are full size like Delang said.
I already have a width param in my window config but it doesn't work. Apparently when i resize the popup window to a larger width, at some point, it set the normal mode on, but i don't want a large window popup just for 2 small buttons ...
Here is my popup code:
May someone help me, please ?
this is an old topic but i have the same issue. I created a popup in order to confirm some actions but when the popup opens the buttons are full size like Delang said.
I already have a width param in my window config but it doesn't work. Apparently when i resize the popup window to a larger width, at some point, it set the normal mode on, but i don't want a large window popup just for 2 small buttons ...
Here is my popup code:
<aui:script use="liferay-util-window">
A.one('#<portlet:namespace />checkevent').on('click', function(event) {
Liferay.Util.openWindow({
dialog: {
centered: true,
height: 200,
modal: true,
width: 680
},
id: '#<portlet:namespace />dialog',
title: 'Check',
uri: '<%=dialogURL %>'
});
});
</aui:script>
May someone help me, please ?