Hi All.
I'm hoping somebody can help point me in the right direction.
I am doing a new website in drupal 7. I'm trying to get a modal overlay working that contains a form.
This overlay needs to show up if the visitor of the site does not have a cookie.
Now in drupal 6, I used jqmodal and jcookie to make this happen.
However using this is an older version of jquery compared to the libraries used in Drupal 7.
So I can't use my old code, and I am trying to find the best solution to make a simple overlay.
I did this before in the page.tpl file and it worked fine. I'm hoping that somebody can point me along...
I have been doing searches, but I can't seem to find the correct answer.
The basic of what I want to do is...
1.create a modal that shows up when the user does not have a cookie set.
2. force the user to submit a form before visiting the site.
3. redirect the user to the correct domain once the form has been submitted.
If anybody can help point me in the right direction for Drupal 7, it would be greatly appreciated!
I'd really like to use the same modal/jquery libraries as drupal 7.
Hoping for a seamless user experience!
Thank you!!!
Comments
Got it.
I got jqModal working with Drupal 7. The problem was with me! Not jquery or D7.
Had to fix the paths in my code to work correctly!
<--- I'm a DORK! :)