So, right now the format it uses for the link to add a referenced node is "add" and then the machine name for that content type. So for me it will show up "Add photo_cck".

Wouldn't it be better to use the human name for the content type? That way, on my system it would be "Add album"

CommentFileSizeAuthor
#3 popups_ref_human_readable.patch876 bytesCloudCuckoo

Comments

starbow’s picture

Category: task » feature

You're right, that would be better.

Macronomicus’s picture

You ever figure this out?
Im just thinking about overriding it at the template level to avoid messing with the code.

CloudCuckoo’s picture

Status: Active » Needs review
StatusFileSize
new876 bytes

Patch to get the human readable name from $all_types and use it in the link title.

starbow’s picture

Fantastic, thanks for the patch.

starbow’s picture

Status: Needs review » Fixed

Integrated into 1.0RC1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.