igkostadinov Posted July 24, 2015 Share Posted July 24, 2015 Hello! Accoring to the SEO requirements there should be no plain email address on the page because of potential SPAM. However the Block Contact Info module provides such plain email in the Footer of my website. I made a lot of searches, tried tens of solution but was not able to get it work. Is it possible to show a link to the Contact Us page instead of the email? Thank you, Ivan Link to comment Share on other sites More sharing options...
Paulito Posted July 24, 2015 Share Posted July 24, 2015 Hello I suppose the easiest way is to change the contactinfos.tpl file Before: {if $blockcontactinfos_email != ''} <li> <i class="icon-envelope-alt"></i>{l s='Email:' mod='blockcontactinfos'} <span>{mailto address=$blockcontactinfos_email|escape:'html':'UTF-8' encode="hex"}</span> </li> After: {if $blockcontactinfos_email != ''} <li> <i class="icon-envelope-alt"></i>{l s='Email:' mod='blockcontactinfos'} <span><a href="http://google.com">Contact Us</a></span> </li> I have just tried it and it works for me but it could be problematic if you have more than one language. The link, of course, takes you to google, just change it to whatever you require Paul 1 Link to comment Share on other sites More sharing options...
igkostadinov Posted July 24, 2015 Author Share Posted July 24, 2015 Hello, Paul! As I use only one language your solution works as a charm. Thank you! Ivan Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now