Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • DUNCAN 4 posts 24 karma points
    Jun 28, 2012 @ 17:27
    DUNCAN
    0

    CREATING A EMAIL SIGN UP SHEET POP UP ON HOME PAGE

    As the title suggests im trying to create a sign up sheet on my home page. i have created a suitable sheet and have the html code ready to paste in somewhere, unfortuantly i cant figure that part out.

    im using umbraco v 4.7.0 (Assembly version: 1.0.4090.21631)

    i have tried the following

    settings > templates > home page

    and then tried pasting the code into this....and once saved i cannot bring up the website and just get an error message instead. please help as its driving me nuts.

    Thanks

    duncan

  • Bjarne Fyrstenborg 1182 posts 3441 karma points MVP 4x c-trib
    Jun 28, 2012 @ 17:45
    Bjarne Fyrstenborg
    0

    Hi Duncan

    You can create an empty template with the content and then call the template as alternative template.

    E.g. you can create a template with the form content with alias "popup" ..

    Then you use that template like this:

    <href="?alttemplate=popup">Open content in popup</a>

    You can use Fancybox or whatever modal overlay plugin you would like to use..

    /Bjarne

  • DUNCAN 4 posts 24 karma points
    Jun 28, 2012 @ 18:38
    DUNCAN
    0

    not really sure i understand sorry.....i have created the template and pasted in my html stuff....and i have labeled the alias 'popup' but now im lost.

    do i put the <ahref="?alttemplate=popup">Open content in popup</a> in the original 'home page' template?

    but thanks for getting back to me so quickly

  • Bjarne Fyrstenborg 1182 posts 3441 karma points MVP 4x c-trib
    Jun 28, 2012 @ 19:17
    Bjarne Fyrstenborg
    0

    yes, the link should be where you want in the your template.. the popup template just hold the content. so you don't want to include e.g. content from a master template in the popup, just the form content..

    An example here I have created on this page: http://sub.ak-security.dk/da/kontakt.aspx where the link "Find os her" an the image map on the left both use fancybox and an alternative template "map", with the content for Google Maps.

    /Bjarne

  • DUNCAN 4 posts 24 karma points
    Jun 28, 2012 @ 19:33
    DUNCAN
    0

    i think you may have miss understood, i would like the email sign up sheet to automatically appear above my home page when people log on to my site. the method you described seems to work only by clicking on the inserted link. i would like it to automatically pop up. this website http://nickgrantham.com is the perfect example, when you log on you have an email sign up option you can either fill out or exit out of to proceed to the actual home page.

  • Bjarne Fyrstenborg 1182 posts 3441 karma points MVP 4x c-trib
    Jun 28, 2012 @ 19:53
    Bjarne Fyrstenborg
    0

    Ahh okay, sorry about that..

    Yes, the way I described open Fancybox overlay, when clicking af link.. but I think you can use same priciple to have the form content in an alternative template..

    and then I think you should call a javascript plugin either when the user is logged in or on page load, then call a javascript method..

  • DUNCAN 4 posts 24 karma points
    Jun 28, 2012 @ 20:20
    DUNCAN
    0

    yes i think this is over my head, its a bit frustrating as im sure its very simple to do.

    thanks for your response

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies