The Arcive of vBulletin Modifications Site. |
|
Randow Browser Titles Details »»
|
|||||||||||||||||||||||||
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 Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Use the variable instead of including the file
|
|
#3
|
||||
|
||||
|
what I should make a custom template and use a variable to call the template to go in between the <title> tags?
|
|
#4
|
||||
|
||||
|
May work. You could try filburt1s embedded php in templates 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) |
![]() |
|
|