Automated CCK field actions?

doc2@drupalfr.org - March 13, 2008 - 18:47
Project:Field Actions
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Hello Mark,

I tried your Field actions module and thought I would get any field operation as an action, eventhough the 2 current "actions" created the doubt in me. I tried it combined with the views_bulk_operations.module.

But by just adding two "clonable" actions to the actions.module while claiming "The Field Actions module combines the power of Drupal actions with the data in CCK nodes to create new ways of working with your nodes in Drupal", it appeared very disappointing.

I have text, integer, taxonomy, cck_taxonomy_ssu, date and other fields. I would need to edit them all at once for certain nodes defined by a view (but the actions_view.module from Martijn Dekkers apparently doesn't support the content feature, contrary to its project page) or at least by the admin/content page.

I guess that all these features come with drupal 6... or 7... but many people are still under 5.x or even 4.x (I guess you too still run such sites!)

A feature such as "Content Allows you to edit multiple cck fields at once" from the actions_views.module (if ever it worked) would just be a killer one for editing hundreds of images at once.

* About batch editing of images at once: The image_import.module only supports the taxo_terms... but I mainly use the cck_Taxonomy_ssu.module (so fantastic module!).
* For info, I already "requested" a feature for hooking the image node edit page within the import UI, but a feature that would make it for any nodetype with the granularity offered by views... or the admin/content page would be incredibly valuable

I saw other developpers contributions and I'm glad they can enrich the field actions.module. Yet I hope it could be possible to automatize the creation of actions for any CCK field...

    with a setting fieldset for the field_actions.module, maybe on each field setting page, plus centralized in one page with widget-grouped fieldsets, to enable which of the fields to enable as a action field...
      Indeed, with cck_taxo_ssu fields for each nodetype and quite big vocabs, I already have thousands of potential operations.... views_bulk_operations.module reminds me of that.

But maybe implementing actions relies on the CCK module developpers... Does it?

Best regards,

Arsène

#1

deekayen - July 25, 2008 - 12:33
Status:active» postponed (maintainer needs more info)

There's a lot of commentary there, but what's the base question to this issue?

#2

doc2@drupalfr.org - July 28, 2008 - 09:04

Sorry, I'm often messy. The point is having any action available.
The commentaries are about how hard it is to have a full-featured bulk-operation system.
Thanks for risking you there!

#3

deekayen - July 28, 2008 - 13:39

Getting a list of every CCK field and then making that a multiple select isn't hard. What I'm trying to get to in this issue is a specific action you would like to perform like append a text string to 5 fields on an action execution or unset a field if a certain other one has a value (just examples).

#4

doc2@drupalfr.org - July 29, 2008 - 08:41

Thank you very much. But since March, I've been looking around for solutions for my DMS, and we got great help from a very promising junior developer we hired.

I came out:

  • for validating my documents in the workflow: with the use of views_bulk_operations,
  • for bulk image import and tagging+editing: with a combination of image_import, editable fields as a tabbed_view (previously embed with viewfield) in galerie_nodes referencing image_nodes thanks to the referenced_by module, and a custom "renamer" module depending on node_autotitle.

So I think there is no more specific action you can perform in my case, I'm almost done with features' implementations. But if there's anything you'd like to know, I'd be glad to answer you.

FYI, about your examples:

  • "append a text string to 5 fields on an action execution": we did that thanks to a javascript put into the title field (input format is FULL HTML) of the view page which we display as a tab in our galerie: <span class='add_titre'><img src='http://idoc.preljocaj.net/themes/img/titre_en_serie.png' valign='top'></span>. This display a button which prompts the user for a text string when clicked, and sets all the concerned fields of the page with it. (I'm not exactly sure how ot's done as I'm not good at javascript).
  • "unset a field if a certain other one has a value": we don't use such features, our site is too complex and it's risky in a DMS. But I think the active_select.module can already do this (you'd know that better than I do!)

Greetings

 
 

Drupal is a registered trademark of Dries Buytaert.