How to Popup before homepage appears
Please tell me how can I Make popup window appear before the index page opens having a simple email submission and one liner with a logo, users must have an option for close button no captcha is required only an @ i.e valid email check is required.
The box should not appear again (cookies must be checked).
No duplicate checks are required
I want to store the submitted emails to be stored in a text file in comma seperated value.
Kindly help me out.
Thanks in advance.
I tried that but its not working
Quote:
Originally Posted by
david
Instead of using hook in magento, you can simply add the code in index.php file and catch the cookie to display the welcome page before loading magento.
I tried a php code in the homepage but entire page was unable to load.
I am new to magento as well as coding. It would be very nice if you can give me an example please. like where to keep the text file where to add the code and how do i configure the cookie thing.