10-19-2009, 05:33 PM
(This post was last modified: 10-19-2009, 05:34 PM by R3c0nna1ssanc3.)
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.
If I put it directly into the header file for mybb I get this error.
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/
Code:
<?php if($this->params->get('dateDisplay')) : ?><div id="date"><?php echo date('l dS \of F Y'); ?> </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
here are the two things I trying to match.
http://www.datapodcomputer.com/
http://www.datapodcomputer.com/forum/