Hi,
first of all great work! editview is what i was looking for!

I'm using editview to moderate long queue of messages and I need to change the status of a single node "quickly". Editview could be the better solution!

Since Node: Status is not available in the field list of standard view I added it in views_node.module (modules/view/modules).

After that, I created a normal view adding the newly created "Node: Status". It works, i can see all the status for all the nodes.

I switched to editview.

The column "Status" is still visible but it contains no data.

Since i create the "Node:Status" manually i tried to add to the view other fields like "Node:Id". The results are the same. Normal view work fine, editview don't show data for the, i suppose, numeric fields.

Can you help me?

Comments

stanlew’s picture

Hi. May I know how you added Node: Status in to views_node.inc in the first place? What I did was:

Added in function node_views_tables():

'status' => array(
        'name' => t('Node: Status'),
        'sortable' => false,
        'notafield' => true,
        'handler' => 'views_handler_node_status',
        'help' => t('Display the status of a node.'),
      ),

And added a handler:

function views_handler_node_status($fieldinfo, $fielddata, $value, $data) {
	return $data->status ? t('Approved') : t('Not approved');
}

But no matter what it always returns 'Not approved'. Did I leave out anything? Your help is very much appreciated.

Stanley

agileware’s picture

Status: Active » Closed (won't fix)

The 4.7 version is no longer supported.