XF 2.2 Removing registration splash and redirecting to the full page

Ksentile

Member
Hi everyone.

By default clicking the registration button brings up a splash prompt. I find it an unfortunate design because it can lead to accidental loss of data if you click outside of the splash area.

How can I remove the splash and instead have a simple redirect to the full registration page that would open anyway when you open it into a new tab?

Many thanks in advance.
 
Solution
Hello,

In PAGE_CONTAINER template, around line 280 remove data-xf-click="overlay" from
HTML:
<a href="{{ link('register') }}" class="p-navgroup-link p-navgroup-link--textual p-navgroup-link--register"
    data-xf-click="overlay" data-follow-redirects="on">
    <span class="p-navgroup-linkText">{{ phrase('register') }}</span>
</a>
Same for login if you want
HTML:
<a href="{{ link('login') }}" class="p-navgroup-link p-navgroup-link--textual p-navgroup-link--logIn"
    data-xf-click="overlay" data-follow-redirects="on">
    <span class="p-navgroup-linkText">{{ phrase('log_in') }}</span>
</a>
Hello,

In PAGE_CONTAINER template, around line 280 remove data-xf-click="overlay" from
HTML:
<a href="{{ link('register') }}" class="p-navgroup-link p-navgroup-link--textual p-navgroup-link--register"
    data-xf-click="overlay" data-follow-redirects="on">
    <span class="p-navgroup-linkText">{{ phrase('register') }}</span>
</a>
Same for login if you want
HTML:
<a href="{{ link('login') }}" class="p-navgroup-link p-navgroup-link--textual p-navgroup-link--logIn"
    data-xf-click="overlay" data-follow-redirects="on">
    <span class="p-navgroup-linkText">{{ phrase('log_in') }}</span>
</a>
 
Solution
Top Bottom