How to add an additional label in OpenAM login page - authentication

I am new to OpenAM. I need to create a custom styled login page, based on an existing login page:
This is what I've got so far:
I copied the DARK theme
I modified DataStore1.html to add style-classes and some HTML
I modified the CSS files
My questions:
Can I force OpenAM to always show the dutch version, regardless of browser language settings?
Where can I change the text of "Sign in"?
How do I move the "Remember my username" up so it gets between the username and the password?
How can I add the "Log in met je gebruikersnaam en pincode" sub-title?
How can I add the "Forgot pincode" URL?
Thanks!

1) You can remove all other localizations for the auth modules and ensure that all default locale properties files (that are involved in authn) are Dutch.
2) This would be in the callback descriptor XML for the authentication module. The DataStore module's XML by default can be found under config/auth/default/DataStore.xml under the servlet context.
3) Probably you will need to write some JavaScript for that. The callback rendering process cannot be customized.
4) In DataStore1.html just add that text above the callback rendering handlebars template (i.e. before {{#each reqs.callbacks}})
5) That depends on what that feature does, if it's just a custom link, then editing the DataStore1.html template will suffice.

Related

Shopify Liquid: Adding Sections to the Login Template

I have a client request to add manageable content to the login page. I assume this would work like managing any other page, simply create a section with the necessary schema and markup, then include that section ({% section 'section_name' %}) in the customers/login.liquid theme template. Problem is I don't see an option to select the login page in the page selection drop-down when customizing the theme. How do I allow my client to customize the login page via sections?
Thanks!
The actual login template cannot have manageable sections.
The closest workaround is to create a custom page template that includes a login form. The page can include manageable sections that are accessible when customizing the theme. The only issue is that all the automatically generated login url links will not go to this page, so any instances of those links need to be adjusted in the theme.
You can manually tell the customizer where to go by adding a hash(#) at the end of the url, followed by the shopify site path you want to visit/edit.
https://<domain>.myshopify.com/admin/themes/<theme-id>/editor#/account/login
Once you enter this in the browser url bar, you'll need to hit enter twice to get the page to reload properly.
If you do this and find it keeps sending you back to the homepage, it means that accounts are disabled on the Shopify store. You can change this by going to:
Shopify Admin > Settings > Checkout > Customer accounts
Then selecting either: Accounts are optional // Account are required

Customize Hybris Backoffice login Theme

Anyone has an idea about how to change the default Backoffice Login Theme (Color, Background and image or any of these) ?
It could be helpful if you point out the file(s) responsible for this, or a specific way to customize it.
Using Hybris 6.0 or later.
Replacing Styles of Backoffice Application :
It is possible to replace the standard look and feel of the Backoffice Application. In other words, you can change the style sheet used in login page and main application pages including all components.
Files responsible for changing Backoffice main page style are located in the following key properties :
backoffice.cockpitng.mainpage.css=/cng/css/mainpage_whitelabel.css
backoffice.cockpitng.loginpage.css=/cng/css/loginpage_whitelabel.css
backoffice.cockpitng.overridewidgetsandeditors.css=/cng/css/customWidgetsAndEditors.css
For more about this topic, you can visit this link.

How to add a custom TPL on whmcs cart

We are trying to add a new .TPL file inside our Cart Template, we already did everything but when we try acessing:
site.com/cart?a=newfile
It does not work, is there any way to make WHMCS see the new file as part of the template in question?
I trying to create a custom register page to my template.
Thank you
If your aim is to create a custom registration page, I suggest you to continue with whmcs default templates instead of creating your own template.
In your custom registration page :
-if you want to customize the style,
you can do that by just editing css and html within viewcart.tpl.
-if you want to addcustom field and inputs into your custom registration form,
using in Admin area of whmcs Setup-> Custom Client Fields section,
you can add various of inputs with validation.
-if you want to some action on the registration event,
use this hook to catch the event and take your action,
it will fire whenever someone registers from your website :
http://docs.whmcs.com/Hooks:ClientAreaRegister

change default joomla login page

i'm working on a Joomla web site where i would like to change the default authentication page.
i created a new login menu item and i've tried to hide the com content area so that the login form don't show. instead of the default login form i placed a new better looking login module.
now i'm trying to make this page the default login page.
There are a couple areas in the site where access is restricted to registered users. and if clicked it leads to the default joomla login page. i want the user to be redirected to login from the new one.
can you please help?
The easiest way to obtain your own custom login page is to override the default joomla layout template.
It's actually very easy to do.
Start with your template. In the template directories, you'll need to have an html folder in your template. Inside of that, you'll need a com_users directory, and inside of that - a login folder. Like this:
/templates/YOURTEMPLATE/html/com_users/login
Then, copy /components/com_users/views/login/tmpl/default_login.php into your new login folder you just created.
From here, you can customize the default_login.php file to your hearts content. Be sure to keep the field names and hidden fields intact - be sure to only manipulate layout elements and avoid changing anything to do with the form, form name, destination or fields.
You can do the same for the logout template - and as a bonus, it goes in the same folder in your template.

wicket authentication / login

I am following this tutorial http://wicket.wordpress.com/2010/01/08/template-for-building-authenticated-webapplication/ in order to learn how to make login and authentication using wicket.
My question/problem is that my login area is on the header and therefor one can login on every page.
If my application class should inherit AuthenticatedWebApplication, then I must override getSignInPageClass method. What page class should I provide?
Is there any other best tutorial to add authentication using wicket?
The sign in page is displayed when the user attempts to access a Page or other component which requires authorization to create. If your application allows login on every page, then none of your pages require authorization, and the sign in page will never be displayed. I suggest you set it to the home page.
As all your pages are visible, you can't use the #AuthorizeInstantiation annotation on your page classes. Instead, you must control visibility of components within the page using the RENDER action instead. For example,
MetaDataRoleAuthorizationStrategy.authorize(mycomponent, RENDER, "SYSADMIN");
The only example I can find is at wicketstuff.org.