Closed (fixed)
Project:
Smarty theme engine
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2006 at 02:38 UTC
Updated:
10 Jan 2006 at 03:11 UTC
The changes in 4.7 included a getting rid of format name.
http://drupal.org/node/22218#theme_username
With the smarty engine for 4.7 (downloaded Jan 9, 2006) and drupal 4.7beta3 you get a blank page and the following error:
[client 127.0.0.1] PHP Fatal error: Call to undefined function format_name() in /var/www/html/trizones2/themes/engines/smarty/smarty.engine on line 220
This only occurs on pages where the username is output. The patch changes all occurances of:
format_name($node) -> theme('username',$node)
| Comment | File | Size | Author |
|---|---|---|---|
| patch.smarty_engine | 1.97 KB | wpd |
Comments
Comment #1
tclineks commentedI accidentally packaged the 4.6 in the +libs berlios release =o
Fixed now.
Thank you.
It had been downloaded 9 times while broken.