Closed (fixed)
Project:
Display Suite
Version:
7.x-1.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2011 at 01:11 UTC
Updated:
2 Aug 2013 at 07:58 UTC
I am in need of a custom function that will format a node reference ID that groups a list of DS nodes (I am sorting successfully using this reference node.) I need to be able to take the node ID, which is what is currently being pulled, and pull the title of the node being referenced instead.
Is this possible, and if so, as I'm not a programmer, is there a simple function that can accomplish this task?
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| dsgdhelp.jpg | 68.49 KB | CrashNet |
Comments
Comment #1
swentel commentedPut in 'print_reference_title' as the function and declare this function in a module. (or maybe in template.php, I think that one should be picked up as well).
Completely untested, but I think it should work.
Comment #2
swentel commentedMarking as fixed
Comment #3
CrashNet commentedSwentel...thanks for this. I'm apologize for not responding sooner. Crazy busy as always. I'll test and confirm. Again, thank you!
Comment #4
jferrervalls commentedHello,
I've got the same problem and I can't find any help on this.
Did you manage to do it?
I don't know in what file I should declare the function.
Thanks
Comment #5
rajab natshahThanks.
we need to add the function name only with no arguments
as print_reference_title
Comment #6
mahipal46 commentedfix issue provide function name in textfield without argument and declare function in your module file.module file will be anyone.