Copied to clipboard

Flag this post as spam?

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


  • Steven Bowman 2 posts 73 karma points
    Aug 24, 2017 @ 11:35
    Steven Bowman
    1

    Age Verification

    Hey everyone First time poster here so go easy on me :)

    Started working for an Ecig company and as a side project i'll be working on the site which already has been built on Umbraco v6.1.3 but i have to admit its been a good few years since ive done anything outside of basic HTML for a website.

    Made a few modifications but i'm planning on learning from scratch, at the moment i'd really like to add a simple age verification pop up on access to the site just with the usual "Over 18" which would continue on or the "under 18" which would lead to an error page.

    Thank you for any help you can provide :)

  • Steve Morgan 1278 posts 4216 karma points c-trib
    Aug 24, 2017 @ 13:34
    Steve Morgan
    0

    Hi Steven,

    The good news is anything you can write in good old HTML, CSS and JS can easily be added to your templates.

    I'd suggest you download a copy of the latest Umbraco (to run locally) and step through the tutorial here: https://our.umbraco.org/documentation/tutorials/creating-basic-site/

    This will show you how to create master templates and where to put JS and CSS . After going through that you should be able to relate that to what you need to do.

    Don't worry too much that the tutorial and latest downloads are in v7 the fundamentals of Umbraco (to do what you need to do at least) are the same.

    The short cut is to checkout the Settings section and look for a Master template - you should recognise the HTML in there (albeit mixed in with c# Razor).

    One difference might be that if the site is quite old it may have been built using XSLT - when you find your templates post the top of one here and we can advise if you're lost where to start from that.

    HTH

    Steve

  • Steven Bowman 2 posts 73 karma points
    Aug 24, 2017 @ 15:33
    Steven Bowman
    0

    Thanks for the help Steve

    I will have a look into the templates over the weekend and see what i can do, its quite daunting to look at the existing build of the website as a beginner and hoping i don't break anything :)

  • 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