Question

Is there an easy way to change the author of a node to another user? I can't seem to find it. I found a workaround, which was to setup an "action" to change the author of a node to a specific user, and then temporarily setup a "trigger" so that whenever i update a node, it should run that action. It works, but is ugly. I suppose I could also attack the db directly, but these both seem like rather inelegant solutions.

I appreciate this shouldn't be that common an requirement. This is what happened: I setup the site, including place-holder content, which the publisher users then populated with real content. This was clearly not the right way to go about it, but it's the situation I find myself in...

Was it helpful?

Solution

Can't you simply edit the node, expand the Authoring Information section near the bottom of the page, and change the Author name.

You can also change the Authored on date too.

If you need to change the Authoring information of lots of pages, I'd recommend Views Bulk Operations. Changing the Author is one of the options.

OTHER TIPS

Can't you simply edit the node, expand the Authoring Information section near the bottom of the page, and change the Author name.

It should be noted that in order to change these the administer nodes permission must be set for that account. If this is undesired (and in production environments, it is), you can use the Rules module or use the nodeapi hooks to change the desired fields.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top