Need to add the ability to edit node's published status in the view table.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ChrisSnyder’s picture

Attached is my attempt at adding this functionality.

ChrisSnyder’s picture

Status: Active » Needs review
joachim’s picture

Status: Needs review » Postponed (maintainer needs more info)

Thanks for the patch!

Though isn't this doable with the entity metadata field handler?

ChrisSnyder’s picture

This is true. However, it seems like you are restricted to a select list and can not make that table column sortable by published status.

ChrisSnyder’s picture

Would a better solution involve adding the ability to sort metadata fields?

joachim’s picture

Do you mean the dropdown list in the field handler's admin UI? Yup, file a new bug report for that please! :)

jkhanlar’s picture

I enabled this module for Drupal 7.x site (unable to use editviews module for 7.x) and I like it, but I see that I am unable to use it to edit the published, sticky, promoted to front page fields/attributes for a node, and also not ubercart fields. Will this be made possible in an updated release?

I enabled versions 7.x-1.0-beta9 and 7.x-1.x-dev to see if this was implemented, and it seems not.

Re: ubercart, https://www.drupal.org/node/2090731

ndf’s picture

@jkhanlar: You can use Entity metadata property (editable)

You must add each property separately.
There is a dropdown where you can choose published, sticky, etc.
Metadata property
Select the property to edit with this field. (Only properties that define how they may be set on an entity are available. Be sure to ensure the property applies to all entities the View will show.)

See images.

joachim’s picture

Category: Feature request » Support request
Status: Postponed (maintainer needs more info) » Fixed

Thanks for helping out @ndf :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.