Problem/Motivation
The help text for creating URL aliases during node creation is confusing and wordy. This leads to users entering the wrong path.
Proposed resolution
Proposed, simplified text:
The alternative URL for this content. For example, type "about" when creating an about page. Use a relative path without a trailing slash.
Remaining tasks
A patch needs to be written changing the text.
User interface changes
Changes the help text on the node creation form
API changes
No changes.
Original report by add1sun
Note: This issue is being posted here as an exercise by a participant in the learndrupal.org ladder for contributing to core. Please don't do anything with this post. The real issue has already been resolved in Drupal 8. If you would like to try this exercise yourself, visit learndrupal.org and click on Drupal Ladder
Current:
Optionally specify an alternative URL by which this content can be accessed. For example, type "about" when writing an about page. Use a relative path and don't add a trailing slash or the URL alias won't work.
Proposed:
The alternative URL for this content. For example, type "about" when creating an about page. Use a relative path without a trailing slash.
Comment | File | Size | Author |
---|---|---|---|
#43 | rewrite-url-description-1681300-43.patch | 912 bytes | Percy101 |
#42 | Screenshot_1.png | 38.38 KB | ragasirtahk |
#42 | rewrite-url-description-1681300-42.patch | 912 bytes | ragasirtahk |
#41 | Screenshot_1.png | 38.38 KB | ragasirtahk |
#41 | rewrite-url-description-1681300-38.patch | 912 bytes | ragasirtahk |
Comments
Comment #3
add1sun CreditAttribution: add1sun commentedYes, I agree the wording is confusing. You can find this text by going to Add content, and then creating a new piece of content. Scroll to the bottom of the page and click the URL Aliases tab. The help text id located under the alias field. See screenshot below.
Comment #4
add1sun CreditAttribution: add1sun commentedI've updated the text in the attached patch. The screenshot shows the updated text on the site.
Comment #5
nicxvan CreditAttribution: nicxvan commentedTest
Comment #6
mcannon CreditAttribution: mcannon commentedChanged the description field for the URL path field. The screenshot shows the updated text on the node form.
Comment #7
ali_tareque CreditAttribution: ali_tareque commentedTesting how to create and submit a patch.
Comment #8
ali_tareque CreditAttribution: ali_tareque commentedAttaching the patch file.
Comment #9
generalconsensus CreditAttribution: generalconsensus commentedhttps://www.evernote.com/shard/s83/sh/ccccd1ad-8f8d-4e43-920b-ffd553b98e...
Comment #10
generalconsensus CreditAttribution: generalconsensus commentedhttps://www.evernote.com/shard/s83/sh/ccccd1ad-8f8d-4e43-920b-ffd553b98e...
Comment #11
Brolag CreditAttribution: Brolag commentedAttaching patch file.
Comment #12
fureigh CreditAttribution: fureigh commentedThe attached patch file updates the URL description per the proposed text above. Note that this is different from what is suggested in the Ladder lesson: http://drupalladder.org/lesson/72a836e6-b408-a7a4-1923-8788761b2608
Forgive the awkward arrow.
Comment #13
rkeller CreditAttribution: rkeller commentedAttached patch updates the URL description as proposed above. Note this patch was created as a Drupal ladder lesson.
Comment #14
timmvt CreditAttribution: timmvt commentedThe 'Current' URL Alias text has been updated with the 'Proposed' URL Alias text. The patch and screenshot are attached :)
Comment #15
add1sun CreditAttribution: add1sun commentedtoo long!
needs punctuation
Comment #16
RainbowArrayCreated this patch as part of Drupal Ladder.
Here's a screenshot with the updated text:
Comment #17
Bowevil CreditAttribution: Bowevil commentedResults from the Drupal ladder.
Comment #17.0
Bowevil CreditAttribution: Bowevil commentedUpdating the issue summary
Comment #18
oheller CreditAttribution: oheller commentedI reviewed the URL alias description and agree that the text is confusing. I have attached before and after screenshots along with the patch to update that text.
Comment #19
andileco CreditAttribution: andileco commentedsubmitting a test patch
Comment #20
cs_shadow CreditAttribution: cs_shadow commentedSubmitting a test patch.
Comment #21
marcosdr CreditAttribution: marcosdr commentedSubmitting patch to fix description on URL alias.
Comment #22
Akif Khan akif500 CreditAttribution: Akif Khan akif500 commentedrewrite_description_for_url_alias-1681300-22
Comment #23
srikanthk16 CreditAttribution: srikanthk16 commented#23 updated description for url alias
Comment #24
zealfire CreditAttribution: zealfire commentedMine first step towards something big.Looking much required help from community members of drupal as i am a beginner.
Comment #25
peterjlord CreditAttribution: peterjlord commentedThe attached patch file updates the URL description per the proposed text above.
Comment #26
aphickey CreditAttribution: aphickey commentedThe Url tab in the Node add form has been modified to clean up description.
Comment #27
nicoleheard CreditAttribution: nicoleheard commentedAttached is a patch with an updated URL alias description and a screenshot of that update.
Comment #28
ssova CreditAttribution: ssova commentedThe patch to update the description for the URL alias and a screenshot of the update.
Comment #29
Lord_of_Codes CreditAttribution: Lord_of_Codes commentedPatch and screenshot included.
Comment #30
sudhanshug CreditAttribution: sudhanshug commentedpatch submitted !
Comment #31
sudhanshug CreditAttribution: sudhanshug commentedpatch submitted !
Comment #32
joyceg CreditAttribution: joyceg commentedThe issue has been fixed.
Uploading the screenshot of the fix and the patch here.
Comment #33
Cryt1c CreditAttribution: Cryt1c commentedThe patch changes the description of the URL alias field.
Comment #34
akashkrishnan01 CreditAttribution: akashkrishnan01 at Google Summer of Code commentedAdded credit
Comment #35
joyceg CreditAttribution: joyceg commentedComment #36
akashkrishnan01 CreditAttribution: akashkrishnan01 at Google Summer of Code commented#36 needs review
Comment #37
franciscojlucero CreditAttribution: franciscojlucero as a volunteer commentedThis is a test patch for the module contribution ladder.
Comment #38
jayly CreditAttribution: jayly commentedComment #39
joyceg CreditAttribution: joyceg at Google Summer of Code, Google Code-In commentedComment #40
anhtq CreditAttribution: anhtq at Google Code-In commentedPatch for a GCI task
Comment #41
ragasirtahk CreditAttribution: ragasirtahk at Google Code-In commentedComment #42
ragasirtahk CreditAttribution: ragasirtahk at Google Code-In commentedComment #43
Percy101 CreditAttribution: Percy101 as a volunteer commented