Jump to content
TNG Community
Christine_1

Template 10 - delete contact-sentence

Recommended Posts

Christine_1

Hi everybody!

I migrated my website to a different site, went from 8x to 10.1.2 and also switched from template 5 to template 10. Everything went smoothly. There is only one thing that does not work - I cannot delete the sentence on the first page that  says

"Contact Us

email image  If you have any questions or comments about the information on this site, please contact us. We look forward to hearing from you.".  In template 5 it is part of the index.php file for this very template. But not with template 10. I have spent hours searching for the correct file and simple can't find it. And once I will have found it, do I have to think about additional changes to be done?

Thank you for you help!

Best, Christine

Share this post


Link to post
Share on other sites
Hiraeth

You need to edit template10/index.php. Look for the following at line 182

	<h4><?php echo $text['contactus']; ?></h4>
	<p><img src="<?php echo $cms['tngpath'] . $templatepath; ?>img/email.gif" alt="email image" class="emailimg" /><?php echo $text['contactus_long']; ?></p>

To disable display of the 'Contact Us' lines on the home page, comment out these lines as in the following:

<!--
	<h4><?php echo $text['contactus']; ?></h4>
	<p><img src="<?php echo $cms['tngpath'] . $templatepath; ?>img/email.gif" alt="email image" class="emailimg" /><?php echo $text['contactus_long']; ?></p>
-->					

 

Edited by Hiraeth

Share this post


Link to post
Share on other sites
Christine_1

Thank you so much! It worked just fine! Your help is very much appreciated! Have a great Sunday!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×