Create a custom page in Sitefinity - sitefinity

I am new to Sitefinity and looking for a solution to create a custom password protected page that prompts used first with a password form and if successful, would display the content on the page.

That's a standard functionality of the CMS - just create the page and then from the Actions menu select Set Permissions and there you can set that only Authenticated users (or any other role) can have View access to the page.

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

How to create own login form in Joomla and how to create redirect file after login

I want to create my own login form. After user login , it will redirect to the mainpage which is same page when use default login form in Joomla in template. The problem is, i want to display the page by using my own login form. not use Joomla login form in template. How to create the login form then display on Joomla template? using php? I hope you can help me. I appreciate that.
You will need to override the components/com_users/views/login view in order to modify the look and feel of the login form. Yes - you will need to know/use PHP in order to do that.

SQL Script to set DNN page permissions and add an existing module to a page

I have a DNN site with a broken login screen. All urls (incl ?ctl=login) are not displaying the account login module so I am trying to create a new login page via the SQL database only.
I am looking for a script to do 3 things (ideally as a single script):
1) create a new page
2) give this new page 'All Users' permission to 'View Tab' and 'Edit Tab'
3) add the account login module to this new page
I hope this will be a workaround to gain access to site in order to fix underlying issue.
In general this is caused by the set login (Admin Site settings > Advanced settings) page not containing a login module.
Although not a direct answer to you question, the easier way to fix this is to remove the set login page for the portal.
In DNN 5+ check out the PortalLocalization table and look for the LoginTabId, reset that to NULL and you should be able to login again.

How to create customized login component in Salesforce?

I understand that we can create a customized login page in Salesforce; but I should create a login component and embed it in our public pages. I should also create another component that allows the user to log out or log in as as a different user. Is this possible?
Not 100% clear on the exact question here, but you don't need to create any custom components in order to customise the login page. This is now standard with Winter '14 - go to the "My Domain" admin menu item and scroll down to "Login Page Branding".
If you're unable to use this for some reason, or it's not what you're after perhaps you could explain further what you're trying to achieve?

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.