The label 'Path alias' at admin/structure/beanstag/add does not match the description of the field. This is confusing for a new user. In the description only system paths are used and no path alias. See below screenshot.

Questions that are not answered after reading the description:
- Can I use paths like "my/path/alias" (the description only contains "system paths")
- Can I use "node/123" (the label says "alias")

Proposed solution:
- (assumption: system paths are not allowed): Use "my/aliases/" instead of "node/".
- (assumption: both path alias ans system paths are not allowed): Use both "node/" and "my/aliases/". Change the field label to "Path".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sutharsan created an issue. See original summary.

ykyuen’s picture

Assigned: Unassigned » ykyuen
Status: Active » Needs work

Both system path and path alias are allowed. Changing the label to "Path" sounds ok to u?

Sutharsan’s picture

I agree with "Path" as label. I suggest the following description:

Enter the path at which you want to apply the BeansTag. (ex. node/1, my/alias)
You can append * at the end of the path alias as a wildcard. (ex. node/*, my/alias/*)
But please note that this * wildcard only works at end of the path alias.

Patch attached.

Sutharsan’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: beanstag-path-description-2660206-3.patch, failed testing.

ykyuen’s picture

Status: Needs work » Needs review

Label and schema column renamed. ready in dev branch. if no problem, we create a new release. thx =)

ykyuen’s picture

Version: 7.x-1.x-dev » 7.x-1.4
Status: Needs review » Closed (fixed)

Committed to 7.x-1.4.