Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi everybody,
I'm trying to use a CCK field from a content type "gallery" referenced in a content type "photo". Instead of repeat the info in a new field in the content type photo, I'm displaying it with Viewfield and the "relation" functionnality.
In my node breadcrumbs, I try to do this:
[CCKfield relation from the content type "gallery"] > [title of the "photo"]
Is it possible, any advice?
Comments
Comment #1
MGN CreditAttribution: MGN commentedI think this can be done assuming tokens exist for the information you are trying to display. When you create the node-type custom breadcrumb, look under the placeholders fieldset and you'll see a list of tokens that have been defined. there should be some cck text tokens that will work for you.
If you have further questions, feel free to reopen.
Comment #2
steinmb CreditAttribution: steinmb commentedHi, not able to make it work either. I'm using CCK node_ref. nothing fancy.
node_type_A --> node_type_B
So when I views node A, I need to get information from an cck-text-field that is stored with node B. The token is there, but is not working. It show [field_mytextfield-formatted] in stead of the field content (the same goes for the raw-version).
Is this supposed to work with custom bread crumbs, or do I have to hack around it, by manually loading node B whenever I load node A? Hope this made any sense, I'm pushing 6am.
Comment #3
lamp5