Welcome Guest, Not a member yet? Register   Sign In
create newsletter signup with bootstrap and codeigniter
#1
Video 
(This post was last modified: 03-06-2019, 01:33 PM by ciadmin.)

in this tutorial we will learn how to make a newsletter popup form with codeigniter and bootstrap, and the flow will be like this:

- User will enter the site ,then we check if there is a JavaScript cookie (ModalShown) set, if found it will appear a clear cookie button, if not found it will wait 3 seconds then appearĀ  the bootstrap modal popupĀ  form

- IF he take and action like (close form, submit form) the modal will disappear, the Ajax request send, the JavaScript cookie set, and the clear cookie button will appear.

- IF the user not take any action like click outside the modal form, it will disappear and will appear again for each refresh in the page.

- IF you click on clear cookie it will remove the cookie and if you refresh the page the popup will appear again.

Now, how to actually add this code to our project, it is very easy, just follow these steps

create newsletter signup with bootstrap and codeigniter
Reply
#2

Nice job fakhrawy. Will use this tutorial in our new project. Thanks
Reply
#3

(This post was last modified: 03-06-2019, 01:34 PM by ciadmin.)

(02-25-2018, 04:30 PM)fakhrawy Wrote: in this tutorial we will learn how to make a newsletter popup form with codeigniter and bootstrap, and the flow will be like this:

...

This is really a simple and nice tutorial and has helped me create newsletter signup in my first attempt.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB