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.
When using the media module for a field and we want to generate pictures with devel.
One cannot do this.
But to solve the situation, I've created a solution for media module that allows it to generate pictures for widget modules.
See more here: https://drupal.org/node/2011776
But the problem now is the node_presave in ns_article that creates another image for the first of the items in the files. This overrides the improved functionality in the devel module patch I've created.
To solve this we need to remove the presaving functionality for ns_article.
Comment | File | Size | Author |
---|---|---|---|
#1 | ns-core-devel-generate-pretty-articles-should-not-always-add-picture-2011778-1.patch | 1.6 KB | timbrandin |
Comments
Comment #1
timbrandin CreditAttribution: timbrandin commentedAnd here's a patch removing the functionality.
Comment #2
timbrandin CreditAttribution: timbrandin commented