The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Creating a new default login page.

View previous topic View next topic Go down

Solved Creating a new default login page.

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

Hi, referring to this topic; http://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, 9:13 pm; edited 1 time in total
avatar
Momoko-chan
New Member

Posts : 12
Reputation : 1
Language : English

http://daisuki.forumotion.com

Back to top Go down

Solved Re: Creating a new default login page.

Post by SSYT on October 31st 2017, 8:39 pm

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

Placement: On all pages.
avatar
SSYT
Forumember

Male Posts : 48
Reputation : 3
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 on October 31st 2017, 9:12 pm

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

Posts : 12
Reputation : 1
Language : English

http://daisuki.forumotion.com

Back to top Go down

Solved Re: Creating a new default login page.

Post by SLGray on November 1st 2017, 12:16 am

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


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

avatar
SLGray
Administrator
Administrator

Male Posts : 40868
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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