Normally, when adding user- or nodereference field to a view, i get to select style, where one is with link to the referenced user/node and other is plain text.

Problem is, these are not avalaible now, since i have to choose "click-to-edit" as a style. The default style is then used, which is the "linked" one. So when i try
to click to edit, the link is clicked at the same time, and some error comes up(and it goes to the linked page).

I could not find a way to change the used style from editable fields, so i had to edit nodereference and userreference cck plugins, to change the behaviour between
"default" and "plain" to other way around. This works because i'm the only admin and i know that the behaviour is now vice-versa, but will probably mess with other modules that need to use the
styles as they are originally defined.

Is there some handy way to edit the editablefields to use the "plain" instead of "default"?

There is $formatter_name='default' in the module, but changing it to 'plain' did not work, so i guess it is used for something else(and anyway, what would that do to the cck fields that dont have "plain" formatter at all)?

Comments

mani.atico’s picture

+1

markfoodyburton’s picture

Status: Active » Postponed

This is a fundamental issue with the module as it stands. Ideally, editable'ness needs to be a core CCK feature which is orthogonal to the display style - but it is not - it is currently a display style, which means it can do nothing else but use the default style. If anybody can think of an elegant way round this - we can re-open this issue. For now - I guess it's postponed....

Cheers

Mark.

Vote_Sizing_Steve’s picture

Here's some code I use in a Global: Virtual Formatted Field

<?php
 extract( $GLOBALS[ 'filter' ][ 'variables' ]);
 echo(
  preg_replace(
   array(
    "%<a.*?>%", 
    "%</a>%" ), 
   array(
     "",
     "" ),
  $output->field_requester_uid ));
?>
andreiashu’s picture

Version: 6.x-1.2 » 6.x-3.x-dev
Status: Postponed » Active

Hi,
I was thinking of doing something like imagecache profiles page. You would be able to create new editablefields formatters by mixing different CCK formatters with the editablefields's output (ajax, clicktoedit and html_edit).

Any thoughts?

markfoodyburton’s picture

If you could nicely solve this one, I think it would significantly improve the quality of this module. Perhaps I was just lazy :-)

Cheers

Mark.

andreiashu’s picture

Hi Mark,

Yes it would be nice to have this. But first of all I think we need to have have integration with the other CCK module providers right and also all the performance improvements done. I'll try and have a roadmap by the end of this week - depending on the spare time.
We did do quite a lot of progress in terms of userreference/nodereference and filefield/imagefield integration lately.

Cheers,
Andrei

markfoodyburton’s picture

Call that progress? I call that an unbelievable herculean effort - for which I'm personally truly grateful :-)))
(And I agree - this slips in the priority compared to some of the other things your looking at :-) )
Thanks
Cheers

Mark.

mengi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Per https://drupal.org/node/2148735, 6.x is longer maintained so issue is closed. If you wish to be a maintainer of the 6.x branch please create a new issue.