I'm having trouble modifying my profile nodes using the node-[nodetype].tpl.php method.
I created the file node-profile.tpl.php (because Content Profile creates a node-type 'profile', right?).
I cleared the thee registry by clearing the cache at admin/settings/performance
But doesn't seem to do anything.
I realize I can modify the view template (content_profile-display-view.tpl.php) but this isn't helpful for what I'm trying to do. Or is it?
What I want is to create a list of users (a view, returning a list of nodes of type 'profile'). And I want to modify that view.
Actually, I want to add user relationship links to each profile node in the list (but that's incidental to this issue I think).
Any ideas what I might be doing wrong -- or how else I might accomplish this?
Thanks :)
Scott
Comments
Comment #1
jgraham commentedI can add node-profile.tpl.php into my active theme and adjust the output just fine.
I'm not sure what you are trying to do. It sounds like you are confusing views with the naming convention here perhaps content_profile-display-view.tpl.php is throwing you off? If you do mean the views module, then that should all be done via views UI under "admin/build/views"
Alternatively do you mean How to theme views?
I'm not sure how you could generate a list of users like you suggest via content_profile.