how to hide "reset password" button in dotnetnuke (login module) - authentication

I use DotNetNuke 7 and I want to hide login "password reset" button from the form .
How do I achieve this?

You can hide it with this CSS, either embedded into you portal.css file, or into the skin.css
.dnnLoginActions {
display: none;
}

You can also disable the functionality my making an edit in the web.config file. That will apply to the entire DNN installation, not just a single portal.

Related

Hello, can somebody help me making a checkbox to be mandatory in my shopify checkout page? I have dawn them

I have to make a required / mandatory checkbox so when my clients go to the cart page they have to agree with my terms and conditions before proceeding to the checkout page
I was able to put the checkbox right next to the "checkout" button but I cannot make it required
You will have to have shopify-plus package in order to make changes inside checkout page, so when you will have shopify-plus admin access, just go to storefront code editor(shopify's code editor), open "checkout.liquid" named layout and use jQuery to make condition that if($('input[name=thename]:checked')) { $('#id').show(); // show proceeding to the checkout HTML }

AWS Cognito-remove signup in login page

I am using Aws Cognito and not able to find the solution for removing the Signup button from cognito login page.Thank you.
Cognito user pool provides the default login page with Forgot Password,signin and signup.But I want to hide/remove the Signup from that page.
In the AWS management console, go to Cognito, select your your user pool, then, under 'General Settings' / 'Policies' select option 'Only allow administrators to create users' (this deselects option 'Allow users to sign themselves up').
If you are using CloudFormation set AllowAdminCreateUserOnly to True like this:
resources:
Resources:
# Creates a User Pool
CognitoUserPool:
Type: AWS::Cognito::UserPool
Properties:
# Generate a name based on the stage
UserPoolName: ${self:custom.stage}-user-pool
# Set email as an alias
UsernameAttributes:
- email
AutoVerifiedAttributes:
- email
# Case sensitivity on the username input for the selected sign-in option.
UsernameConfiguration:
CaseSensitive: false
AdminCreateUserConfig:
AllowAdminCreateUserOnly: True # This setting disables self sign-up for users
you can hide the forget password and signup text by making following changes in CSS template.css file. to download this css file go to your user pool -> app clients -> choose your app client -> Hosted UI customization -> edit -> above the csv upload button you can see the link fot cssTemplate.css file. dowload it and make following chanes. i.e. replace .redirect-customizable class code with following :-
.redirect-customizable {display:none;}
upload this new file and save the changes. refresh the login page. you can see forget pwd and signup text is not there. thanks :)
[In their documentation there is an area that shows how you can use just the signup, but I think its as simple as setting hideSignUp to true, but this is the link where it gives the sample code:
https://ui.docs.amplify.aws/react/connected-components/authenticator/configuration
At the bottom of the page is the code that describes how to remove sign up
<Authenticator
formFields={formFields}
components={components}
hideSignUp={true}
>
{({ signOut, user }) => (
<main>
<h1>Hello {user.username}</h1>
<button onClick={signOut}>Sign out</button>
</main>
)}
</Authenticator>
]1
This is also a way to hide the signup as well!
You can override the css with the below code to just hide any tabs on the authenticator
.amplify-tabs {
display: none;
}

How to add an additional label in OpenAM login page

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.

Changing SocialEngine "edit my profile" page layout

I have been all over many files in the core but can't seen to find or know how to change the "edit my profile", "browse member", "forgot password" layouts to use a default layout or set layout. they all seem to be loading directly in to the content widget..
Any help please.. Thanks in advance.
Forgot Password password page layout is included to the layout editor's pages list beginning from SE 4.3.0 version. Regarding "browse members" page - it can only be edited manually (application/modules/User/views/scripts/_browseUsers.tpl and application/modules/User/views/scripts/index/browse.tpl). Same situation for the "forgot password" (application/modules/User/views/scripts/auth/forgot.tpl and forgot-form).

jQuery mobile - how do I get rid of the blue highlight on the Home button

I'm using jQuery mobile, and am using a home button in the header. When clicked, the home button has a blue highlight. I want to get rid of this, but can't seem to track down the CSS rule/-webkit CSS rule to do this.
Screenshot:
Can anyone help?
In jQuery Mobile the class added to buttons just pressed is: ui-btn-active. Here is a link to the documentation that talks about this class (although it doesn't say much): http://jquerymobile.com/demos/1.0b2/docs/toolbars/docs-navbar.html
Not sure if this is what you needed but I figured it might help. I'd recommend using FireBug or some such DOM Inspection tool to view the button in real-time.
You sure that's not just the default hi-light that links get when focused?
Try
#buttonID:focus{
border: none;
outline: 0;
}
An idea to help you track the problem as you don't share the link (you can easily just share the first page), is to use Safari, Chrome or even Firefox and make them act as an iPhone so you can use their Inspector / Firebug to track the problem
Firefox has a Agent User Switcher that you can easily make use in order to the browser be intrepertate as an iPhone
Chrome has it as well just add the User Agent string in the Extension options to create a new option
Safari 5 is the easiest one as this is already built in:
Open Safari and go to the Preferences, move to Advanced. At the bottom of the tab there is a check box for Show Develop menu in menu bar.
Go to the Develop menu and move to User Agent and select any iOS device.