Download & Extend

CCK Notifications - autocomplete cck field values

Project:Notifications Add-ons
Version:6.x-2.x-dev
Component:CCK notifications
Category:feature request
Priority:normal
Assigned:David Goode
Status:active

Issue Summary

I am testing the new CCK Notify module in it's current state. The end game is to hopefully be able to have people subscribe to something like a Band and be notified when new songs are posted using node reference CCK.

SO - I go to add a new CCK Notification field to subscribe to and I guess that I input the value of the node ID for the CCK node referenced into the text field - e.g Coldplay (which is node ID 200). The first problem I have is that all the CCK fields in the entire site show up in CCK Notifications and all are required.

Would it be possible to display only certain CCK fields you want to use, to label them by their display name to make it friendlier to users and to remove the CCK fields that you don't want people to be able to subscribe to (and remove the require all on all fields?). And then to magically use auto complete field so users can start typing the name of the 'Band' or field value they want to subscribe to and it will show up?

I hope I have understood this module correctly. If I have it offers awesome functionality for so many Drupalers.

Comments

#1

Assigned to:Anonymous» David Goode
Status:active» needs work

Hey,

Yeah, permissions/preferences a la node type subscriptions are probably the next thing I am going to add to this module when I get some free time, hopefully by the end of the week. You don't mean "required" in the drupal form sense do you, where you have to fill in a value for each and every one of them somewhere? That would be bad :-(

Autocompletion already has some support in notifications, and I looked into adding that but decided to leave it for after the initial release. To everyone reading this though, be advised that cck_notifications is in alpha, even to the extent that some obvious features have been deliberately left out thus far to help in testing/getting a working release. Once I get it ready for production sites it will probably be moved to the regular notifications module. Thank you for helping test it parrottvision, and I'd appreciate other people doing the same if you are interested in seeing this made stable and added to the main notifications package, especially once I get a second, more fully-functional release out. CCK fields have a very wide ranging set of options, and as I said in the thread where this was requested, I believe I've found a robust way to accommodate most of them, but to be entirely honest I'd be pretty surprised if nothing didn't work :-( So, lots of testing with lots of use cases would be great! Help me help you--if you want it to work for what you want it to work for, test and make an issue if it doesn't!

Thanks,
David

#2

Status:needs work» needs review

Hey, check out the newest head, much of this stuff should be in there. Use the CVS head of notifications when using notifications_cck as some development there occurs in parallel.

David

#3

Will do now. Thanks.

#4

Title:CCK Notifications - all fields required?» CCK Notifications - autocomplete cck field values
Status:needs review» active

I think most of this post has been done except for autocomplete, perhaps on the add subscription page? I'll rename it to be more appropriate. This would be a pretty straightforward gruntwork UI change that just needs to be done if it's needed.

David

#5

I have been trying to get this working for me lately. Just installed a new site with Notifications Add-ons but can't find the CCK module anymore? Is it just me or is it missing? or renamed?

#6

Sorry - found it in .dev of course. Trying it out in full again.

#7

OK - I am still struggling with this module. I have attached a screenshot of the end goal I am aiming for using this but with all the options I can even see a way to manually create a subscribe form/link.

The best scenario I can see is that if you have a master node like 'Band' or 'Company' you can then subscribe if a 'Band Member' or 'Company Member' is added referencing that node. See attached as a rubbish mockup using lastfm as an example. What am I missing to make this happen? And could usability be improved for members who don't understand what CCK means when they go to their notifications user profile tab?

David do you have time to be commissioned for some more custom changes to it?

#8

Getting a few errors on this one.

warning: ksort() expects parameter 1 to be array, null given in /var/www/vhosts/website/httpdocs/sites/all/modules/notifications_extra/notifications_cck/notifications_cck.module on line 86.

#9

Get this error too when editing and saving an old node.

#10

Subscribing....

nobody click here