liferay default settings

thumbnail
3994126, modified 16 Years ago. New Member Posts: 13 Join Date: 9/9/09 Recent Posts
Hi all,

I am using liferay 5.2. I have customized welcome page and added some other web contents to show for members only and trying to change default landing page. but when i restarted my domain, all my setting have gone to default setting came again expect header and logo, why is that am i doing something wrong, please provide some assistance.
thumbnail
394763, modified 16 Years ago. Regular Member Posts: 165 Join Date: 1/15/08 Recent Posts
Hi Sikandar,

Which bundle of liferay you are using. Is there 7cogs hook's?

If yes, Please unregister 7COGS HOOKS and then add your custom Web Content.


SMDZ
thumbnail
3994126, modified 16 Years ago. New Member Posts: 13 Join Date: 9/9/09 Recent Posts
zaheer mohammed saddapalli:
,

Which bundle of liferay you are using. Is there 7cogs hook's?

If yes, Please unregister 7COGS HOOKS and then add your custom Web Content.


SMDZ


Hello Zaheer,

Thanks for your kind reply.

I am using liferay bundled for solaris. Can you please give me some idea or link, where is this located and how i can unregister it.
thumbnail
394763, modified 16 Years ago. Regular Member Posts: 165 Join Date: 1/15/08 Recent Posts
hi Sikandar,

Please goto Webapps folder in your server.

Here you can find the sevencogs theme and hooks.


SHIFT-DELETE this folders.

Restart the server.

emoticon
thumbnail
3994126, modified 16 Years ago. New Member Posts: 13 Join Date: 9/9/09 Recent Posts
Hello Zaheer, emoticon

Many thanks it is done. Now it is not going to the default setting after rebooting the server. Now i want to change my default landing page. i have studied in forum to change some settings in portal-ext.properties. but i am unable to find this file in location mention by some one <TOMCAT_HOME>/webapps/ROOT/WEB-INF/classe. can you please guide me where i can find this file or is there any other method to change my default landing page which appear after members login.

Sorry to disturb you again. Once again thank you.

regards,

Sikander
thumbnail
394763, modified 16 Years ago. Regular Member Posts: 165 Join Date: 1/15/08 Recent Posts
Well done Sikandar,


Not to locate portal-ext.properties please

WEBAPPS>ROOT>WEB-INF>CLASSES

Open portal-ext.properties and add following code for making user to land in his Private Work Space every time when he logs in.


auth.forward.by.last.path=false


If you want make singe landing page. It will be common landing page for all users.


default.landing.page.path=/web/guest/login
thumbnail
3994126, modified 16 Years ago. New Member Posts: 13 Join Date: 9/9/09 Recent Posts
Thank you Zaheer,

I have searched above your mentioned path, but this file doesn't exist there. I have searched on this path given below.
/var/apache/tomcat55/webapps/ROOT/WEB-INF/classes
but inside it there is only org folder then at last there is index_jsp.class file available there. Am i doing something wrong or it might be not available in my liferay version 5.2. Please advise.

Regards,

Sikander
thumbnail
2196532, modified 16 Years ago. Regular Member Posts: 159 Join Date: 2/15/09 Recent Posts
Hi Sikander,

I think you are referring something wrong.

This file is there in liferay 5.2 as well.

You can also refer this forum http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3997347


Thanks,

Gaurang
thumbnail
394763, modified 16 Years ago. Regular Member Posts: 165 Join Date: 1/15/08 Recent Posts
Ok fine.

Sikandar please make sure u have this directory structue

ROOT
------- |--dtd
------- |--errors
------- |--html
------- |--layouttpl
------- |--META-INF
------- |--wap
------- |--WEB-INF
---------------------|--classes
-----------------------------------|---portal-ext.properties
---------------------|--lib
---------------------|--tld
---------------------|--tmp


If that file is not exist please add this file with same name(portal-ext.properties) and make required entries.

Then Restart the server.

With Regards,
Saddapalli Mohammed Zaheer
Senior Software Engineer
Infoaxon Technologies Ltd.,
thumbnail
3994126, modified 16 Years ago. New Member Posts: 13 Join Date: 9/9/09 Recent Posts
Thanks Zaheer for your kind reply.

Now i have created this file in this location as you mentioned.
/var/apache/tomcat55/webapps/ROOT/WEB-INF/classes

in the portal-ext.properties i have simply added these two entries to only change my default landing page which appears after successful login and rebooted my server.
auth.forward.by.last.path=true
default.landing.page.path=/web/guest/quick links //is the second page i have added for members only.

but by doing this nothing changes, it go to the same default url after login. I have also tried with example entries of portal-ext.properties mention by someone but nothing changes. Is there any complete code file for portal-ext.properties?

Regards,

Sikander
thumbnail
771481, modified 16 Years ago. Liferay Master Posts: 621 Join Date: 5/6/08 Recent Posts
hi sikander,

# Set this to true if users are forwarded to the last visited path upon
# successful login. If set to false, users will be forwarded to their
# default layout page.
#
auth.forward.by.last.path=true


set false , if you donot want to forward last visited path

#
# Set the default landing page path for logged in users relative to the
# server path. This is the page users are automatically redirected to after
# logging in. For example, if you want the default landing page to be
# [http://localhost:8080/web/guest/login,] set this to /web/guest/login. To
# activate this feature, set auth.forward.by.last.path to true. To customize
# the behavior, see com.liferay.portal.events.DefaultLandingPageAction in
# the "login.events.post" property above.
#
#default.landing.page.path=/web/guest/login

enter your path

With Regards,
V.Auditya
thumbnail
3994126, modified 16 Years ago. New Member Posts: 13 Join Date: 9/9/09 Recent Posts
Thank you for your quick response.

I have added these two entries in my portal-ext.properties which i created by myself, there is nothing else in the file expect these two entries. but there is no change appearing in default landing page after successful login. The entries are given below.

auth.forward.by.last.path=true
default.landing.page.path=/web/guest/quik-links

Is there anything missing or am i doing something wrong.

Regards,

Sikander
thumbnail
771481, modified 16 Years ago. Liferay Master Posts: 621 Join Date: 5/6/08 Recent Posts
Is there anything missing or am i doing something wrong.



auth.forward.by.last.path=true


It is already set as true in portal.properties, dont enter duplicate entries.
thumbnail
3994126, modified 16 Years ago. New Member Posts: 13 Join Date: 9/9/09 Recent Posts
Hello Auditya,

Thank you for your reply.

It is already set as true in portal.properties, dont enter duplicate entries.


Still there is no change appearing after removing this line. What can be other possible cause. sorry to bother you again.

Regards,

Sikander
3891189, modified 16 Years ago. New Member Posts: 3 Join Date: 8/27/09 Recent Posts
What settings can be changed to skip the user agreement when a new user is created
4474061, modified 16 Years ago. New Member Posts: 7 Join Date: 1/16/10 Recent Posts
Assalamu Alaikum

Bro Zameer

I want to ask a question I am installed Liferay recently latest veriosn


I want to change "Back to Guset" to "Back to Home" or "Back to user name"

where can I change this?

Thanks you very much

Haaziq