I tried to extract vcard_edit into templates this weekend. I wanted to do it
in a way that gets us tokens like VCARD_FIRSTNAME, VCARD_LASTNAME etc. so
they can easily be used to populate a template form e.g. vcard_edit.html.  

It doesn't seem to be so easy, it seems I'd have to RegisterNamespace for
every single one of those tokens and then register callback functions to
extract that information into a token one by one? The function that extracts
all VCard information in do_edit_vcard() couldn't be changed to populate all
those tokens in one run, because RegisterNamespace is only available in an
InitModule, correct?  

My C really isn't up to this, I think. I don't know how i'd pre-populate a
VCard data structure in memory and then extract each token from it through a
callback as requested in RegisterNamespace.  

I think I'll drop this -- is there anything else I could help with? I can
clean up HTML once things move closer to release, if that helps.

Reply via email to