Timeline for Reference Based on Two Fields of a Content Type
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 2, 2012 at 14:53 | history | bounty ended | CommunityBot | ||
Jul 25, 2012 at 23:11 | comment | added | lusketeer | Yea, I don't want reference account number displaying both account number and environment. I can just make no reference at all, and the xml will output just fine, but I can't make a view based on the relationship. I tried field reference, it can reference fields, but it's not good since I have to use feeds importer to import csv file | |
Jul 25, 2012 at 22:56 | comment | added | greg_1_anderson | I am not sure under what conditions you do not want to print the title. If you mean that you do not want the title to appear in the xml, the feeds module will, I believe, allow you to easily fix up the node at import time. So, you should be able to regenerate the title from the account number and environment before node_save is called, which should make your references work out. Of course, this means that your reference account number in your device xml would be "[account_number] ([environment])"; hopefully this is okay, because I think it would be a lot harder to make a two-field relation. | |
Jul 25, 2012 at 22:07 | comment | added | lusketeer | Yea, I thought about that. But I have a php file that generate xml file from these two content types. This would be a problem since I don't wanna print out the title in this case. | |
Jul 25, 2012 at 19:53 | history | answered | greg_1_anderson | CC BY-SA 3.0 |