PDA

View Full Version : Browser Title



Division
08-03-09, 07:28 AM
Hi,

How do I change the Browser Title for certain pages?

lysenshi
08-03-09, 08:13 AM
For custom pages: you will need to specify the page title in the initialiseClientArea function.
For existing pages: the title using text from Language files, but changing that in the language file may affect other pages.
So, I think you may like to use 3 lines of javascript code to change the title,
in the tpl file add the following code:
<script type="text/javascript">
document.title="NewTitle";
</script>
Hope that help you ;)

Division
08-03-09, 09:04 AM
Sorted.

Thanks :)