Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
Sara M
Liferay 6.1 - add entry blog button doesn't work
8 de febrero de 2012 3:13
Respuesta

Sara M

Ranking: New Member

Mensajes: 7

Fecha de incorporación: 8 de febrero de 2012

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
RE: Liferay 6.1 - add entry blog button doesn't work
9 de febrero de 2012 11:09
Respuesta

H Sparks

Ranking: New Member

Mensajes: 3

Fecha de incorporación: 30 de enero de 2012

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.
Cyril Barillet
RE: Liferay 6.1 - add entry blog button doesn't work
15 de julio de 2012 20:52
Respuesta

Cyril Barillet

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 28 de febrero de 2011

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.
Tiur LG //Softbless
RE: Liferay 6.1 - add entry blog button doesn't work
6 de octubre de 2012 22:01
Respuesta

Tiur LG //Softbless

Ranking: New Member

Mensajes: 7

Fecha de incorporación: 11 de junio de 2010

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

 1
 2#redirect.url.security.mode=domain
 3redirect.url.security.mode=ip
 4
 5#
 6# Input a list of comma delimited domains which the portal is allowed to
 7# redirect to. Input a blank list to allow any domain.
 8#
 9redirect.url.domains.allowed=
10
11#
12# Input a list of comma delimited IPs which the portal is allowed to
13# redirect to. Input a blank list to allow any IP. SERVER_IP will be
14# replaced with the IP of the host server.
15#
16redirect.url.ips.allowed=127.0.0.1,put-ip-address-here
Hitoshi Ozawa
RE: Liferay 6.1 - add entry blog button doesn't work
7 de octubre de 2012 5:41
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

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
Cyril Barillet
RE: Liferay 6.1 - add entry blog button doesn't work
7 de octubre de 2012 5:45
Respuesta

Cyril Barillet

Ranking: New Member

Mensajes: 4

Fecha de incorporación: 28 de febrero de 2011

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.