By: Phil Lee
Date: 2007-09-13
Time: 23:51
|
Changing page HTML titleHello. I'm using TBS as part of the phpMotion video sharing application (http://www.phpmotion.com).
At the moment the page title is the same for each page but I'd like it to be different for each page. For example for index.php I'd like it to be a generic title but for the play.php page I'd like it to be the title of the video that the user is watching. I've tried the following but it doesn't seem to work.
However, if this does is display the script name in the title tag but I've used the same syntax as the example. What am I doing wrong ? Phil |
|
By: Skrol29
Date: 2007-09-14
Time: 00:34
|
Re: Changing page HTML titleHi Phil,
At first, try the tag [var..script_name] just to check if the value is what you expect (index.php, play.php,...) Then, you can use one tag with several parameters if/then. This is supported by TBS 3.2.0. Example:
|
|
By: Phil Lee
Date: 2007-09-14
Time: 13:54
|
Re: Changing page HTML titleThank you that worked perfectly. I have no idea why my version didn't work though !
|