hi there this has been a sticky one for me. using drupal 6, content profil with auto assign role
i have the following content types universty, university_author and events, university_author is a content profile node associated with user who is able to create nodes of the type "event" (from content profile module).during registration (the point of creation of the content profile university_author)the university_author content profile node refrences the university content type so as to have the relationship --> a university_author belonging to a university x can create content type events. The challenge is to display event nodes on the university page // i followed the following tutorial http://groups.drupal.org/node/98444#comments. i successfuly managed to connect the three nodes with node references and also managed to display the event nodes on the university pages as all these nodes share an existing cck field named university_connect. The problem is that this single cck field is what i use to reference the universities on registration (on the node reference im using a view to select the university nodes)
in order to get the event nodes to display on the university page requires that they select the university (via reference on the event node) this is obviously cumbersome , so i passed arguments to this view to detect the user id to automatically know that the event node being created is by a university_author belonging to a university x. But when i do this, this view (which depends on the shared node reference) dosen't show the universities for referencing on registration. So its an either or situation, its either i have a nice node reference for universities on university_author registration at the cost of having to always select the university among a long list every time the university_author publishes an event node. Any ideas on how i can have a both.
register the university author using content profile (university_author node) node reference university and have them create events articles that with views can appear on the university page. I have had long night trying to figure this out. I will be very appreciative for any attempts at a solution. Also if there are easier ways of implementing this in drupal 7 please let me know i would be really happy.