When adding/editing a node, Pathauto's check box is placed below the text field for manual path entry. Yet it states the following:
"An alias will be generated for you. If you wish to create your own alias below, untick this option. To control the format of the generated aliases, see the Pathauto settings."
In order for the manual path alias text field to show up "below" as described, the #weight of $form['path']['pathauto_perform_alias'] should be set to a negative value in pathauto.module so that it always remains on top.
Comments
Comment #1
Freso commentedThis patch does the job. We might want to look into changing the string and moving it back to "weight = 0" for 6.x-2.x though.
Comment #2
Moonshine commentedWell, personally I think the Pathauto option should come above the manual entry field, as most of the time Pathauto is used to overide manual entry with it's templates.
I'm actually using an additional patch that hides the manual path entry field(instead of just "disabling" it as Pathauto does currently) if the automatic alias option is checked. It keeps the form nice and clean, and limits user confusion re: fields that don't seem to "respond". Unticking the automatic alias option reveals the manual alias field and description.
I'll post it if you're interested...
Comment #3
Freso commentedWe don't want to hide the input field. See #170673: Override Pathauto with your own alias/URL for discussion on this.
Comment #4
Freso commentedCommitted. Needs to go into 5.x-2.x as well.
Comment #5
Freso commentedPatch applied to 5.x as well, so committed.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.