I'm using Liferay 6.2.1 EE SP6/CE.
I've modified the password policies to enable:
passwords.default.policy.change.required=true
This forces new users to change the password on first login.
When user tries to login for the first time, the user is redirected to change his password as expected, but the theme is Classic.
I have a custom theme developed for my whole site.
How can I apply this custom theme to the Change Password on first login - "New Password" screen?
Tried the below properties to no effect:
default.regular.theme.id=mycustomtheme_WAR_mycustomtheme
default.user.public.layout.regular.theme.id=mycustomtheme_WAR_mycustomtheme
default.user.private.layout.regular.theme.id=mycustomtheme_WAR_mycustomtheme
Try to set a default theme in:
Control Panel -> Configuration -> Portal Settings -> Display Settings -> Look and Feel -> Default Theme
The below portal property fixed it.
default.user.private.layout.regular.theme.id=mycustomtheme_WAR_mycustomtheme
Related
I implemented Google authentication in my Yesod application.
When I open http://localhost:3000/auth/login I see a page generated by Yesod.
I tried to add login.hamlet to templates folder but it didn't override default login page.
Which is the right way to customize login page in Yesod?
You can override the classes methods listed here https://www.stackage.org/package/yesod-auth
For example if you want to change the default email login page, you can do in Foundation.hs
instance YesodAuthEmail App where
...
emailLoginHandler = myEmailLoginHandler
and then look here to see how to implement it https://www.stackage.org/haddock/nightly-2019-08-26/yesod-auth-1.6.7/src/Yesod.Auth.Email.html#defaultEmailLoginHandler
I want to customize OpenAm login page, for client perspective,
I had check OpenaAm Chapter for latest XUI changes, ie by default it takes XUI
I tried to configure current default theme,
present in
XUI/themeConfig.json under the directory where we unpack OpenAM,
For example.
I had modify footer element : by default footer mailto element: info#forgerock.com
"footer": {
"mailto": "info#xyz.com",
"phone": ""
}
}
after pack and deploy war file,
But still it showing old one ie info#forgerock.com on startup
My question is what is the proper steps of customizing OpenAm login page , from OpenAm guide, it was bit confusing.
Please suggest
Thanks
a)Modify XUI\config\themeConfig.json, delete cache from your web browser...Then reload page and see what you had entered.
b)You can also set org.forgerock.openam.core.resource.lookup.cache.enabled, to false in Configuration > Servers and Sites > Server Name > Advanced to see in real time your modify, but in a Production Environment remember to change again to true for better performance.
Best regards,
Alex
I'm trying to implement the Form Runner Proxy Portlet into my Liferay portal but I have a problem.
In Orbeon, I have an application named "CUS07" and two forms named "CUS07" and "Test" (and Orbeon default app and forms).
I set the init parameters in "portlet.xml" to display "CUS07/CUS07" form by default.
It's working well. But when I go to the "Preferences" page in the portlet configuration and I set "Form Runner app name" to "CUS07" and "Form Runner form name" to "CUS07" and click on "Save" button, nothing change. The form displayed is still "Test" and when I go back to "Preferences" page, the fields are still filled with init parameters set in "portlet.xml".
I tried with different datas in portlet.xml and "Preferences" page (with default Orbeon forms and app), but it does not change anything, I can not override init parameters with portlet preferences.
Nothing is logged in catalina.out.
Is it a known issue or what can I try to find the reason of this problem ?
Thank you :)
Environment :
- CentOS
- Tomcat 7
- Liferay 6.2 CE
- Orbeon 4.4.0
Can you verify steps from below link, it might help you.
http://www.liferay.com/community/wiki/-/wiki/Main/How+to+Add+a+Configuration+Page+to+a+Portlet
on your configuration action class you should be getting the parameter value (from your config jsp) & store it in preferences. This should update the value in preferences.
I got the answer on Twitter : https://twitter.com/mikew_satx/status/428752758984806400
This line :
<requires-namespaced-parameters>false</requires-namespaced-parameters>
was missing in liferay-portlet.xml.
This is specific to Liferay 6.2.
By default my gitlab homepage starts www.mydomain.com/users/sign_in. I would like to change this to show 'www.mydomain.com/public' instead. How do I configure this?
Setting custom startpage for non-logged in users:
From "Admin Area" goto the gear on the left and choose "Settings"
Find parameter "Home page URL" and set it to www.mygitlab.com/explore.
Optional set "After sign out path" to same url
Click save
Tested with version is 8.14.4 CE
This answer was written while running Gitlab 6. Any instructions may be outdated.
The feature request has been declined so you have to do it on your own and change the source code.
Full tutorial here: Kovah.me DevBlog
Short HowTo:
Just open
gitlab/app/views/layouts/devise.html.haml
and change what you want.
For example you could replace %h1 GitLab with your own logo. Use the image tag for it: %img{:src => "/source/to/image.png"}
But attention! You have to use spaces to indent all elements! And make a backup before running any upgrades.
I'm trying to add a new web site on my IIS manager.
-> My site name is "teorikolarak.com"
-> Application pool is "DefaultAppPool"
-> Physical Path is "C:\inetpub\wwwroot\teorikolarak.com"
teorikolarak.com is a file and it contains "default.html" page.
When I click the Test Settings... button it does not return any error. Everyting seems to okey .
-> binding type: http
-> IP adress : 192.168.2.4
-> Port:80
-> HostName: www.teorikolarak.com
Also I updated hosts file. "192.168.2.4 teorikolarak.com"
Now, when I type the www.teorikolarak.com on address bar It can not found the site. Also, I typed the 192.168.2.4 on address bar, default IIS7 page is opening. why is it happens? why my default.html file doesnt appears on my browser?
Windows7 & IIS7
Click on the website in IIS Manager and then press the Explore button in the Actions panel. Do you see your default.html file? If so, double click on the "Default Document" feature (in the middle panel). Check to see if Default.html is listed as a valid default document. It probably is not. Click the Add... button in the Actions panel to add "default.html" as a valid default document. Now it should work.
can you try going to
http://teorikolarak.com/