This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Meysam
Meysam

I am trying to show a simple flash message as demonstrated here with the following markup:

<p data-control="flash-message" data-interval="5" class="success">
    This message is created from a static element. It will go away in 5 seconds.
</p>

I expect a flash message to appear after the page is loaded, but I am only seeing a static text showing the message. So it seems that some javascript or css has not been loaded properly. I checked with firebug and acknowledge that jquery.js, bootstrap.js, app.js, framework.js and framework.extras.js files have been loaded. Is there anything else I need to do in order for the flash message to appear?

andre_yang
andre_yang

function onStart(){
         Flash::success('Your success message');
         Flash::error('Your error message');
}

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.