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.
Currently, if an argument on a panel pane is empty, it still takes priority over the pane_description text
For example, I have a view pane with description:
Headline, 403x250 image, teaser and 2 related links
And an argument for taxonomy term id, exposed and set via pane config.
However, if the panel pane config form is saved, the admin pane text becomes:
Category:
The pane description is gone and an empty "argument name: no value" text shown instead.
The attached patch fixes the issue with a simple if(!empty($value)){}
check
cheers,
DT
P.S Thanks for the awesome module work, excellent stuff.
Comment | File | Size | Author |
---|---|---|---|
views_panes.inc_.hide-empty-argument-value-in-admin-desc.patch | 724 bytes | davidwhthomas |
Comments
Comment #0.0
davidwhthomas CreditAttribution: davidwhthomas commentedFormatting fix
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted! Thanks for the patch!
Comment #2.0
(not verified) CreditAttribution: commentedSimplify