Please add helper text to the Pattern for the title field that shows a couple of examples of proper use. Right now, the user has no helper text, and there is no formal documentation whatsoever for this feature.

CommentFileSizeAuthor
#6 noHelperText.jpg23.49 KBaren cambre

Comments

Bèr Kessels’s picture

Title: Need better helper text » Provide better helper text

what is not good about

Put PHP code here that returns a string, but make sure you surround code in and . This string will be used as title.

?

I think you are really saying that you don't know PHP, which is fine, but in that case: don't use the feature :)

aren cambre’s picture

True, I don't know PHP or the Drupal API well. Is your module intended for the masses, or is it intended only for uber-PHP Drupal wizards?

The helper text says nothing about the format of the strings. I had to search extensively to figure out that I can use [field_name_1] [field_name_2] to combine fields in the title.

Please provide at least a modicum of helper text. Anything is better than nothing.

aren cambre’s picture

Oops!!! Now I see that you have a Replacement patterns section that opens up to explain more. I never clicked it because I thought that Replacement patterns referenced some additional functionality that I didn't think I needed, when in fact it references documentation. Sorry about that!

fago’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)
aren cambre’s picture

Status: Closed (fixed) » Active
StatusFileSize
new23.49 KB

Ok, need to reopen. It appears the Replacement Patterns helper text is not always displaying. See attachment.

fago’s picture

Status: Active » Fixed

You need the token module to be installed. Of course the help text wouldn't show else, because the feature isn't available.

aren cambre’s picture

Thanks. You are correct.

You have a module dependency that does not show up in the module's description at /admin/build/modules. I will open a separate bug report about this.

Anonymous’s picture

Status: Fixed » Closed (fixed)