I am using the node profile module and suite of modules to completely replace the profile module. I suppose i ned a bit more help than the documentation provides...can you give me some more information?
So far, I have installed usernode, nodeprofile, nodefamily, and viewsfusion. I have a usernode for each user. I have created 1 CCK content that is labeled as a nodeprofile (info) and limited to 1 node of its type. I have a second CCK type (addresses) that is a child of the main nodeprofile (info) and this one is limited to 5 nodes of its type.
I have put in the $children = nodefamily_relation_load($nid); into the top of my xxxx-content_node.tpl.php override file and am able to get the propper fields to print to the node.
I also have overriden the userpage to goto my usernode with all the code included with the template.php in the package. this works by pointing everything that used to goto the user page to the usernode (which is good)
Here are my questions:
can i theme the usernode to display the actual usernodes and children instead of the liks to these? (and if so, what is the name of the theme override file)
With multiple types of addresses in my child node, if i goto nodefamily/NODE_TYPE then it goes to one node, instead of a list of the nodes - is there a way to change this? or should i create a view that does this for me?
i am sure i will have more questions, as this is a superb addition to drupal, and i am trying to really push its limits!
thanks for all of your hard work and success!
jason
Comments
Comment #1
fagoyou are welcome.
as soon as you have more than one content-type for your nodeprofile, use the pageroute module to provide the profile-forms for your users.
use a page with type "node-management" for your addresses and a lonely node management page for your content-type marked as nodeprofile.
@theming usernode:
you can theme it like every other content type, create a template file node-usernode.tpl.php and theme it like any other node. Again, use the nodefamily relation like you do with your nodeprofile content type.
Comment #2
jbhan commentedfago,
how do i point to the usernode in a generic fashion - i want a link to goto that usernode from a menu item. with the userprofile it is "?q=user"
i have themed the 'usernode' but the path usernode does not lead anywhere. I can get to the usernodes from the users page or list when the override function changes the userprofile to the usernode.
thanks
j
Comment #3
fagoyes, that was missing.
I've added a suggested menu item to the usernode module, which points to /usernode. Just update to the latest usernode module :)
Comment #4
fagoComment #5
(not verified) commented