When the module is installed it doesn't work entirely until they save the settings page. We should work on that too, but this issue is a simple solution to provide a message to the user when the module is enabled saying "Pathauto is installed. Be sure to visit the settings page (link) and save the configuration for the module to start working properly."

I imagine a drupal_set_message in the .install can handle this.

Comments

add1sun’s picture

Status: Active » Needs review
StatusFileSize
new940 bytes

Got bit by this myself. I added the message with a link to the settings page to .install for 5.x-dev from CVS. If I didn't do the patch right please let me know so I can learn. Thanks!

add1sun’s picture

StatusFileSize
new810 bytes

Cleaned up, made it an error message and added doxygen comment for the install function.

greggles’s picture

Status: Needs review » Needs work

we talked about this in IRC a bit.

Basically - don't do whitespace changes, please do the database uppercasing and the {} (though in general that probably isn't a good idea to mix fixes on the same issue) , and add doxygen comments and us drupal_set_message('...', 'error') so that users get the idea that it's really important.

add1sun’s picture

Status: Needs work » Needs review
StatusFileSize
new2.64 KB

OK, here is a new patch that goes ahead and actually installs the default variables on install. I think I got em all.

greggles’s picture

Title: notify users that they need to visit the settings page and hit "save" for things to really start working » set some default variables during install so that pathauto will work without submitting the settings page

Committed to 5.x--2. Thanks!

greggles’s picture

Status: Needs review » Fixed

Meh...changing status...

Anonymous’s picture

Status: Fixed » Closed (fixed)