PDA

View Full Version : Randow Browser Titles


irn-bru
09-09-2003, 02:27 PM
I am trying to include a title.php file in to the forumhome template only.

It takes a quote out of the title.php to include it in between the <title></title> tags.

However when I put <? include "/titles.php");?> in the <title> tags in the forumhome template I get <? include "/titles.php");?> in the <title> tags and not the content of the titles.php.

I hope you follow its quite confuseing.

http://www.majesticforum.com/forums/titles.php

assassingod
09-09-2003, 02:28 PM
Use the variable instead of including the file

irn-bru
09-09-2003, 02:34 PM
what I should make a custom template and use a variable to call the template to go in between the <title> tags?

assassingod
09-09-2003, 03:02 PM
May work. You could try filburt1s embedded php in templates (https://vborg.vbsupport.ru/showthread.php?s=&threadid=52775) hack, then use your code there.

Or you could add your code to the phpinclude template, then search/replace <title>$bbtitle and change it to <title>$bbtitle - $yourvar
(Will probably work)