Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
liferay default settings
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.
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.
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
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
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.
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.
Please goto Webapps folder in your server.
Here you can find the sevencogs theme and hooks.
SHIFT-DELETE this folders.
Restart the server.
Hello Zaheer, 
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
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
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.
If you want make singe landing page. It will be common landing page for all users.
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
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
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
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
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
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.,
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.,
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
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
hi sikander,
set false , if you donot want to forward last visited path
enter your path
With Regards,
V.Auditya
# 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
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
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
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.
Hello Auditya,
Thank you for your reply.
Still there is no change appearing after removing this line. What can be other possible cause. sorry to bother you again.
Regards,
Sikander
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
What settings can be changed to skip the user agreement when a new user is created
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
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
Community
Company
Feedback