mycognitive / ads_features

Provides common features for ads distribution.
http://drupal.org/project/ads_features
1 stars 4 forks source link

Visibility rule for pane doesn't work for contact details. #95

Closed kenorb closed 9 years ago

kenorb commented 9 years ago
  1. As admin, edit node view panel at /admin/structure/pages/nojs/operation/node_view/handlers/node_view_panel_context/content
  2. Click on Visibility rules for Phone, E-mail or Link (value equals).
  3. Select 'Preferred method of contact' to appropriate value.

Issue: Value is not submitted. Field is not shown.

nseam commented 9 years ago

Fixed.

Please note that fix is just a workaround for a common problem with conditional fields. Dependants of select widget aren't saved.

Solution from https://www.drupal.org/node/1542706#comment-8660119 worked.

Idea is to use: Condition: "Value" Values input mode: (value of the select widget to check for)

mc-a9jnhwqd 1

mc-4tddcdio 1

Also please note that even if visiblity rules seems to be not saved, they are saved.

kenorb commented 9 years ago

After applying code and reverting ads_advert, value still seems to be not saved in panels.

nseam commented 9 years ago

Works on the clean ADS installation so this could be a features-not-reverted or caching problem