We've created a contributions tab in CiviCRM and made the page live. However, when you're on that live page and filling the form out, the title of the website up in the browser tab says "CiviCRM -- [Our Domain]"

Is there any way to change or mask that language so users aren't confused that may have left our site?


1 Answer 1


As Chris comments, it's weird that it's showing this. But you could always use a template.extra.tpl file to set the page title by Javascript.

  1. Create a directory, if you haven't already, for template customisations. Then tell CiviCRM about it at Administer » System Settings » Directories which is at /civicrm/admin/setting/path?reset=1

  2. Find the template name of the form that's being used from the comments in the page source of the page(s) you need to change. e.g. for all contribution pages its CRM/Contribute/Form/Contribution/Main.tpl.

  3. Create the same directory structure in your custom templates directory and then place a file called Main.extra.tpl (using the example form name from (2)) and in that file place something like

    <script>document.title="You're still on my website :-)";</script>

.extra.tpl files are processed after the main template file is, so this script will run and set the window's title.

It's a hack, and in this case sounds like it shouldn't be necessary, but it's something you can use.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.