Closed (fixed)
Project:
The Dark Theme
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Sep 2008 at 10:55 UTC
Updated:
16 Oct 2010 at 18:41 UTC
I like your theme, but for some reason the template is not able to find the function _forum_format() which is used in line 118 in template.php.
I'm looking forward to a fix :)
Comments
Comment #1
Elstgeest commentedOh, and ofcourse: thanks in advance.
Comment #2
paddy_deburca commentedThanks.
It seems that _forum_format is a 5.x function and no longer appears in 6.x...
I replaced the call to this function with
t('@time ago<br />by !author', array('@time' => format_interval(time() - $forum->last_post->timestamp), '!author' => theme('username', $forum->last_post))))We'll see if that helps.
Paddy.
Comment #3
tofix commentedI need help too with this defect.
I replaced line 118
to
array('data' => t('@time ago<br />by !author', array('@time' => format_interval(time() - $forum->last_post->timestamp), '!author' => theme('username', $forum->last_post))));It works, but within of drupal I got a new error message:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'dark_forum_list' was given in /var/www/web37/html/includes/theme.inc on line 617.Does I have replaced the line in a wrong way?
Thanks!
Comment #4
paddy_deburca commentedI am closing this issue as the latest version of the theme fixes this problem. Please download the latest version of the template.php from CVS.
Paddy.