Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Need to add the ability to edit node's published status in the view table.
Comment | File | Size | Author |
---|---|---|---|
#8 | Screen Shot 2015-07-25 at 17.22.02.png | 180.02 KB | ndf |
#8 | Screen Shot 2015-07-25 at 17.21.17.png | 49.51 KB | ndf |
#1 | editableviews_add_published-2372831-1.patch | 4.37 KB | ChrisSnyder |
Comments
Comment #1
ChrisSnyderAttached is my attempt at adding this functionality.
Comment #2
ChrisSnyderComment #3
joachim CreditAttribution: joachim commentedThanks for the patch!
Though isn't this doable with the entity metadata field handler?
Comment #4
ChrisSnyderThis is true. However, it seems like you are restricted to a select list and can not make that table column sortable by published status.
Comment #5
ChrisSnyderWould a better solution involve adding the ability to sort metadata fields?
Comment #6
joachim CreditAttribution: joachim commentedDo you mean the dropdown list in the field handler's admin UI? Yup, file a new bug report for that please! :)
Comment #7
jkhanlar CreditAttribution: jkhanlar commentedI 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
Comment #8
ndf CreditAttribution: ndf at Blue Carpet commented@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.
Comment #9
joachim CreditAttribution: joachim commentedThanks for helping out @ndf :)