IP.Board Tutorials

does anybody know how to remove contact us section

Submitted by LiontTech2, , Thread ID: 241985

LiontTech2
Novice
Level:
3
Reputation:
0
Posts:
36
Likes:
1
Credits:
2
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

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:
36
Likes:
1
Credits:
2
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

09-05-2022, 06:25 AM
#4
no problem if you need anything else just ask

Users browsing this thread: 2 Guest(s)