IP.Board Tutorials

does anybody know how to remove contact us section

Submitted by LiontTech2, , Thread ID: 241985

Thread Closed
LiontTech2
Novice
Level:
3
Reputation:
0
Posts:
34
Likes:
1
Credits:
16
06-05-2022, 12:47 PM
This post was last modified: 06-05-2022, 12:51 PM by LiontTech2
#1
Does anybody know I can remove the contact us section

[Image: 5KEFSSj.png]

RE: does anybody know how to remove contact us section

Junior Member
Level:
6
Reputation:
0
Posts:
70
Likes:
2
Credits:
5
06-05-2022, 07:58 PM
#2
yea you have to go into your theme and look for footer and remove this line
{{if \IPS\Member::loggedIn()->canUseContactUs() and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' )}}
<li><a rel="nofollow" href='{url="app=core&module=contact&controller=contact" seoTemplate="contact"}' {{if \IPS\Settings::i()->contact_type != 'contact_redirect' }}data-ipsdialog data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage='{lang="contact_sent_blurb"}' data-ipsdialog-title="{lang="contact"}"{{endif}}>{lang='contact'}</a></li>
{{endif}}

RE: does anybody know how to remove contact us section

LiontTech2
Novice
Level:
3
Reputation:
0
Posts:
34
Likes:
1
Credits:
16
OP
07-05-2022, 07:50 PM
#3
06-05-2022, 07:58 PM
one_finger_man1 Wrote:
yea you have to go into your theme and look for footer and remove this line
{{if \IPS\Member::loggedIn()->canUseContactUs() and !( \IPS\Dispatcher::i()->application->directory == 'core' and \IPS\Dispatcher::i()->module and \IPS\Dispatcher::i()->module->key == 'contact' )}}
<li><a rel="nofollow" href='{url="app=core&module=contact&controller=contact" seoTemplate="contact"}' {{if \IPS\Settings::i()->contact_type != 'contact_redirect' }}data-ipsdialog data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage='{lang="contact_sent_blurb"}' data-ipsdialog-title="{lang="contact"}"{{endif}}>{lang='contact'}</a></li>
{{endif}}
cheers for that

RE: does anybody know how to remove contact us section

Junior Member
Level:
6
Reputation:
0
Posts:
70
Likes:
2
Credits:
5
09-05-2022, 06:25 AM
#4
no problem if you need anything else just ask

Users browsing this thread: 1 Guest(s)