私の drupal サイトでは、ユーザーがニュースレターのメール アドレスを右側のブロックに入力すると、. 成功メッセージが表示されないため、 simplenews_subscriptions_page_form_submit()
機能を確認したところ、実際には次のようなメッセージが設定されています
if (simplenews_confirmation_send_combined()) {
drupal_set_message(t('You will receive a confirmation e-mail shortly containing further instructions on how to complete your subscription.'));
}
そして、drupal_get_messages() 関数をデバッグした後、任意の値が返され、はい、それは次のようになります
Array ( [status] => Array ( [0] => You will receive a confirmation e-mail shortly containing further instructions on how to complete your subscription. )
しかし、font-theme では何も表示されません。最初に実際にチェックした theme_status_messages() 関数もチェックしまし $display = $variables['display'];
た。この値をデバッグすると、常に空であるが$variables['display']
値が設定されています。
これを修正する方法を教えてください。
参考までに: Drupal v7 を使用しています