Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
date
#1
Okay I am almost done matching my templates for joomla and mybb, but right now I am stuck on one thing getting the same date. Here is the script in the html file from joomla.

Code:
<?php if($this->params->get('dateDisplay')) : ?><div id="date"><?php echo date('l dS \of F Y'); ?>&nbsp;&nbsp;&nbsp;&nbsp;</div><?php endif; ?>

If I put it directly into the header file for mybb I get this error.

Code:
Fatal error: Using $this when not in object context in /home/content/41/4149141/html/forum/global.php(438) : eval()'d code on line 12
Let me know if you can help.

here are the two things I trying to match.

http://www.datapodcomputer.com/

http://www.datapodcomputer.com/forum/
Reply


Messages In This Thread
date - by R3c0nna1ssanc3 - 10-19-2009, 05:33 PM
RE: date - by Grizzly - 10-19-2009, 11:08 PM
RE: date - by MattR - 10-20-2009, 12:00 AM
RE: date - by R3c0nna1ssanc3 - 10-20-2009, 04:59 AM
RE: date - by R3c0nna1ssanc3 - 10-20-2009, 03:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)