Foros de discusión

Change selected page? Help me please

thumbnail
myFirst 30Year, modificado hace 17 años.

Change selected page? Help me please

Junior Member Mensajes: 26 Fecha de incorporación: 31/07/06 Mensajes recientes
Hello,
I would change the selected page.
I would want that the selected page was Product in place of Home.

Help me please!
thumbnail
Joseph Shum, modificado hace 17 años.

RE: Change selected page? Help me please

Expert Mensajes: 336 Fecha de incorporación: 17/05/06 Mensajes recientes
you can reorder your pages by going page settings and moving the products page to the top.
thumbnail
myFirst 30Year, modificado hace 17 años.

RE: Change selected page? Help me please

Junior Member Mensajes: 26 Fecha de incorporación: 31/07/06 Mensajes recientes
Joseph,

I would want that when I write http://localhost:8080 the visualized page is Products in place of Home. Which URL I must modify and which covered I must give in the ServicePreAction class?

In place of company.getHomeURL();
themeDisplay.setURLHome(protocol + company.getHomeURL());

I tried to change company.getHomeURL() with localhost:8080/web/guest/products

but an error is occurred

How can I set it correctly ?
thumbnail
myFirst 30Year, modificado hace 17 años.

RE: Change selected page? Help me please

Junior Member Mensajes: 26 Fecha de incorporación: 31/07/06 Mensajes recientes
I hope that anybody help me because I don't found a solution !!!

I'm very sad emoticon
thumbnail
myFirst 30Year, modificado hace 17 años.

RE: Change selected page? Help me please

Junior Member Mensajes: 26 Fecha de incorporación: 31/07/06 Mensajes recientes
I make a bit progress !

I found index.html file, but this a half-solution to me.
Ed F., modificado hace 17 años.

RE: Change selected page? Help me please

Expert Mensajes: 280 Fecha de incorporación: 27/06/06 Mensajes recientes
Joseph Shum:
you can reorder your pages by going page settings and moving the products page to the top.


In your main page (home, product, something in the guest community), click on Page Settings in the user menu (right below Welcome!).

Click on Guest (top left), then the Children Tab.

At the bottom is "Set the display order of child pages"

Click on products and the up arrow until it's at the top.

Now your localhost:8080 should go straight to this page.

Good luck.
-Ed
thumbnail
myFirst 30Year, modificado hace 17 años.

RE: Change selected page? Help me please

Junior Member Mensajes: 26 Fecha de incorporación: 31/07/06 Mensajes recientes
Thanks Ed

but my problem is create a cookie that holds trace of the last page selected from user in the community guest, so that the next time the user access to that page.
Someone knows like making this through the code?

Thanks in advanced ?
thumbnail
myFirst 30Year, modificado hace 17 años.

RE: Change selected page? Help me please

Junior Member Mensajes: 26 Fecha de incorporación: 31/07/06 Mensajes recientes
I resolv my problem: go on

http://www.liferay.com/web/guest/community/forums/message_boards/message/86292

for detail