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.
I'm attempting to use this with RedHen Contacts, to make a nice admin screen for editing their Contact entity. But I can't get it to work with the following token (I've tried a hundred combinations also).
Edit|redhen/contact/[redhen-contact:contact-id]/view/edit
Do you have any way to figure this out? All I get is out of the link is a bunch of garbled text on a page. It doesn't even attempt to load.
I have a different Views Megarow working on a view of users, so I know it's not some kind of javascript conflict.
thank you!
Comments
Comment #1
tchopshop CreditAttribution: tchopshop commentedComment #2
tchopshop CreditAttribution: tchopshop commentedI'm still at a loss with this. It appears that RedHen has entity tokens, but should the module also have some code to get their Contact entity to work inside Views Megarow? Or is it something I'm doing?
The tokens dialog is of no use in finding the right token, I had to look at the module code to find the entity token.
Comment #3
tchopshop CreditAttribution: tchopshop commentedDoes views megarow work with other entities than node and user?
Comment #4
ArtusamakI used a vanilla Drupal, enabled the latest dev version of the module, enabled the token / entity token module and used the token [node:author] [node:author:uid] with success so i suggest you to file an issue on the module itself.
Comment #5
tchopshop CreditAttribution: tchopshop commentedI WAS able to get it working with Nodes and Users, but it appears it does not work with other entities.