Active
Project:
Content Profile
Version:
6.x-1.x-dev
Component:
Base module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2009 at 03:10 UTC
Updated:
28 Feb 2009 at 02:21 UTC
I have searched, but don't see an answer. So before I dig into the code, I thought I would ask. Is there a hook that would fire to let me know of changes to the profiles? I am considering ways to improve the RealName module and it might be good if I can see something like I might from hook_user so that I can maintain a separate list of converted user names.
Comments
Comment #1
andreiashu commentedHi NancyDru,
I think you can solve your problem by implementing a
hook_nodeapi()and check if that node is a content profile withis_content_profile($node).Hope this helps.
Good luck,
andreiashu
Comment #2
nancydruYes, I have already thought of that. It would be nice, however, if CP would emulate the core profile module a little more closely. My module supports both, so this means largely duplicating code in both hook_nodeapi and hook_user.
Comment #3
andreiashu commentedPoint taken. but for this to be implemented i think we should ping fago :)