Foros de discusión

RE: Liferay 6.1 - add entry blog button doesn't work

Sara M, modificado hace 12 años.

Liferay 6.1 - add entry blog button doesn't work

New Member Mensajes: 7 Fecha de incorporación: 8/02/12 Mensajes recientes
Hi everybody,

I have some problem trying to add a new entry blog in a portal page. If I access from local browser the problem doesn't appear, but if I use a remote pc to get the portal page the button doesn't do anything.

This is the button html code that I can see from the browser:

<input class="aui-button-input" id="_33_addEntryButton" onClick="location.href = location.href.replace(location.hash, ´´);" type='button' value="Add Blog Entry" />

Does anybody know why it is happening?

Thanks in advance.
H Sparks, modificado hace 12 años.

RE: Liferay 6.1 - add entry blog button doesn't work

New Member Mensajes: 3 Fecha de incorporación: 30/01/12 Mensajes recientes
Are you getting a JS error similar to what I'm getting?

http://www.liferay.com/community/forums/-/message_boards/message/12441922

If so, I hope someone addresses it.
thumbnail
Cyril Barillet, modificado hace 11 años.

RE: Liferay 6.1 - add entry blog button doesn't work

New Member Mensajes: 4 Fecha de incorporación: 28/02/11 Mensajes recientes
Hi.

I have the same problem: the blog's "add button" doesn't work with Liferay 6.1
I haven't any javascript error.
I test with IE9 and Chrome 20.0.1132.57.

Does anyone tell if it's a bug ?

Best regards.
thumbnail
Tiur LG //Softbless, modificado hace 11 años.

RE: Liferay 6.1 - add entry blog button doesn't work

New Member Mensajes: 7 Fecha de incorporación: 11/06/10 Mensajes recientes
I had same problem. How do you access remotely? By IP Address or by domain name?

If it's IP address you could add these lines to portal-ext.properties

The sample below, if you're using IP address


#redirect.url.security.mode=domain
redirect.url.security.mode=ip

#
# Input a list of comma delimited domains which the portal is allowed to
# redirect to. Input a blank list to allow any domain.
#
redirect.url.domains.allowed=

#
# Input a list of comma delimited IPs which the portal is allowed to
# redirect to. Input a blank list to allow any IP. SERVER_IP will be
# replaced with the IP of the host server.
#
redirect.url.ips.allowed=127.0.0.1,put-ip-address-here
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Liferay 6.1 - add entry blog button doesn't work

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Most actual web systems use domain names instead of ip address so it's actually better to set to use domain name:
redirect.url.security.mode=domain
#redirect.url.security.mode=ip
thumbnail
Cyril Barillet, modificado hace 11 años.

RE: Liferay 6.1 - add entry blog button doesn't work

New Member Mensajes: 4 Fecha de incorporación: 28/02/11 Mensajes recientes
I access remotely by domain name.

I fixed my problem:
1) I updated from 6.1 GA1 to 6.1 GA2.
2) I replaced the default virtual host name "localhost" by "portal.cyril-barillet.com".

It works fine now.