Closed (outdated)
Project:
Activity
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jul 2009 at 13:47 UTC
Updated:
29 Oct 2025 at 14:46 UTC
Jump to comment: Most recent
Comments
Comment #1
sirkitree commentedI would love to have this feature actually. I'd like to look into using ctools' export functionality for this. I tried writing a couple of exported triggers but ran into some road blocks and then other things took priority.
So yes, patches welcome.
Comment #2
rickvug commentedtagging.
Comment #3
sirkitree commentedSince ctools 1.7 has a nice new export ui i'm going to give this a shot. need it for a project.
Comment #4
gddomg +1
Comment #5
sirkitree commentedthis may actually replace the current multi-form wizard - which will proly actually reduce code, but place a dependency on ctools - i'm kinda ok with that though.
Comment #6
Scott Reynolds commentedI think your going to hate this. I went down this road a couple times and came back thinking it wasn't possible. The problem is actions_do().
In order to get parameters to be passed in they have to be serialized. If it was instead
Really, actions.aid can be strings, but actions_do and other place treat is_string($actions.aid) differently then is_numeric($actions.aid).
Makes for a hellva mess.
Comment #7
mikebell_ commentedSubscribe, this would be really handy for my current project.
Comment #8
jcisio commentedThis feature could make it easier for users to start rolling out their websites. It is better than #669196: Default messages, but in some way, the other issue can help, too.
About Ctools dependency, it's the best if we divide the module into Activity and Activity UI, only the admin part (Activity UI) is dependant on Ctools. In production site, we can disable both of them.
Comment #9
dafederSubscribe. May take a crack at a patch if I have time - scott how far did you get?
Comment #10
Scott Reynolds commentedI got to the point where it was clear its not possible without writing our own Trigger/Action framework
In http://api.drupal.org/api/function/actions_do/6, it array_merges($context, $parameters). The issue is, that only happens with the aid is numeric (ie stored in the database). There isn't a way for a action that isn't numeric, to get the parameters into the activity_record function.
So its stuck.
Edit:
The other option is to store our options array outside of the action storage. This would then make Activity make a trip to load the parameters but wouldn't require a completely new Trigger/Actions framework.Unfort, this too isn't enough as there needs to be a record in the trigger_assignments table so Trigger knows how to fire it off.Comment #11
dafederYeah - I can see the problem. I think storing parameters separately would be worth it, but I don't expect everyone to have the same priorities as me :)
Another thing I can think of is using rules instead of actions, but I'm sure you've already ruled that out for any number of reasons.
Comment #12
ademarco commented+1
Comment #13
lelizondo commentedsubscribing
Comment #14
thomjjames commentedsubscribing
Comment #15
_shyD6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!