The Pet url path default module for Drupal works during the node edit to set the Url path to the same value as Title.
Download pet_url_path_default.zip and install it the normal way you install Drupal add-on modules.
The change is made using Javascript and the jQuery included with Drupal. The Url path settings block is opened as soon as you change the title. The url path is not changed if it already has a value at the start of the edit. You can see the changes in url path as they happen.
If you are editing an existing node and want to change the url path when you change the title, empty the url path before editing the title.
The module translates spaces and single quotes to underscore _.
You can also set the url path using Pathauto. Pathauto sets the url path on the server after you save the page. You could use Pathauto to set the value for users who do not have Javascript switched on. Pathauto can make additional changes to the path and is the better choice when you want to add path prefixes.





- Facebook Like
- Log in or register to post comments