The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Creating a new default login page.

3 posters

Go down

Solved Creating a new default login page.

Post by Momoko-chan October 30th 2017, 4:43 pm

Hi, referring to this topic; https://help.forumotion.com/t153149-login-and-registration-in-html-page, I used it to help me create a custom page, but now I have an issue I don't know how to resolve.

I would like a way to have the original default login page redirect to the custom one I made. Maybe it was in the previously mentioned topic and I missed but I don't know what exactly I need to do.

Here is the custom page I made (still under work): http://daisuki.forumotion.com/h3-login. I want that to be the new default login page. Thank you.


Last edited by Momoko-chan on October 31st 2017, 8:13 pm; edited 1 time in total
Momoko-chan
Momoko-chan
New Member

Posts : 18
Reputation : 1
Language : English

http://kurumi.forumotion.com

Back to top Go down

Solved Re: Creating a new default login page.

Post by SSYT October 31st 2017, 7:39 pm

Try my code:
Code:
$(function() {
    (/\/login/g.test(window.location.href)) ? window.location = '/h3-login' : '';
});

Placement: On all pages.
SSYT
SSYT
Forumember

Male Posts : 77
Reputation : 15
Language : RO-10, EN-3, FR-1
Location : Romania

http://help.forumgratuit.ro/forum

Back to top Go down

Solved Re: Creating a new default login page.

Post by Momoko-chan October 31st 2017, 8:12 pm

Thank you very much! Exactly what I was looking for. ^_^
Momoko-chan
Momoko-chan
New Member

Posts : 18
Reputation : 1
Language : English

http://kurumi.forumotion.com

Back to top Go down

Solved Re: Creating a new default login page.

Post by SLGray October 31st 2017, 11:16 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


Creating a new default login page. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum