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.
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.
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 :)
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 :)
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
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 :)
is working on a reply...