I can't seem to find any setting to make the path generation automatic? As admin, I can click the checkbox to generate the path, but if I don't remember I get only node/xxx paths. I'm sure I'm missing something, but I can't seem to find the menu options nor pre-existing reports of this condition.

Comments

artod4789’s picture

My issue is pretty much the same. For me when I create new content, I can see the checkbox checked automatically, but then I hit Preview, then Save and it never actually took. I go back in to edit the content I just created and the box is no longer checked. If I check it then and save it, it then works. Just not when I initially create the content.

Dave Reid’s picture

There is a known core issue with Previewing that causes things to break.

For any existing nodes, you should just have to click the checkbox once and save the node to ensure that it stays automatic.

artod4789’s picture

Ah, that might be it then. I figured my issue was either that or the fact that I'm using views. I'll try to remove the preview and see how it works. Thanks!

Update: Yep. That was it. I removed the Preview option and it worked fine. Thanks again!!

mscottkirkwood’s picture

I'm having the same issue as the original post. Having to click the checkbox for every new node isn't a major issue, but it would be more efficient to choose it in once in the content type settings.

Dave Reid’s picture

See http://drupal.org/node/1167612 about how to update content from before Pathauto was installed.

Having to click the checkbox for every new node isn't a major issue

The checkbox *should* be checked when creating a new node (if you are not using preview). Is that not the case?

Todd Young’s picture

No - it's blank and you have to check it on each and every post before saving. I was expecting it to be not only pre-checked, but mandatory - and for that matter not even visible.

Dave Reid’s picture

@Todd Young: This happens when you are using /node/add/yournodetype? I cannot duplicate this behavior with a fresh core install + Pathauto.

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)
christopherreay’s picture

Hello

Im working on the Drupal 6 Version, and I have the same problem

I have installed many modules before installing pathauto, so maybe that is the root cause.
I *will*, rebuild the site, hopefully when I have "understood" most of features. But probabaly Ill just have to start from scratch

In terms of useful information I can tell you this.
in pathauto_form_alter, {php}property ->pathauto_perform_alias =TRUE *never* causes the check box to be checked on the form.
I say never, Ive tested with both users on the site (one being admin) and the other a pretty low one.
In my defense I have to get this site up and running over the weekend, so to avoid getting old prematurely I have just commented out lies 248 and 252 of pathauto.module.

 //if (!isset($node->pathauto_perform_alias) || $node->pathauto_perform_alias) {
          $placeholders = pathauto_get_placeholders('node', $node);
          $src = "node/$node->nid";
          $node->path = pathauto_create_alias('node', $op, $placeholders, $src, $node->nid, $node->type, $node->language);
        //} 

Rather a dirty fix, but it will do for the demonstration. As I said, time is ticking!

I will be very willing to look further if you require more information, but I imagine all the module developers are really dying to get on with D7, so maybe its not relevant

Ill join you when Ive finished developing my D6 modules and have time to upgrade path them

Christophler

Dave Reid’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No longer able to provide help for support requests on 6.x which I cannot reproduce.