Skip to content

Added some functionality#1

Open
ehaughee wants to merge 1 commit intoobxhdx:masterfrom
ehaughee:master
Open

Added some functionality#1
ehaughee wants to merge 1 commit intoobxhdx:masterfrom
ehaughee:master

Conversation

@ehaughee
Copy link

Not sure if you want this in the context of your helper, but I modified it in my CI application in this manner. This code works very well for displaying a flash alert after a redirect but would not display the flash alert after a $this->load->view() call. In reading, it seems as though this may be by design, but I found my self needing to flash alerts after both scenarios. So, I merged your method with the method found on the CI wiki (http://codeigniter.com/wiki/Simple_FlashNotice_helper/) and ended up with a helper that works in both scenarios.

Also, I am utilizing Bootstrap 2 so my alerts are customized to utilize their built in CSS classes.

Also, thanks for writing this helper, I found it extremely useful and much nicer than the flash interface CI provides by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant