Contact Admin

Remove contact us from navbar - Contact Admin

Remove contact us from navbar

by KhurramMunawar » Mon Oct 10, 2016 9:41 am

hi rich
Thanks fr the great extension

How to remove contact us link from the navbar.

Thanks
My forum:
DearHelper.org
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website
User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar
Contact:

Re: Remove contact us from navbar

by RMcGirr83 » Mon Oct 10, 2016 10:06 am

Remove or rename the ext/rmcgirr83/contactadmin/styles/prosilver/template/event/overall_footer_teamlink_after.html file.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21032
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Remove contact us from navbar

by gtsoukn » Sat Mar 04, 2017 2:12 pm

Hi Rich.

Each of the files (overall_footer_teamlink_after.html, overall_header_navigation_append.html) you remove or rename gives an error, e.g. if I rename the "overall_footer_teamlink_after.html" I get:
Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "@rmcgirr83_contactadmin/event/overall_footer_teamlink_after.html" (looked into: E:\xampp\htdocs\phpbb31_32\ext\rmcgirr83\contactadmin\styles\prosilver\template) in "navbar_footer.html" at line 58.' in E:\xampp\htdocs\phpbb31_32\vendor\twig\twig\lib\Twig\Loader\Filesystem.php:215 Stack trace: #0 E:\xampp\htdocs\phpbb31_32\phpbb\template\twig\loader.php(135): Twig_Loader_Filesystem->findTemplate('@rmcgirr83_cont...') #1 E:\xampp\htdocs\phpbb31_32\vendor\twig\twig\lib\Twig\Loader\Filesystem.php(139): phpbb\template\twig\loader->findTemplate('@rmcgirr83_cont...') #2 E:\xampp\htdocs\phpbb31_32\vendor\twig\twig\lib\Twig\Environment.php(312): Twig_Loader_Filesystem->getCacheKey('@rmcgirr83_cont...') #3 E:\xampp\htdocs\phpbb31_32\vendor\twig\twig\lib\Twig\Environment.php(378): Twig_Environment->getTemplateClass('@rmcgirr83_cont...', NULL) #4 E:\xampp\htdocs\phpbb31_32\phpbb\template\twig\environment.php(258): Twig_Environment->loadTemplate( in E:\xampp\htdocs\phpbb31_32\vendor\twig\twig\lib\Twig\Loader\Filesystem.php on line 215
I want to remove the "Contact Us" link on header (overall_header...).
Is there any solution?

Ext ver. 1.1.1
phpBB 3.2.0
Local Installation (xampp)

Thanks.
User avatar
gtsoukn
Registered User
Posts: 44
Joined: Sat Jul 07, 2012 8:36 pm
Location: Greece
Name: George
Contact:

Re: Remove contact us from navbar

by RMcGirr83 » Sat Mar 04, 2017 3:13 pm

Once you rename it you have to purge the cache to get the new file to load.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21032
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact: