I consider myself a fairly adept developer, but the instructions on how to enable custom content profile CCK fields to display on the author panel are very, VERY unclear.

Is it at all possible for someone to write out what the preprocess function should look like exactly for this task, what files to split it across exactly, and a couple example fields so that I can see them working, and hack away at it from there?

This is such a common task that I am surprised at how unclear the documentation is. A solid example, and not just a generic "this is how a preprocess should be built" function would be appreciated.

Thanks in advance!

Comments

Michelle’s picture

Project: Author Pane » Content Profile
Version: 6.x-2.x-dev » 6.x-1.x-dev
Component: Code » Documentation

I don't really know how it works. The fields are accessed via a Content Profile function, not an Author Pane one, and I've never used it. Fago explains it in an issue somewhere but I don't remember where anymore nor do I have time to search. Moving this over the the Content Profile queue to see if Fago remembers where it is or you can search the queue yourself if you're in a hurry.

Michelle

Michelle’s picture

I was talking about this today so went and searched for it: http://drupal.org/node/316009#comment-1185688

Michelle