Closed (fixed)
Project:
Display Suite
Version:
7.x-1.4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2011 at 23:00 UTC
Updated:
13 Aug 2013 at 12:19 UTC
Jump to comment: Most recent file
Comments
Comment #1
Nightwalker3000 commentedI've solve this issue.
If some one need it:
Create a new "code field" in Displaysuite:
Entities =Content
Text-Format: Display Suite Code
Check the checkbox "Token"
Field Code: [node:author]
-> Click Save and you got a field with the Creator Username
Have Fun :)
Comment #2
castawaybcn commentedthanks for sharing this, it was just what I needed
Comment #3
szantog commentedIt's still a bug. The ds_render_author_field() uses
$output = check_plain($field['entity']->name);. It should be$output = format_username($field['entity']);Without format_usename the hook_username_alter() doesn't work at all.My workaround is override the original function:
Comment #4
swentel commentedYou're right, committed and pushed in 7.x and 8.x