Closed (fixed)
Project:
vCard
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2008 at 16:14 UTC
Updated:
2 Feb 2011 at 07:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
john morahan commentedWrong patch. Sorry. Try this one.
Comment #2
kewlguy commentedAny chance that there would be a 6.X version of this patch?
I wonder if It might solve an issue I have with mapping the vcard fields to the profile fields when the vCard modules 'auto creates' the fields for the 'content profile'.
I would love to be able to use cck and locations with the vcard module. The way I am thinking is that if the module could hook into the location module and some cck fields I would be on my way. I'm just no coder so I am a little helpless in this area.
Comment #3
michaelpporter commentedWhile we have not added location yet we just posted a module for this http://drupal.org/project/cck_vcard not meant to step on this modules function.
Comment #4
sanduhrsYou may now alter the raw vcard data by implementing
hook_vcard_data_alter($data).This is available in both, D6 and D7.
Comment #5
dman commentedhook_vcard_data_alter($data)NICE.
... but ...
there is not quite enough detail to go on there, it gives us the processed vcard fields But hides the actual account information form us!
I can't add anything to it if I still don't know which user account I'm dealing with :-}
How about
So now I can add things (like 'role' based on the Drupal 'role') based on the $account details
Comment #6
dman commentedLike this? Please?
Comment #7
sanduhrsWell, of course you are right!
Commited to DRUPAL-6--1, DRUPAL-7--1.
Thanks.