Home code Change the Page Title on Tell-A-Friend confirmation page

Change the Page Title on Tell-A-Friend confirmation page

588
0

This is a simple bit of code, but it’s something that may come up depending on the development you are doing.

For example, in Business Catalyst the Tell-A-Friend function allows you to email a page to someone and then redirects to a confirmation page when done.  Unfortunately, that page shows your account name as the page title (not good). 

So, you can get around this easily with this Javascript.

Goto Admin–>Customize System Messages and edit the HTML on the Refer-A-Friend Confirmation Page.  Add this at the top:

<script language=”javascript”>
document.title = “The new title goes here.”;
</script>

Test it out.  This can be used on any page, but definitely use it as last resort because of its effect on SEO.

LEAVE A REPLY

Please enter your comment!
Please enter your name here