Hello!

I'd like to ask if there is a way to change the legend of the Pollfield dieldset to simply "Poll" or any other text for that matter. The term Pollfield isn't really friendly with users and it would be nice if this could be changed.

I already tried dumping the $form variable but I can't seem to find which key I should change using hook_form_alter in order for this to work.

Also, there are some typos in the "Delete votes" part. It says "Delet votes".

CommentFileSizeAuthor
Capture.PNG46.26 KBRubix

Comments

dunx’s picture

+1 for changing "Pollfield".

Also noticed the other typo and just raised an issue on that: http://drupal.org/node/1163176

bryan kennedy’s picture

Category: support » feature
Status: Active » Needs review
Issue tags: +fields, +User interface

Hmm, I'm tempted to say that this is something that should be handled by string replacement. This can be handled in your site's settings.php file or with the ,a href="http://drupal.org/project/stringoverrides">String Replacement module.

That being said, I think you are on to something here. The term "pollfield" is a good term for the module, but isn't very friendly for your site's content authors, who likely don't care about the Drupal cck fields structure. Rather than replace the fieldset name with another inflexible term like "poll" I'd like to make this fieldset title the same as the field label you define when you create the content type. What do folks think about that?

dunx’s picture

That makes perfect sense to me.

bryan kennedy’s picture

Version: 6.x-1.13-beta1 » 6.x-1.x-dev
Status: Needs review » Fixed

I fixed this in the latest dev branch. The fieldset are now named the same as the name of the field, no longer using the term pollfield.

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