PDA

View Full Version : What is the syntax for adding a date in the style?


royli57
09-17-2004, 02:59 PM
Hi Everyone

I am trying to customize my header for forums. I want to display the date on the header.

In PHP the code looks like: <? print date("F j"); ?>.

How can I make something equvalent that will be parsed by the style reader?

Thanks

Roy

Dean C
09-17-2004, 03:36 PM
Moved to General vBulletin Questions. Please read the forum descriptions more closely in future. Thanks :)

P.S put this in your phpinclude template:


$header_date = date('F j');


Then put $header_date in your header template :)