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.
figured it would be handy that if when you went to Manage Fields for a node, if the field is a collection it would be cool if it linked to the manage fields page for that collection: this seems useful: http://screencast.com/t/X8u3ZKB6c
Comment | File | Size | Author |
---|---|---|---|
#10 | change_screenshot.jpg | 53.21 KB | james.williams |
field_collection-link_to_collection.patch | 853 bytes | liquidcms | |
Comments
Comment #2
nkLiVF CreditAttribution: nkLiVF commentedThis is a great idea. I can't tell you the number of times I want to view a field in a field collection from the content type fields page. the I was able to just copy and paste this code into the field_collection.module file. I would provide a patch but I don't know if the devs even want something like this in there, and I've never tried to submit a patch before. If someone else finds this useful, I would be happy to put in some time in making a patch. Just want to say GREAT IDEA and that this code works.
Comment #3
james.williams CreditAttribution: james.williams commentedfield_collection-link_to_collection.patch queued for re-testing.
Comment #5
liquidcms CreditAttribution: liquidcms commented@nkLiVF - i think you are missing that there is already a patch included here for this.
Comment #7
jmuzz CreditAttribution: jmuzz commentedI get it now.
Nice enhancement. Thanks for this.
Comment #9
brewerkr CreditAttribution: brewerkr commentedAfter running the update that includes this patch, I can't get it to work. I go to the content type > manage fields and click on "Field Collection" in one of the fields that is using that field type and it takes me to the Field Settings and not the Manage Field page for that specific Field Collection. Am I doing something wrong?
*update* Ah, I see now. You click on the field machine name and not the actual words Field Collection to go to the Field Collection Manage Page thingy. Awesome works great, thanks!
Comment #10
james.williams CreditAttribution: james.williams at ComputerMinds commented@brewerkr - see this attached screenshot. The field name itself should be a link. Try clearing caches if it's not a link for you.