oc-shopaholic / oc-buddies-plugin

👥 October CMS user system
https://octobercms.com/plugin/lovata-buddies
GNU General Public License v3.0
31 stars 15 forks source link

Flash message not shown after user registration #32

Open meysammahfouzi opened 5 years ago

meysammahfouzi commented 5 years ago

After successful user registration, no flash message is shown on the page. Do you know what could be possibly the problem?

kharanenka commented 5 years ago

Hi! Please, send code of your page with component settings.

meysammahfouzi commented 5 years ago

Hi! I didn't notice that the flash message is set in ajax mode only. Is it possible to have it set in submit mode as well?

kharanenka commented 5 years ago

Now there is no possibility to get flash message with submit mode

kharanenka commented 5 years ago

You can get only error message with submit mode.

meysammahfouzi commented 5 years ago

Do you mean it's not technically possible? I can generate a flash message in the code section of my page:

Flash::success('Password successfully changed!');

And can show it on the page after page loads:

{% flash %}
<p
        data-control="flash-message"
        class="flash-message fade {{ type }}"
        data-interval="3">
    {{ message }}
</p>
{% endflash %}