Go to admin/config/statuses/settings, there is a setting "Show a view under the status update form at the "Share status" page at /statuses/share"

When I just installed the module, it is fine to choose "none". However, after I choose another views, e.g. statuses_stream views. I cannot re-set the "none" for the setting.

any help?

Thank you so much.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

IceCreamYou’s picture

Priority: Normal » Minor

As I understand it the problem is not actually with choosing the "None" value for the setting, but rather that when you choose "None" you still have a view showing up at /statuses/share, right?

The cause of the problem is that the "None" value corresponds to the empty string, which is interpreted by theme_statuses_form_display() as an instruction to fall back to a default value. A fix would need to make "None" correspond to a different value that cannot be used in a view machine name (like " ", a space) and then handle that value directly in theme_statuses_form_display().

As a workaround, you can just create a view that gets no results and use that.

adamtong’s picture

I see. thank you so much!!

IceCreamYou’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
1.29 KB

Patch attached. Testing appreciated.