How can I hide The "Register" button from the header menu?

aminur

Member
Registered
Joined
Apr 16, 2020
Messages
15
Points
13

Reputation:

I want to hide the "register" button from the header menu. Please help me.
 

Attachments

  • Capture.PNG
    Capture.PNG
    2.9 KB · Views: 110

Paradox

Darknet Spy
Registered
Joined
Apr 7, 2020
Messages
39
Points
8

Reputation:

I want to hide the "register" button from the header menu. Please help me.
aminurThis does not seem to be the best way to handle this but you must have your reasons.
This tab is disabled if you disable the registration. You can find it in the template called PAGE_CONTAINER:

Code:
<xf:if is="$xf.options.registrationSetup.enabled">
<a href="{{ link('register') }}" class="p-navgroup-link p-navgroup-link--textual p-navgroup-link--register" rel="nofollow"
data-xf-click="overlay" data-follow-redirects="on">
<span class="p-navgroup-linkText">{{ phrase('register') }}</span>
</a>
</xf:if>
 

sristi

New member
Registered
Joined
Apr 17, 2020
Messages
3
Points
1

Reputation:

What is the PAGE_CONTAINER location.
would you tell me please?
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
20,162
Points
823

Reputation:

Appearance -> Templates
 

sucre13

Moderator
Staff member
Moderator
Collaborate
Registered
Joined
Jan 19, 2019
Messages
844
Points
153

Reputation:

Appearance -> Templates -> PAGE_CONTAINER
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
20,162
Points
823

Reputation:

That tab is disabled if you disable registration.
Admin CP -> Home -> Options -> User Registration -> Enable Registration
 
Top