Closed (fixed)
Project:
Relation
Version:
7.x-1.0-rc4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2014 at 21:35 UTC
Updated:
24 Nov 2014 at 11:41 UTC
Jump to comment: Most recent
Comments
Comment #1
freality commentedI imagine you'll be creating a custom module for your modal page. In that case, your hook_menu could be:
You can generate your modal url's to include the profile page's user id; like
http://example.com/example-custom-modal/<profile-page-user-id>/nojs. From there, it's the same as any form processing. Check out http://deeson-online.co.uk/labs/insert-form-pop-modal-ctools-and-drupal-7 for example modal code.Comment #2
bunthorne commentedYour question is not very specific. You mention "tying together" 3 pieces of data, but there are many ways to tie together data. You mention two users and a content page; as far as I can tell, you only need two Entity Reference fields on the Content type for the two Users you are linking to the page. You haven't described a reason that you need to make some relationship between two nodes that has its own fields to describe it.
You can use Views to pull items together for display, obviously. So ask yourself, what is this new Entity Type I am trying to create that links two users and a Content page?
Comment #3
mttjn commented