E-Luminate Posted June 21, 2017 Share Posted June 21, 2017 (edited) Hi, How would it be possible to add a META title or <title>Contact Us</title> to the Contact page? Any ideas? Thanks, Neil Edited June 23, 2017 by E-Luminate Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 21, 2017 Share Posted June 21, 2017 This is on the list of Requested Features - be sure to vote! https://features.cubecart.com/topic/contact-form-cant-set-page-title_8 Quote Link to comment Share on other sites More sharing options...
E-Luminate Posted June 22, 2017 Author Share Posted June 22, 2017 Thanks, must have missed that. I did manage to figure out how to solve the problem using the if isset command. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 22, 2017 Share Posted June 22, 2017 Could you provide the actual code change that worked? Quote Link to comment Share on other sites More sharing options...
E-Luminate Posted June 22, 2017 Author Share Posted June 22, 2017 Yep, sorry... Go to your skins/templates directory, open main.php and find the following, or similar: <title>{$META_TITLE}</title> Replace with: {if isset($CONTACT)} <title>Contact Us - {$META_TITLE}</title> {else} <title>{$META_TITLE}</title> {/if} You can do similar with the keywords meta field if required. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 22, 2017 Share Posted June 22, 2017 Thanks! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.